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:23:25 +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/t12927756723vobpov2lpat049.htm/, Retrieved Sun, 19 Dec 2010 17:21:12 +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/t12927756723vobpov2lpat049.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 time1 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8758487.97940
20.6850366.2410
30.5593285.09571e-06
40.5217114.7534e-06
50.5428344.94552e-06
60.5348564.87283e-06
70.47084.28922.4e-05
80.3815613.47620.000406
90.342383.11920.001247
100.3769123.43380.000466
110.4698644.28072.5e-05
120.4999174.55459e-06
130.3375813.07550.001423
140.1366571.2450.108317
150.0034040.0310.487666
16-0.046101-0.420.337785
17-0.046344-0.42220.336982
18-0.072859-0.66380.254338
19-0.143016-1.30290.098099
20-0.223482-2.0360.022469
21-0.251434-2.29070.012259
22-0.213926-1.9490.027339
23-0.130603-1.18980.118749
24-0.101316-0.9230.179332
25-0.223818-2.03910.022312
26-0.36997-3.37060.00057
27-0.44924-4.09284.9e-05
28-0.452916-4.12634.4e-05
29-0.411966-3.75320.000161
30-0.393489-3.58490.000284
31-0.411144-3.74570.000166
32-0.434528-3.95877.9e-05
33-0.409453-3.73030.000174
34-0.331869-3.02350.001662
35-0.221841-2.02110.023248
36-0.161861-1.47460.072048
37-0.224681-2.04690.021914
38-0.299603-2.72950.003871
39-0.321097-2.92530.002218
40-0.289141-2.63420.00503
41-0.232622-2.11930.018527
42-0.20376-1.85630.033476
43-0.203822-1.85690.033436
44-0.205729-1.87430.032205
45-0.171267-1.56030.061245
46-0.097315-0.88660.188932
47-0.008087-0.07370.470722
480.0383120.3490.363972


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8758487.97940
2-0.352414-3.21060.000942
30.2772912.52620.006714
40.149121.35850.088985
50.1624971.48040.071274
6-0.129374-1.17870.120951
7-0.02906-0.26480.395928
8-0.040797-0.37170.355539
90.1881.71280.045245
100.1078790.98280.164275
110.2636272.40180.009275
12-0.278164-2.53420.006575
13-0.6649-6.05750
140.1866191.70020.046421
15-0.111974-1.02010.155315
16-0.141461-1.28880.100529
17-0.107331-0.97780.165501
180.0397550.36220.359066
19-0.00899-0.08190.467462
200.0105880.09650.461695
210.0537740.48990.312746
220.0040980.03730.485155
23-0.047126-0.42930.334394
240.101760.92710.178287
25-0.077216-0.70350.241864
26-0.045886-0.4180.338499
270.0133670.12180.451684
28-0.016984-0.15470.438705
290.0317310.28910.386621
300.0040420.03680.485358
310.0227450.20720.418175
32-0.020723-0.18880.425358
330.0469330.42760.335033
340.0041350.03770.48502
350.0007020.00640.497456
36-0.002949-0.02690.489316
370.0372740.33960.367515
380.0374170.34090.367025
39-0.079516-0.72440.235422
40-0.069263-0.6310.264882
41-0.086334-0.78650.216895
42-0.04693-0.42760.335041
43-0.008265-0.07530.470078
44-0.055921-0.50950.30589
45-0.111553-1.01630.156222
460.0389050.35440.361953
47-0.0827-0.75340.22666
480.0847080.77170.221235
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927756723vobpov2lpat049/1678t1292775802.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927756723vobpov2lpat049/1678t1292775802.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2010/Dec/19/t12927756723vobpov2lpat049/3hgqw1292775802.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927756723vobpov2lpat049/3hgqw1292775802.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 = 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 (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