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:18:46 -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/t1229350768tkouyodyd6e25dm.htm/, Retrieved Mon, 15 Dec 2008 15:19:30 +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/t1229350768tkouyodyd6e25dm.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
1-0.077212-0.53490.297581
20.0918250.63620.263839
3-0.13891-0.96240.170337
40.0450020.31180.378278
5-0.218826-1.51610.06803
60.0134140.09290.463171
70.0623070.43170.333955
8-0.036507-0.25290.400702
90.1008540.69870.244044
10-0.035118-0.24330.404403
110.3030792.09980.020514
12-0.272631-1.88880.032482
13-0.016473-0.11410.454805
140.0020610.01430.494333
15-0.057194-0.39630.346837
16-0.269854-1.86960.033823
170.0155620.10780.457295
180.0066290.04590.481778
19-0.069555-0.48190.316037
200.1094460.75830.226
21-0.008974-0.06220.475342
220.1544651.07020.144949
23-0.11627-0.80550.21224
240.0123340.08550.466128
25-0.043936-0.30440.38107
260.0021610.0150.494058
27-0.068215-0.47260.319317
280.0589240.40820.342457
290.0395780.27420.392551
30-0.012337-0.08550.466121
310.0913840.63310.264828
320.0620840.43010.334513
330.060390.41840.338763
34-0.108766-0.75350.2274
35-0.054217-0.37560.354425
36-0.056206-0.38940.349349
370.0210780.1460.442255
38-0.029299-0.2030.419999
390.0130520.09040.464163
40-0.03287-0.22770.410412
41-0.028008-0.1940.423479
420.0029780.02060.491813
430.0474860.3290.371795
44-0.014367-0.09950.460563
45-0.042523-0.29460.384783
46-0.008233-0.0570.477375
470.0004060.00280.498884
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.077212-0.53490.297581
20.0863790.59840.276177
3-0.127468-0.88310.190785
40.0203840.14120.444142
5-0.198484-1.37510.087737
6-0.03439-0.23830.406347
70.1038820.71970.237594
8-0.085107-0.58960.279099
90.1016910.70450.242252
10-0.045102-0.31250.378016
110.2913812.01870.024559
12-0.22474-1.5570.063015
13-0.10839-0.7510.228174
140.1727811.19710.11858
15-0.192491-1.33360.094312
16-0.203059-1.40680.082959
17-0.066299-0.45930.324033
18-0.05766-0.39950.345657
19-0.036872-0.25550.399731
20-0.016484-0.11420.454777
21-0.038191-0.26460.396226
220.1091650.75630.226578
230.0434410.3010.382368
24-0.067299-0.46630.32157
25-0.022769-0.15770.437658
260.0986310.68330.24884
270.072620.50310.308588
28-0.145229-1.00620.159688
290.0001740.00120.499522
300.0921670.63860.263075
31-0.066269-0.45910.324108
320.0561480.3890.349497
33-0.02695-0.18670.426335
34-0.073929-0.51220.305432
35-0.032573-0.22570.411207
36-0.085591-0.5930.277986
370.0334160.23150.40895
380.0370480.25670.399262
39-0.052177-0.36150.359658
40-0.131712-0.91250.183027
41-0.030986-0.21470.415464
420.0563450.39040.348996
430.0163140.1130.455241
44-0.066439-0.46030.323689
450.0524850.36360.358866
460.0223250.15470.438864
47-0.01982-0.13730.445679
48NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229350768tkouyodyd6e25dm/17gjg1229350725.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229350768tkouyodyd6e25dm/17gjg1229350725.ps (open in new window)


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


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