Home » date » 2008 » Dec » 15 »

ACF met meer lags

*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: Mon, 15 Dec 2008 07:07:02 -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/15/t1229350082i2vivg7c1sz2qfl.htm/, Retrieved Mon, 15 Dec 2008 15:08:10 +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/15/t1229350082i2vivg7c1sz2qfl.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 «
147768 137507 136919 136151 133001 125554 119647 114158 116193 152803 161761 160942 149470 139208 134588 130322 126611 122401 117352 112135 112879 148729 157230 157221 146681 136524 132111 125326 122716 116615 113719 110737 112093 143565 149946 149147 134339 122683 115614 116566 111272 104609 101802 94542 93051 124129 130374 123946 114971 105531 104919 104782 101281 94545 93248 84031 87486 115867 120327 117008 108811
 
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.8088546.31730
20.5243154.0956.3e-05
30.2834632.21390.015292
40.1486251.16080.125123
50.0926990.7240.235915
60.0698360.54540.293721
70.0600760.46920.320296
80.0784870.6130.271076
90.1951071.52380.066359
100.3585882.80070.003411
110.5398924.21674.2e-05
120.6189544.83425e-06
130.4472533.49320.000447
140.2096531.63740.053344
150.0148770.11620.45394
16-0.091082-0.71140.239783
17-0.140891-1.10040.137742
18-0.166585-1.30110.099064
19-0.180372-1.40870.081993
20-0.166487-1.30030.099194
21-0.069498-0.54280.294625
220.0538230.42040.337845
230.1792341.39990.08331
240.2310781.80480.038023
250.1051710.82140.207305
26-0.056093-0.43810.331431
27-0.183593-1.43390.078353
28-0.235414-1.83860.035419
29-0.257592-2.01190.024329
30-0.264211-2.06360.021661
31-0.270081-2.10940.019511
32-0.259621-2.02770.023483
33-0.191255-1.49370.070198
34-0.118472-0.92530.179229
35-0.032256-0.25190.400972
360.0028660.02240.491109
37-0.070487-0.55050.291986
38-0.158214-1.23570.110655
39-0.208471-1.62820.054318
40-0.223583-1.74620.042902
41-0.233605-1.82450.036487
42-0.236343-1.84590.034881
43-0.23994-1.8740.032862
44-0.228358-1.78350.039737
45-0.176729-1.38030.086267
46-0.13568-1.05970.14673
47-0.0908-0.70920.24046
48-0.065463-0.51130.305499


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8088546.31730
2-0.375784-2.9350.002348
30.013320.1040.458743
40.0868830.67860.249986
50.0050910.03980.484205
6-0.014057-0.10980.456469
70.0212840.16620.434261
80.091990.71850.237607
90.3174522.47940.00797
100.1551051.21140.115206
110.294732.30190.012384
120.0108870.0850.466259
13-0.518357-4.04857.4e-05
140.0875030.68340.248464
15-0.072215-0.5640.287406
16-0.121677-0.95030.172849
170.0082560.06450.4744
18-0.124739-0.97420.166891
19-0.005248-0.0410.48372
20-0.070924-0.55390.290825
21-0.083571-0.65270.258198
220.0188730.14740.44165
23-0.057225-0.44690.328251
240.0933230.72890.234434
25-0.096-0.74980.228133
260.0747740.5840.280686
270.0144850.11310.455148
28-0.00477-0.03730.485201
290.0303440.2370.406728
30-0.022445-0.17530.430712
31-0.018997-0.14840.441269
32-0.027153-0.21210.416378
33-0.117495-0.91770.181204
34-0.04271-0.33360.369921
35-0.005243-0.0410.483734
36-0.049782-0.38880.349387
370.0119420.09330.462998
380.0207480.1620.435902
390.0454380.35490.36195
40-0.110777-0.86520.19516
410.0063160.04930.48041
420.0010940.00850.496606
43-0.011779-0.0920.463501
440.0353860.27640.391599
45-0.018777-0.14670.441946
46-0.0388-0.3030.381445
47-0.038573-0.30130.382117
48-0.003197-0.0250.490081
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229350082i2vivg7c1sz2qfl/1gxjx1229350021.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229350082i2vivg7c1sz2qfl/1gxjx1229350021.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229350082i2vivg7c1sz2qfl/2fo2j1229350021.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229350082i2vivg7c1sz2qfl/2fo2j1229350021.ps (open in new window)


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