Home » date » 2009 » Nov » 25 »

ws 8 d=1 D=1

*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, 25 Nov 2009 14:02:34 -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/Nov/25/t12591833280w4saom75qieank.htm/, Retrieved Wed, 25 Nov 2009 22:08:50 +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/Nov/25/t12591833280w4saom75qieank.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 «
100.01 103.84 104.48 95.43 104.80 108.64 105.65 108.42 115.35 113.64 115.24 100.33 101.29 104.48 99.26 100.11 103.52 101.18 96.39 97.56 96.39 85.10 79.77 79.13 80.84 82.75 92.55 96.60 96.92 95.32 98.52 100.22 104.91 103.10 97.13 103.42 111.72 118.11 111.62 100.22 102.03 105.76 107.68 110.77 105.44 112.26 114.07 117.90 124.72 126.42 134.73 135.79 143.36 140.37 144.74 151.98 150.92 163.38 154.43 146.66 157.95 162.10 180.42 179.57 171.58 185.43 190.64 203.00 202.36 193.41 186.17 192.24 209.60 206.41 209.82 230.37 235.80 232.07 244.64 242.19 217.48 209.39 211.73 221.00 203.11 214.71 224.19 238.04 238.36 246.24 259.87 249.97 266.48 282.98 306.31 301.73 314.62 332.62 355.51 370.32 408.13 433.58 440.51 386.29 342.84 254.97 203.42 170.09 174.03 167.85 177.01 188.19 211.20 240.91 230.26 251.25 241.66
 
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.4914365.01171e-06
20.2682462.73560.003662
30.1481461.51080.066936
40.1182021.20540.115386
5-0.036493-0.37220.355268
6-0.076546-0.78060.2184
7-0.019791-0.20180.42022
8-0.102893-1.04930.148235
9-0.262976-2.68180.004259
10-0.260394-2.65550.004583
11-0.22551-2.29980.01173
12-0.369602-3.76920.000136
13-0.271419-2.76790.00334
14-0.079853-0.81430.208654
150.0716910.73110.23318
16-0.052619-0.53660.296343
17-0.026241-0.26760.394766
18-0.001625-0.01660.493404
190.0406220.41430.339767
20-0.002863-0.02920.488382
210.0885860.90340.1842
220.084270.85940.196052
230.0496480.50630.306855
240.033380.34040.367116
250.1257271.28220.101317
260.1190781.21440.11368
270.0081180.08280.467089
28-0.020184-0.20580.418659
29-0.019522-0.19910.421293
300.0349780.35670.361018
31-0.034162-0.34840.364126
32-0.023287-0.23750.406374
33-0.016677-0.17010.432641
34-0.046508-0.47430.318143
350.0022370.02280.49092
36-0.010386-0.10590.457927


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4914365.01171e-06
20.0352490.35950.359986
30.0048110.04910.480483
40.0485550.49520.310765
5-0.153639-1.56680.060097
6-0.023614-0.24080.405085
70.0694560.70830.240166
8-0.140462-1.43240.077509
9-0.212387-2.16590.016301
10-0.044075-0.44950.327011
11-0.065742-0.67040.252033
12-0.27952-2.85060.002632
130.066260.67570.250359
140.1096151.11790.133101
150.0799820.81570.208279
16-0.147189-1.5010.068187
17-0.027042-0.27580.391634
18-0.085526-0.87220.192555
190.0396150.4040.343524
20-0.043176-0.44030.330313
21-0.025941-0.26450.395941
22-0.10397-1.06030.145735
230.0047110.0480.480888
24-0.013524-0.13790.445287
250.0979530.99890.160075
260.0510780.52090.301774
27-0.03554-0.36240.358879
28-0.099977-1.01960.155149
29-0.074358-0.75830.22499
300.071640.73060.233338
31-0.009117-0.0930.463052
32-0.041952-0.42780.33483
330.0129630.13220.447543
34-0.076015-0.77520.219989
350.1308031.33390.09257
36-0.053239-0.54290.294168
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591833280w4saom75qieank/18m1f1259182952.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591833280w4saom75qieank/18m1f1259182952.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/25/t12591833280w4saom75qieank/28klm1259182952.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t12591833280w4saom75qieank/28klm1259182952.ps (open in new window)


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