Home » date » 2008 » Dec » 17 »

paper

*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 01:04:31 -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/t1229501112xv7f0kxjnyf1rrl.htm/, Retrieved Wed, 17 Dec 2008 09:05:12 +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/t1229501112xv7f0kxjnyf1rrl.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 «
31.58 27.88 27.32 28.89 28.05 28.73 32.00 34.53 33.47 34.09 35.47 34.59 34.32 32.78 28.38 29.18 28.62 28.20 29.33 29.72 26.29 26.82 27.64 27.10 27.05 26.02 25.76 25.94 24.97 21.74 18.16 16.95 16.46 16.44 18.20 16.44 15.70 13.94 12.23 14.75 14.62 15.04 15.50 16.10 15.44 15.14 15.42 15.69 17.57 18.42 17.96 18.39 17.63 17.95 17.79 17.73 18.99 19.83 20.23 20.24 21.12 21.25 21.80 21.84 22.21 22.64 23.54 23.78 23.65 23.93 24.77 26.26 27.69 29.54 29.31 29.26 28.69 26.16 27.12 29.40 30.99 32.96 32.20 31.67 32.49 33.66 32.44 34.38 32.36 30.73 30.31 27.26 25.05 22.33 18.26 18.30 16.00 14.36 14.98 16.88 16.56 13.31 9.61 9.34 7.89 1.71 0.81 0.71
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.932989.69580
20.8566118.90220
30.7793198.09890
40.7103527.38220
50.6454746.7080
60.5782076.00890
70.5146675.34860
80.4574294.75373e-06
90.3967454.12313.7e-05
100.3211863.33790.000579
110.2403632.49790.007
120.1627131.6910.046864
130.0854910.88840.188138
140.0071080.07390.470627
15-0.054063-0.56180.287696
16-0.111982-1.16380.123545
17-0.166678-1.73220.043049
18-0.212412-2.20740.014699
19-0.255845-2.65880.004517
20-0.294159-3.0570.001409
21-0.314964-3.27320.000714
22-0.338467-3.51750.000319
23-0.354418-3.68320.000181
24-0.368763-3.83230.000107
25-0.384621-3.99715.9e-05
26-0.393871-4.09324.1e-05
27-0.394326-4.0984e-05
28-0.40021-4.15913.2e-05
29-0.409831-4.25912.2e-05
30-0.420596-4.3711.4e-05
31-0.428011-4.4481.1e-05
32-0.421598-4.38141.4e-05
33-0.40887-4.24912.3e-05
34-0.39327-4.0874.2e-05
35-0.374938-3.89658.5e-05
36-0.353956-3.67840.000184
37-0.335363-3.48520.000356
38-0.317231-3.29680.000662
39-0.296602-3.08240.001303
40-0.281515-2.92560.002096
41-0.262865-2.73180.00368
42-0.242998-2.52530.006506
43-0.224566-2.33380.01073
44-0.202061-2.09990.019034
45-0.176014-1.82920.035065
46-0.146438-1.52180.065487
47-0.116647-1.21220.114035
48-0.086031-0.89410.186639
49-0.058774-0.61080.271307
50-0.027732-0.28820.386874
510.0050990.0530.478919
520.0345020.35860.360313
530.0637640.66270.25448
540.0929850.96630.168019
550.124141.29010.099885
560.1570851.63250.052745
570.1905911.98070.025085
580.2218632.30570.01152
590.2548782.64880.004645
600.2851052.96290.001875


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.932989.69580
2-0.106832-1.11020.134682
3-0.043647-0.45360.325517
40.0222670.23140.408718
5-0.01698-0.17650.430133
6-0.063056-0.65530.256836
7-0.007446-0.07740.469232
80.0067370.070.472155
9-0.076269-0.79260.214872
10-0.156021-1.62140.053922
11-0.075777-0.78750.216357
12-0.033931-0.35260.36253
13-0.082275-0.8550.197214
14-0.087981-0.91430.181291
150.07320.76070.224241
16-0.062285-0.64730.259409
17-0.06531-0.67870.249384
180.0232180.24130.404893
19-0.026972-0.28030.389891
20-0.031529-0.32770.371904
210.0876560.9110.182175
22-0.066787-0.69410.244565
230.0085820.08920.464549
24-0.048449-0.50350.307819
25-0.067473-0.70120.242343
260.0048180.05010.48008
270.0102410.10640.457718
28-0.116217-1.20780.114889
29-0.068132-0.7080.240221
30-0.079132-0.82240.206341
31-0.054521-0.56660.286081
320.0529250.550.291724
33-0.011528-0.11980.45243
34-0.022358-0.23230.408354
350.017090.17760.429682
36-0.040947-0.42550.335649
37-0.032184-0.33450.369338
380.0089860.09340.462887
39-0.011058-0.11490.454362
40-0.068343-0.71020.239543
410.0137750.14320.443217
42-0.064164-0.66680.253156
43-0.048286-0.50180.308412
44-0.010032-0.10430.458579
45-0.020792-0.21610.414669
460.0297070.30870.379065
47-0.013627-0.14160.443824
48-0.029428-0.30580.380165
49-0.006062-0.0630.474941
500.0192170.19970.421043
510.0047430.04930.480391
520.0196350.20410.419347
530.0155410.16150.435997
54-0.016279-0.16920.432987
550.0319210.33170.370366
560.017270.17950.42895
570.0208390.21660.414477
580.0365430.37980.352431
590.0298050.30970.378679
60-0.012637-0.13130.447878
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229501112xv7f0kxjnyf1rrl/1nh6x1229501067.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229501112xv7f0kxjnyf1rrl/1nh6x1229501067.ps (open in new window)


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


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