Home » date » 2009 » Dec » 17 »

*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: Thu, 17 Dec 2009 20:22:52 +0100
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/17/t1261077796ihrorppqtbkcaif.htm/, Retrieved Thu, 17 Dec 2009 20:23:18 +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/Dec/17/t1261077796ihrorppqtbkcaif.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 «
277 260.6 291.6 275.4 275.3 231.7 238.8 274.2 277.8 299.1 286.6 232.3 294.1 267.5 309.7 280.7 287.3 235.7 256.4 289 290.8 321.9 291.8 241.4 295.5 258.2 306.1 281.5 283.1 237.4 274.8 299.3 300.4 340.9 318.8 265.7 322.7 281.6 323.5 312.6 310.8 262.8 273.8 320 310.3 342.2 320.1 265.6 327 300.7 346.4 317.3 326.2 270.7 278.2 324.6 321.8 343.5 354 278.2 330.2 307.3 375.9 335.3 339.3 280.3 293.7 341.2 345.1 368.7 369.4 288.4 341 319.1 374.2 344.5 337.3 281 282.2 321 325.4 366.3 380.3 300.7 359.3 327.6 383.6 352.4 329.4 294.5 333.5 334.3 358 396.1 387 307.2 363.9 344.7 397.6 376.8 337.1 299.3 323.1 329.1 347 462 436.5 360.4 415.5 382.1 432.2 424.3 386.7 354.5 375.8 368 402.4 426.5 433.3 338.5 416.8 381.1 445.7 412.4 394 348.2 380.1 373.7 393.6 434.2 430.7 344.5 411.9 370.5 437.3 411.3 385.5 341.3 384.2 373.2 415.8 448.6 454.3 350.3 419.1 398 456.1 430.1 399.8 362.7 384. etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.79082410.78540
20.73474710.02060
30.6308028.6030
40.6603649.00620
50.708939.66850
60.77040710.50690
70.6677779.10730
80.5883328.02380
90.5170547.05170
100.5892958.03690
110.6215298.47650
120.78123210.65460
130.5995948.17740
140.5554377.57520
150.460656.28240
160.4872496.64520
170.5398327.36230
180.5947388.11120
190.5038046.8710
200.4364675.95260
210.3722365.07660
220.4463576.08750
230.4742726.46820
240.6273138.55540
250.4609556.28660
260.4203345.73260
270.3286874.48276e-06
280.3521794.80312e-06
290.4071975.55340
300.453226.18110
310.3751345.11610
320.3145074.28931.4e-05
330.2455353.34860.000491
340.311914.25391.7e-05
350.3432124.68083e-06
360.4818086.5710
370.3352834.57264e-06
380.2989324.07693.4e-05
390.2161442.94780.001805
400.237253.23570.000718
410.2879923.92776e-05
420.3307294.51056e-06
430.2557363.48780.000304
440.2024862.76150.003165
450.1352921.84510.033304
460.197852.69830.003805
470.2265213.08930.001157
480.3499034.7722e-06
490.2179622.97260.001672
500.1897722.58820.005206
510.1132441.54440.06209
520.1263341.7230.043279
530.1821882.48470.006924
540.218692.98250.001621
550.150342.05040.020866
560.1024011.39660.082104
570.0400490.54620.292794
580.0954281.30150.097354
590.1262251.72150.043413
600.2368113.22970.000733


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.79082410.78540
20.2918993.9814.9e-05
3-0.033516-0.45710.324067
40.2898023.95245.5e-05
50.331214.51716e-06
60.2724493.71570.000134
7-0.245094-3.34260.000502
8-0.182078-2.48320.006953
90.0048950.06680.473425
100.293664.0054.5e-05
110.0249250.33990.367147
120.4996986.8150
13-0.548126-7.47540
14-0.084651-1.15450.12489
15-0.005796-0.07910.468539
16-0.040258-0.5490.291816
170.0146930.20040.420701
18-0.002759-0.03760.485012
190.0980041.33660.091494
200.0339320.46280.322036
210.0863721.1780.120158
220.0456670.62280.267083
23-0.06068-0.82760.20449
240.1506672.05480.020647
25-0.219883-2.99880.001541
26-0.119558-1.63060.052339
27-0.05466-0.74550.228465
280.0136980.18680.426002
290.056680.7730.220249
30-0.031038-0.42330.336284
310.1521372.07490.019687
320.0270610.36910.356252
33-0.028913-0.39430.346896
34-0.06094-0.83110.203488
350.0254560.34720.364426
36-0.029974-0.40880.34158
37-0.069795-0.95190.171197
38-0.034814-0.47480.317742
390.0296250.4040.343328
400.0433360.5910.27761
41-0.051903-0.70790.239958
420.0379890.51810.302504
43-0.036677-0.50020.308759
440.0487920.66540.253299
450.0022530.03070.487762
46-0.065798-0.89740.185341
470.0102440.13970.444522
48-0.042695-0.58230.280539
490.0102210.13940.444646
500.0104480.14250.44342
510.0042380.05780.476983
52-0.051428-0.70140.241969
530.0448520.61170.270743
540.0149260.20360.419457
55-0.036777-0.50160.308281
56-0.023131-0.31550.376382
570.034870.47560.317471
58-0.013919-0.18980.424826
59-0.001684-0.0230.490851
60-0.022367-0.3050.380337
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261077796ihrorppqtbkcaif/1kaxv1261077763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261077796ihrorppqtbkcaif/1kaxv1261077763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261077796ihrorppqtbkcaif/20y3b1261077763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261077796ihrorppqtbkcaif/20y3b1261077763.ps (open in new window)


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