Home » date » 2008 » Dec » 17 »

autocorrelation

*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: Wed, 17 Dec 2008 04:01:23 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/17/t12295118329r83bm3fveto3s1.htm/, Retrieved Wed, 17 Dec 2008 12:03:57 +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/2008/Dec/17/t12295118329r83bm3fveto3s1.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
117.09 116.77 119.39 122.49 124.08 118.29 112.94 113.79 114.43 118.70 120.36 118.27 118.34 117.82 117.65 118.18 121.02 124.78 131.16 130.14 131.75 134.73 135.35 140.32 136.35 131.60 128.90 133.89 138.25 146.23 144.76 149.30 156.80 159.08 165.12 163.14 153.43 151.01 154.72 154.58 155.63 161.67 163.51 162.91 164.80 164.98 154.54 148.60 149.19 150.61
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3210242.24720.014583
2-0.101803-0.71260.239731
3-0.117669-0.82370.207056
4-0.186907-1.30830.09843
5-0.135948-0.95160.172976
60.0010310.00720.497137
7-0.1112-0.77840.220037
8-0.195597-1.36920.088593
90.0344490.24110.405225
100.2434271.7040.047359
110.3416432.39150.010332
120.0166260.11640.453914
13-0.045847-0.32090.374815
14-0.020142-0.1410.444226
15-0.135102-0.94570.174467
16-0.077737-0.54420.2944
17-0.146452-1.02520.15516
18-0.155451-1.08820.140925
19-0.060228-0.42160.337582
200.0883580.61850.269552
210.0775610.54290.294822
220.0404980.28350.388998
23-0.05242-0.36690.357621
24-0.00065-0.00460.498194
250.0515280.36070.35994
26-0.099792-0.69850.24407
27-0.112816-0.78970.21675
28-0.131842-0.92290.180292
29-0.077451-0.54220.295083
300.0437180.3060.380439
310.1140980.79870.214163
320.0402260.28160.389724
33-0.042565-0.2980.383498
34-0.007144-0.050.480159
350.0192350.13460.446721
36-0.038632-0.27040.393985
37-0.058443-0.40910.342124
38-0.011597-0.08120.467815
390.00740.05180.47945
400.0868160.60770.273092
410.1439771.00780.159242
420.0466740.32670.372635
43-0.050562-0.35390.362452
44-0.054447-0.38110.352378
45-0.001579-0.01110.495612
460.0107210.0750.470241
470.0019750.01380.494513
48-0.000961-0.00670.497331
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3210242.24720.014583
2-0.228397-1.59880.05815
3-0.004943-0.03460.486269
4-0.19068-1.33480.094062
5-0.031754-0.22230.412512
60.0034710.02430.490358
7-0.19766-1.38360.086373
8-0.150186-1.05130.149139
90.0945830.66210.25551
100.1563071.09420.139619
110.2295241.60670.057277
12-0.245928-1.72150.045735
130.1598411.11890.134321
140.0273990.19180.424349
15-0.092414-0.64690.26036
16-0.015213-0.10650.457815
17-0.229571-1.6070.057241
180.1334180.93390.177462
19-0.072888-0.51020.306096
20-0.07212-0.50480.307967
21-0.057036-0.39930.34572
22-0.109439-0.76610.223654
230.0233610.16350.435388
24-0.044054-0.30840.37955
25-0.041245-0.28870.387009
26-0.074711-0.5230.301674
27-0.082968-0.58080.282026
280.0226780.15870.43726
29-0.086122-0.60290.274693
30-0.000903-0.00630.497491
310.0184460.12910.448894
32-0.043966-0.30780.379785
33-0.031304-0.21910.413731
34-0.057447-0.40210.34467
35-0.030649-0.21450.415508
36-0.116027-0.81220.210305
370.0382140.26750.395103
38-0.027539-0.19280.423967
390.0481240.33690.368828
400.0505750.3540.362419
410.0021370.0150.494063
420.0216440.15150.440097
43-0.097018-0.67910.250128
44-0.02014-0.1410.444232
450.0015230.01070.49577
46-0.012276-0.08590.465937
470.0588570.4120.341069
48-0.067586-0.47310.319121
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t12295118329r83bm3fveto3s1/1vpq11229511681.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t12295118329r83bm3fveto3s1/1vpq11229511681.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t12295118329r83bm3fveto3s1/2c4yk1229511681.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t12295118329r83bm3fveto3s1/2c4yk1229511681.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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