Home » date » 2009 » Dec » 30 »

paper/10

*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, 30 Dec 2009 08:46:40 -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/30/t1262188053w6dz1j8ae0sytu7.htm/, Retrieved Wed, 30 Dec 2009 16:47:36 +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/30/t1262188053w6dz1j8ae0sytu7.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 «
10519,20 10414,90 12476,80 12384,60 12266,70 12919,90 11497,30 12142,00 13919,40 12656,80 12034,10 13199,70 10881,30 11301,20 13643,90 12517,00 13981,10 14275,70 13425,00 13565,70 16216,30 12970,00 14079,90 14235,00 12213,40 12581,00 14130,40 14210,80 14378,50 13142,80 13714,70 13621,90 15379,80 13306,30 14391,20 14909,90 14025,40 12951,20 14344,30 16093,40 15413,60 14705,70 15972,80 16241,40 16626,40 17136,20 15622,90 18003,90 16136,10 14423,70 16789,40 16782,20 14133,80 12607,00 12004,50 12175,40 13268,00 12299,30 11800,60 13873,30 12315,00
 
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.6392294.99253e-06
20.5046873.94170.000106
30.5660214.42082.1e-05
40.4233743.30670.000793
50.351192.74290.003992
60.3523572.7520.003895
70.149731.16940.123391
80.1271710.99320.162259
90.1288491.00630.159113
10-0.031033-0.24240.404651
110.043830.34230.366643
120.1743021.36130.089207
13-0.047861-0.37380.354923
14-0.114244-0.89230.187877
15-0.04653-0.36340.358776
16-0.066879-0.52230.301663
17-0.069843-0.54550.293702
18-0.039474-0.30830.379452
19-0.062263-0.48630.314253
20-0.079195-0.61850.269265
21-0.047936-0.37440.354706
22-0.06817-0.53240.298183
23-0.027276-0.2130.416007
240.053190.41540.339643
25-0.006423-0.05020.480076
26-0.14578-1.13860.129666
27-0.066218-0.51720.30345
28-0.059522-0.46490.321835
29-0.095699-0.74740.228837
30-0.091754-0.71660.23817
31-0.100904-0.78810.216849
32-0.218336-1.70530.046617
33-0.189671-1.48140.071827
34-0.220033-1.71850.045388
35-0.275539-2.1520.017681
36-0.193115-1.50830.068323
37-0.237871-1.85780.03401
38-0.343416-2.68220.004699
39-0.253994-1.98380.025894
40-0.228743-1.78650.03949
41-0.22237-1.73680.043738
42-0.162715-1.27080.104305
43-0.163036-1.27330.103863
44-0.197718-1.54420.063853
45-0.121655-0.95020.172891
46-0.123249-0.96260.169772
47-0.108375-0.84640.200309
48-0.011675-0.09120.463823
49-0.037617-0.29380.384955
50-0.053472-0.41760.338841
510.0209660.16380.435234
520.0742420.57980.282077
530.1037210.81010.21052
540.1123210.87730.191895
550.0705180.55080.291904
560.0625670.48870.313417
570.0747570.58390.280731
580.0445240.34770.364616
590.0253970.19840.421712
600.0266650.20830.417859


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.6392294.99253e-06
20.1624551.26880.104664
30.3334162.60410.005777
4-0.105582-0.82460.2064
50.0319570.24960.401869
60.0116870.09130.463784
7-0.268823-2.09960.019955
80.0595340.4650.321803
9-0.048584-0.37940.352836
10-0.115113-0.89910.186077
110.2136671.66880.050142
120.2340861.82830.0362
13-0.273975-2.13980.018189
14-0.192056-1.50.069386
15-0.03473-0.27120.393559
160.1391261.08660.140742
17-0.044441-0.34710.364857
180.05550.43350.333101
190.2014381.57330.060414
20-0.180534-1.410.081807
21-0.037469-0.29260.385395
220.0537070.41950.338175
23-0.050997-0.39830.3459
24-0.026916-0.21020.417097
250.0989510.77280.221304
26-0.191565-1.49620.069882
270.0005670.00440.498242
28-0.073787-0.57630.283267
290.12770.99740.161263
30-0.130396-1.01840.156249
31-0.006422-0.05020.480081
32-0.099941-0.78060.21904
33-0.076608-0.59830.275919
34-0.115317-0.90070.185657
35-0.053172-0.41530.339695
360.0791080.61790.269487
37-0.040202-0.3140.377302
380.0863550.67450.251287
39-0.044792-0.34980.363833
40-0.055345-0.43230.333538
41-0.012957-0.10120.459862
42-0.009533-0.07450.470447
43-0.052841-0.41270.340637
440.0177990.1390.444949
450.0342190.26730.395085
46-0.041823-0.32660.372526
470.0213670.16690.434007
480.0266330.2080.417957
49-0.012078-0.09430.462577
50-0.003288-0.02570.489797
510.1262380.9860.164026
520.0222470.17380.431317
53-0.013182-0.1030.459168
54-0.095426-0.74530.229476
55-0.033559-0.26210.397063
56-0.072972-0.56990.28541
570.070110.54760.292991
58-0.016531-0.12910.448846
59-0.001442-0.01130.495526
60-0.073889-0.57710.283
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/30/t1262188053w6dz1j8ae0sytu7/1uioy1262187998.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t1262188053w6dz1j8ae0sytu7/1uioy1262187998.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/30/t1262188053w6dz1j8ae0sytu7/250oi1262187998.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t1262188053w6dz1j8ae0sytu7/250oi1262187998.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