Home » date » 2010 » Dec » 19 »

*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: Sun, 19 Dec 2010 16:26:19 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/19/t1292775850oixm4mot57e321m.htm/, Retrieved Sun, 19 Dec 2010 17:24:13 +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/2010/Dec/19/t1292775850oixm4mot57e321m.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
562325 560854 555332 543599 536662 542722 593530 610763 612613 611324 594167 595454 590865 589379 584428 573100 567456 569028 620735 628884 628232 612117 595404 597141 593408 590072 579799 574205 572775 572942 619567 625809 619916 587625 565742 557274 560576 548854 531673 525919 511038 498662 555362 564591 541657 527070 509846 514258 516922 507561 492622 490243 469357 477580 528379 533590 517945 506174 501866 516141 528222 532638 536322 536535 523597 536214 586570 596594 580523 564478 557560 575093 580112 574761 563250 551531 537034 544686 600991 604378 586111 563668 548604
 
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.2094891.75270.042015
20.2979962.49320.007513
30.3037232.54110.006634
40.2009081.68090.048618
50.1252681.04810.149107
60.1678111.4040.082369
70.0626750.52440.300837
80.1167790.9770.165957
90.0357260.29890.382949
10-0.118386-0.99050.162674
110.1738711.45470.07511
12-0.155845-1.30390.09827
13-0.130535-1.09210.13926
140.0388420.3250.373085
15-0.065921-0.55150.291512
16-0.087334-0.73070.233705
17-0.042358-0.35440.362056
18-0.11122-0.93050.177646
19-0.0426-0.35640.361299
20-0.094065-0.7870.216968
21-0.256291-2.14430.017742
22-0.099057-0.82880.205026
23-0.148765-1.24470.108704
24-0.250089-2.09240.020015
25-0.086957-0.72750.234663
26-0.221478-1.8530.034047
27-0.251241-2.1020.019575
28-0.220201-1.84230.034831
29-0.144043-1.20510.116103
30-0.122792-1.02740.153896
310.0140070.11720.453522
32-0.137835-1.15320.126373
330.0705420.59020.278479
34-0.01921-0.16070.436386
350.0599470.50160.308777
36-0.003053-0.02550.489847
37-0.017021-0.14240.443583
38-0.001169-0.00980.496112
39-0.003356-0.02810.48884
400.0270630.22640.410765
410.0014970.01250.49502
420.0676890.56630.286492
43-0.030026-0.25120.401191
440.041110.34390.365958
45-0.033673-0.28170.389491
46-0.015014-0.12560.450198
470.0171480.14350.443167
480.0327330.27390.392497


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2094891.75270.042015
20.2657752.22360.014701
30.2275661.9040.030513
40.0666060.55730.289562
5-0.042649-0.35680.361148
60.0365020.30540.380483
7-0.043602-0.36480.35818
80.0480670.40220.344398
9-0.036046-0.30160.381933
10-0.204266-1.7090.04594
110.2075661.73660.043426
12-0.181914-1.5220.066257
13-0.123442-1.03280.152628
140.120551.00860.158323
150.0033180.02780.488965
160.0025250.02110.491601
17-0.058318-0.48790.313565
18-0.046699-0.39070.348598
190.0227850.19060.424681
20-0.066576-0.5570.289647
21-0.166901-1.39640.083505
22-0.122954-1.02870.15358
230.03930.32880.371641
24-0.065798-0.55050.291862
25-0.030229-0.25290.400536
26-0.108171-0.9050.184278
27-0.111927-0.93640.176131
28-0.095514-0.79910.213459
290.0813620.68070.249145
300.0423650.35450.362032
310.1422441.19010.119013
32-0.024389-0.2040.419453
330.0538590.45060.326828
34-0.107922-0.90290.184828
350.1606551.34410.091622
36-0.124914-1.04510.149785
37-0.15194-1.27120.103929
38-0.012156-0.10170.459643
39-0.089676-0.75030.227799
400.02630.220.413241
410.0051070.04270.48302
42-0.014196-0.11880.452898
430.034090.28520.38816
44-0.053385-0.44660.328254
45-0.038199-0.31960.375114
46-0.109066-0.91250.182317
470.0758180.63430.263965
48-0.000185-0.00150.499385
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292775850oixm4mot57e321m/1o8zu1292775977.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292775850oixm4mot57e321m/1o8zu1292775977.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292775850oixm4mot57e321m/2ghyx1292775977.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292775850oixm4mot57e321m/2ghyx1292775977.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292775850oixm4mot57e321m/3ghyx1292775977.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292775850oixm4mot57e321m/3ghyx1292775977.ps (open in new window)


 
Parameters (Session):
par1 = Niet-werkende werkzoekenden in Belgie ; par2 = http://www.nbb.be/belgostat/ ; par3 = Niet-werkende werkzoekenden in Belgie ; par4 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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