Home » date » 2008 » Dec » 17 »

*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:07:15 -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/t1229501295oksisot1n1xslwj.htm/, Retrieved Wed, 17 Dec 2008 09:08:15 +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/t1229501295oksisot1n1xslwj.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 time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3047763.15260.00105
20.0818050.84620.199666
30.2247772.32510.010977
40.0264050.27310.392636
50.0334550.34610.364987
60.0842280.87130.19278
70.0138710.14350.443091
80.1162111.20210.11599
90.1469051.51960.065781
100.0039250.04060.483847
110.0613150.63420.263636
120.1586751.64130.051831
130.0517060.53490.296932
140.0533460.55180.291113
150.1061291.09780.137376
160.1110151.14830.126693
170.0458110.47390.31828
18-0.057631-0.59610.276169
19-0.003163-0.03270.48698
20-0.130788-1.35290.089472
21-0.107363-1.11060.13462
22-0.100901-1.04370.149481
23-0.112576-1.16450.123406
24-0.03072-0.31780.375638
25-0.077586-0.80260.212005
26-0.131897-1.36440.087659
27-0.039571-0.40930.34156
28-0.013809-0.14280.44334
29-0.056672-0.58620.279482
30-0.041933-0.43380.332669
31-0.075107-0.77690.219463
32-0.079656-0.8240.205896
33-0.057048-0.59010.278181
34-0.096152-0.99460.161086
35-0.149621-1.54770.062325
36-0.03498-0.36180.359094
37-0.05208-0.53870.295598
38-0.069139-0.71520.238028
390.0239830.24810.402272
40-0.068905-0.71280.238774
41-0.062537-0.64690.259544
42-0.057093-0.59060.278026
43-0.150562-1.55740.061161
44-0.095286-0.98560.163266
45-0.080228-0.82990.204225
46-0.064032-0.66240.254585
47-0.045351-0.46910.319972
48-0.06176-0.63880.262143
49-0.125005-1.29310.099387
50-0.07044-0.72860.233907
51-0.015678-0.16220.435736
52-0.087263-0.90270.184369
53-0.01988-0.20560.41873
54-0.04204-0.43490.332269
55-0.07994-0.82690.205066
56-0.008833-0.09140.463686
57-0.027463-0.28410.388451
58-0.03456-0.35750.360714
59-0.023731-0.24550.403279
600.0216960.22440.411428


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3047763.15260.00105
2-0.012218-0.12640.449832
30.2241112.31820.011169
4-0.122126-1.26330.104618
50.0716640.74130.230067
60.0062290.06440.474373
70.0076050.07870.468721
80.1150881.19050.118245
90.0643240.66540.253623
10-0.058762-0.60780.272291
110.0421220.43570.33196
120.1062451.0990.137116
13-0.006253-0.06470.474273
140.0176560.18260.427714
150.0392480.4060.342782
160.0848130.87730.191142
17-0.05583-0.57750.282405
18-0.105553-1.09180.138676
190.0306080.31660.376077
20-0.205668-2.12740.01784
210.0007780.0080.496797
22-0.118701-1.22780.111099
23-0.006535-0.06760.473115
24-0.037684-0.38980.348727
25-0.075374-0.77970.218652
26-0.05697-0.58930.278451
270.0024160.0250.490054
280.0165380.17110.432246
290.0129540.1340.446829
30-0.003108-0.03210.487207
31-0.057486-0.59460.27667
320.0243570.2520.40078
33-0.00782-0.08090.467841
340.0207050.21420.415411
35-0.083536-0.86410.194733
360.0847420.87660.19134
370.0070620.07310.470951
380.0086370.08930.464487
390.0832390.8610.195572
40-0.124936-1.29230.099511
410.0421980.43650.331675
42-0.108006-1.11720.1332
43-0.079513-0.82250.206314
44-0.047737-0.49380.311231
45-0.093882-0.97110.166838
460.0283090.29280.385108
47-0.059569-0.61620.269541
48-0.040671-0.42070.337408
49-0.12212-1.26320.104628
500.0278670.28830.386855
51-0.007808-0.08080.46789
52-0.038649-0.39980.345054
530.0012210.01260.494975
54-0.033276-0.34420.365681
55-0.043038-0.44520.328541
560.0373390.38620.350044
570.0409780.42390.336254
58-0.004608-0.04770.481037
590.0590350.61070.27136
600.0403550.41740.338597
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229501295oksisot1n1xslwj/1pwln1229501230.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229501295oksisot1n1xslwj/1pwln1229501230.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229501295oksisot1n1xslwj/2hg1d1229501230.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229501295oksisot1n1xslwj/2hg1d1229501230.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