Home » date » 2010 » Dec » 21 »

*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, 21 Dec 2010 18:57:45 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957730jsl3q6i9ea34a91.htm/, Retrieved Tue, 21 Dec 2010 19:55:32 +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/2010/Dec/21/t1292957730jsl3q6i9ea34a91.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
2981,85 3080,58 3106,22 3119,31 3061,26 3097,31 3161,69 3257,16 3277,01 3295,32 3363,99 3494,17 3667,03 3813,06 3917,96 3895,51 3801,06 3570,12 3701,61 3862,27 3970,10 4138,52 4199,75 4290,89 4443,91 4502,64 4356,98 4591,27 4696,96 4621,40 4562,84 4202,52 4296,49 4435,23 4105,18 4116,68 3844,49 3720,98 3674,40 3857,62 3801,06 3504,37 3032,60 3047,03 2962,34 2197,82 2014,45 1862,83 1905,41 1810,99 1670,07 1864,44 2052,02 2029,60 2070,83 2293,41 2443,27 2513,17 2466,92 2502,66 2539,91
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.969717.57370
20.9271147.2410
30.8807276.87870
40.82556.44740
50.7579295.91960
60.6765215.28381e-06
70.5927034.62921e-05
80.5106673.98849e-05
90.4224143.29920.000811
100.3294632.57320.006262
110.2405641.87890.032522
120.1498351.17020.123226
130.062750.49010.312913
14-0.021915-0.17120.432332
15-0.104585-0.81680.208601
16-0.181137-1.41470.081116
17-0.246774-1.92740.029297
18-0.307296-2.40010.00973
19-0.358635-2.8010.003408
20-0.40048-3.12790.001349
21-0.431993-3.3740.000646
22-0.45361-3.54280.000383
23-0.47005-3.67120.000255
24-0.477471-3.72920.000212
25-0.475934-3.71720.00022
26-0.465714-3.63730.000284
27-0.451672-3.52770.000402
28-0.428501-3.34670.000702
29-0.408919-3.19380.001111
30-0.389829-3.04470.001718
31-0.362995-2.83510.003103
32-0.335038-2.61670.005588
33-0.304253-2.37630.010321
34-0.27237-2.12730.018724
35-0.243857-1.90460.030776
36-0.207872-1.62350.054816
37-0.173818-1.35760.089801
38-0.143488-1.12070.133409
39-0.114035-0.89060.188309
40-0.081902-0.63970.26239
41-0.051593-0.4030.344196
42-0.026828-0.20950.417365
43-0.009929-0.07760.46922
440.0040940.0320.487297
450.0219470.17140.432233
460.0341780.26690.395207
470.0445470.34790.364547
480.0514730.4020.344538
490.055810.43590.332226
500.0555580.43390.332939
510.0507670.39650.346559
520.0460260.35950.36024
530.0425350.33220.370435
540.0382420.29870.383099
550.0318280.24860.402259
560.0257030.20070.420781
570.0200450.15660.438056
580.0160580.12540.450302
590.0113660.08880.464777
600.0064180.05010.480092


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.969717.57370
2-0.221624-1.73090.044259
3-0.046544-0.36350.358735
4-0.163511-1.27710.10321
5-0.197454-1.54220.064103
6-0.227153-1.77410.040517
7-0.018451-0.14410.442945
80.0160180.12510.450425
9-0.12069-0.94260.174797
10-0.071446-0.5580.28944
110.040010.31250.377867
12-0.148194-1.15740.125804
130.0060880.04760.481115
14-0.034916-0.27270.393002
15-0.062647-0.48930.313196
16-0.030467-0.2380.406358
170.1008920.7880.216875
18-0.06179-0.48260.315555
190.0331970.25930.398149
200.0285410.22290.412175
210.0257640.20120.420598
22-0.031592-0.24670.402969
23-0.027103-0.21170.416532
240.0151420.11830.453124
25-0.027833-0.21740.414317
260.0312260.24390.40407
27-0.038156-0.2980.383355
280.0568810.44430.329215
29-0.213054-1.6640.05062
30-0.084069-0.65660.256954
310.0726960.56780.286136
32-0.063805-0.49830.31002
330.0375450.29320.385168
340.051390.40140.344776
35-0.09818-0.76680.223076
360.1074770.83940.202255
37-0.06931-0.54130.295126
380.0058510.04570.481851
39-0.072787-0.56850.285898
400.1447881.13080.131277
41-0.063918-0.49920.309712
42-0.071443-0.5580.289447
43-0.066752-0.52130.302006
44-0.008873-0.06930.472489
450.014020.10950.456583
46-0.021504-0.16790.433589
470.0587880.45910.32388
48-0.071023-0.55470.290562
49-0.051233-0.40010.345225
50-0.095115-0.74290.230206
51-0.030286-0.23650.406903
520.0605350.47280.319023
530.0071340.05570.477874
540.0295410.23070.409153
55-0.012866-0.10050.460144
56-0.003815-0.02980.488162
570.0089690.070.472192
580.0270830.21150.41659
59-0.031434-0.24550.403444
60-0.020894-0.16320.435456
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957730jsl3q6i9ea34a91/1rzdw1292957859.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957730jsl3q6i9ea34a91/1rzdw1292957859.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957730jsl3q6i9ea34a91/2rzdw1292957859.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957730jsl3q6i9ea34a91/2rzdw1292957859.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; 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