Home » date » 2009 » Dec » 29 »

Paper correlatie

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 29 Dec 2009 14:03:02 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/29/t1262120683q58c38fbz2s9uws.htm/, Retrieved Tue, 29 Dec 2009 22:04:45 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Dec/29/t1262120683q58c38fbz2s9uws.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
10001.60 10411.75 10673.38 10539.51 10723.78 10682.06 10283.19 10377.18 10486.64 10545.38 10554.27 10532.54 10324.31 10695.25 10827.81 10872.48 10971.19 11145.65 11234.68 11333.88 10997.97 11036.89 11257.35 11533.59 11963.12 12185.15 12377.62 12512.89 12631.48 12268.53 12754.80 13407.75 13480.21 13673.28 13239.71 13557.69 13901.28 13200.58 13406.97 12538.12 12419.57 12193.88 12656.63 12812.48 12056.67 11322.38 11530.75 11114.08 9181.73 8614.55 8595.56 8396.20 7690.50 7235.47 7992.12 8398.37 8593.01 8679.75 9374.63 9634.97
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9538787.38870
20.8903556.89670
30.8232586.37690
40.7418285.74620
50.6359834.92633e-06
60.5154693.99289e-05
70.4016563.11120.001426
80.2949452.28460.012943
90.1863761.44370.077017
100.0792450.61380.270824
11-0.014314-0.11090.456043
12-0.104731-0.81120.210217
13-0.181785-1.40810.08213
14-0.244762-1.89590.031395
15-0.306352-2.3730.010433
16-0.355307-2.75220.003909
17-0.394074-3.05250.00169
18-0.418956-3.24520.000961
19-0.438488-3.39650.000608
20-0.455025-3.52460.000409
21-0.466319-3.61210.000311
22-0.45775-3.54570.000383
23-0.442565-3.42810.000552
24-0.421432-3.26440.000907
25-0.396732-3.07310.001592
26-0.36788-2.84960.002995
27-0.327575-2.53740.006893
28-0.288712-2.23640.014529
29-0.254493-1.97130.026654
30-0.229158-1.77510.040481
31-0.202798-1.57090.060736
32-0.169137-1.31010.097573
33-0.137177-1.06260.146118
34-0.108816-0.84290.20132
35-0.085327-0.66090.25559
36-0.057012-0.44160.33018


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9538787.38870
2-0.216693-1.67850.049226
3-0.039216-0.30380.38118
4-0.196053-1.51860.067055
5-0.285961-2.2150.015283
6-0.183662-1.42260.08001
70.0395240.30620.380274
80.0375540.29090.38607
9-0.034861-0.270.39403
10-0.034117-0.26430.39624
110.0136540.10580.458063
12-0.168987-1.3090.097768
130.0506830.39260.348006
140.0302090.2340.407891
15-0.154863-1.19960.117513
160.0318450.24670.403004
17-0.049237-0.38140.352132
180.0031260.02420.49038
19-0.065932-0.51070.305716
20-0.051695-0.40040.345131
21-0.088856-0.68830.246967
220.1074060.8320.204365
23-0.002242-0.01740.493102
240.0463650.35910.360374
25-0.072422-0.5610.288452
26-0.046682-0.36160.359462
270.0044530.03450.4863
28-0.069637-0.53940.295803
29-0.045332-0.35110.363358
30-0.161643-1.25210.107699
31-0.012832-0.09940.460579
320.0940010.72810.234683
330.010430.08080.467939
340.060290.4670.321093
35-0.066975-0.51880.30291
36-0.044949-0.34820.364464
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262120683q58c38fbz2s9uws/19xw41262120579.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262120683q58c38fbz2s9uws/19xw41262120579.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/29/t1262120683q58c38fbz2s9uws/2uuqk1262120579.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262120683q58c38fbz2s9uws/2uuqk1262120579.ps (open in new window)


 
Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
R code (references can be found in the software module):
if (par1 == 'Default') {
par1 = 10*log10(length(x))
} else {
par1 <- as.numeric(par1)
}
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
par5 <- as.numeric(par5)
if (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF')
dev.off()
(myacf <- c(racf$acf))
(mypacf <- c(rpacf$acf))
lengthx <- length(x)
sqrtn <- sqrt(lengthx)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','ACF(k)','click here for more information about the Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 2:(par1+1)) {
a<-table.row.start(a)
a<-table.element(a,i-1,header=TRUE)
a<-table.element(a,round(myacf[i],6))
mytstat <- myacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Partial Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','PACF(k)','click here for more information about the Partial Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:par1) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,round(mypacf[i],6))
mytstat <- mypacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by