Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_autocorrelation.wasp
Title produced by software(Partial) Autocorrelation Function
Date of computationSat, 03 Dec 2011 08:49:01 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/03/t1322920193sauo9mlty1jzvnr.htm/, Retrieved Sun, 28 Apr 2024 21:42:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=150452, Retrieved Sun, 28 Apr 2024 21:42:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact113
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2011-12-03 13:49:01] [ce4468323d272130d499477f5e05a6d2] [Current]
- R PD    [(Partial) Autocorrelation Function] [] [2011-12-20 10:37:20] [06c08141d7d783218a8164fd2ea166f2]
-   P       [(Partial) Autocorrelation Function] [] [2011-12-20 10:45:04] [06c08141d7d783218a8164fd2ea166f2]
-   P         [(Partial) Autocorrelation Function] [] [2011-12-20 18:20:49] [06c08141d7d783218a8164fd2ea166f2]
-               [(Partial) Autocorrelation Function] [] [2011-12-20 18:26:39] [06c08141d7d783218a8164fd2ea166f2]
Feedback Forum

Post a new message
Dataseries X:
276986
260633
291551
275383
275302
231693
238829
274215
277808
299060
286629
232313
294053
267510
309739
280733
287298
235672
256449
288997
290789
321898
291834
241380
295469
258200
306102
281480
283101
237414
274834
299340
300383
340862
318794
265740
322656
281563
323461
312579
310784
262785
273754
320036
310336
342206
320052
265582
326988
300713
346414
317325
326208
270657
278158
324584
321801
343542
354040
278179
330246
307344
375874
335309
339271
280264
293689
341161
345097
368712
369403
288384
340981
319072
374214
344529
337271
281016
282224
320984
325426
366276
380296
300727
359326
327610
383563
352405
329351
294486
333454
334339
358000
396057
386976
307155
363909
344700
397561
376791
337085
299252
323136
329091
346991
461999
436533
360372
415467
382110
432197
424254
386728
354508
375765
367986
402378
426516
433313
338461
416834
381099
445673
412408
393997
348241
380134
373688
393588
434192
430731
344468
411891
370497
437305
411270
385495
341273
384217
373223
415771
448634
454341
350297
419104
398027
456059
430052
399757
362731
384896
385349
432289
468891
442702
370178
439400
393900
468700
438800
430100
366300
391000
380900
431400
465400
471500
387500
446400
421500
504800
492071
421253
396682
428000
421900
465600
525793
499855
435287
479499
473027
554410
489574
462157
420331




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ yule.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150452&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150452&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150452&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ yule.wessa.net







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.79081510.78530
20.7347310.02040
30.6308028.6030
40.6603529.0060
50.7089039.66810
60.77038110.50660
70.6677559.1070
80.5883338.02380
90.5170637.05180
100.5892828.03670
110.6215318.47660
120.78124110.65470
130.5995818.17720
140.5554397.57520
150.4606896.2830
160.4872676.64540
170.5398417.36250
180.5947388.11110
190.5037996.87090
200.4364815.95280
210.3722585.07690
220.4463616.08750

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.790815 & 10.7853 & 0 \tabularnewline
2 & 0.73473 & 10.0204 & 0 \tabularnewline
3 & 0.630802 & 8.603 & 0 \tabularnewline
4 & 0.660352 & 9.006 & 0 \tabularnewline
5 & 0.708903 & 9.6681 & 0 \tabularnewline
6 & 0.770381 & 10.5066 & 0 \tabularnewline
7 & 0.667755 & 9.107 & 0 \tabularnewline
8 & 0.588333 & 8.0238 & 0 \tabularnewline
9 & 0.517063 & 7.0518 & 0 \tabularnewline
10 & 0.589282 & 8.0367 & 0 \tabularnewline
11 & 0.621531 & 8.4766 & 0 \tabularnewline
12 & 0.781241 & 10.6547 & 0 \tabularnewline
13 & 0.599581 & 8.1772 & 0 \tabularnewline
14 & 0.555439 & 7.5752 & 0 \tabularnewline
15 & 0.460689 & 6.283 & 0 \tabularnewline
16 & 0.487267 & 6.6454 & 0 \tabularnewline
17 & 0.539841 & 7.3625 & 0 \tabularnewline
18 & 0.594738 & 8.1111 & 0 \tabularnewline
19 & 0.503799 & 6.8709 & 0 \tabularnewline
20 & 0.436481 & 5.9528 & 0 \tabularnewline
21 & 0.372258 & 5.0769 & 0 \tabularnewline
22 & 0.446361 & 6.0875 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150452&T=1

[TABLE]
[ROW][C]Autocorrelation Function[/C][/ROW]
[ROW][C]Time lag k[/C][C]ACF(k)[/C][C]T-STAT[/C][C]P-value[/C][/ROW]
[ROW][C]1[/C][C]0.790815[/C][C]10.7853[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.73473[/C][C]10.0204[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.630802[/C][C]8.603[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.660352[/C][C]9.006[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.708903[/C][C]9.6681[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.770381[/C][C]10.5066[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.667755[/C][C]9.107[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.588333[/C][C]8.0238[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.517063[/C][C]7.0518[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.589282[/C][C]8.0367[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.621531[/C][C]8.4766[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.781241[/C][C]10.6547[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.599581[/C][C]8.1772[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.555439[/C][C]7.5752[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.460689[/C][C]6.283[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.487267[/C][C]6.6454[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.539841[/C][C]7.3625[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.594738[/C][C]8.1111[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.503799[/C][C]6.8709[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.436481[/C][C]5.9528[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.372258[/C][C]5.0769[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0.446361[/C][C]6.0875[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150452&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150452&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.79081510.78530
20.7347310.02040
30.6308028.6030
40.6603529.0060
50.7089039.66810
60.77038110.50660
70.6677559.1070
80.5883338.02380
90.5170637.05180
100.5892828.03670
110.6215318.47660
120.78124110.65470
130.5995818.17720
140.5554397.57520
150.4606896.2830
160.4872676.64540
170.5398417.36250
180.5947388.11110
190.5037996.87090
200.4364815.95280
210.3722585.07690
220.4463616.08750







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.79081510.78530
20.2918783.98074.9e-05
3-0.033452-0.45620.32438
40.2897553.95175.5e-05
50.3311274.5166e-06
60.2724723.7160.000134
7-0.245022-3.34170.000503
8-0.181978-2.48180.006979
90.0048570.06620.47363
100.2935024.00284.5e-05
110.0250680.34190.366415
120.4997786.81610
13-0.548296-7.47780
14-0.084489-1.15230.125343
15-0.005534-0.07550.469959
16-0.040389-0.55080.291206
170.0146220.19940.421075
18-0.002844-0.03880.484551
190.0979821.33630.091542
200.0338470.46160.32245
210.0863721.1780.120159
220.0457470.62390.266729

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.790815 & 10.7853 & 0 \tabularnewline
2 & 0.291878 & 3.9807 & 4.9e-05 \tabularnewline
3 & -0.033452 & -0.4562 & 0.32438 \tabularnewline
4 & 0.289755 & 3.9517 & 5.5e-05 \tabularnewline
5 & 0.331127 & 4.516 & 6e-06 \tabularnewline
6 & 0.272472 & 3.716 & 0.000134 \tabularnewline
7 & -0.245022 & -3.3417 & 0.000503 \tabularnewline
8 & -0.181978 & -2.4818 & 0.006979 \tabularnewline
9 & 0.004857 & 0.0662 & 0.47363 \tabularnewline
10 & 0.293502 & 4.0028 & 4.5e-05 \tabularnewline
11 & 0.025068 & 0.3419 & 0.366415 \tabularnewline
12 & 0.499778 & 6.8161 & 0 \tabularnewline
13 & -0.548296 & -7.4778 & 0 \tabularnewline
14 & -0.084489 & -1.1523 & 0.125343 \tabularnewline
15 & -0.005534 & -0.0755 & 0.469959 \tabularnewline
16 & -0.040389 & -0.5508 & 0.291206 \tabularnewline
17 & 0.014622 & 0.1994 & 0.421075 \tabularnewline
18 & -0.002844 & -0.0388 & 0.484551 \tabularnewline
19 & 0.097982 & 1.3363 & 0.091542 \tabularnewline
20 & 0.033847 & 0.4616 & 0.32245 \tabularnewline
21 & 0.086372 & 1.178 & 0.120159 \tabularnewline
22 & 0.045747 & 0.6239 & 0.266729 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150452&T=2

[TABLE]
[ROW][C]Partial Autocorrelation Function[/C][/ROW]
[ROW][C]Time lag k[/C][C]PACF(k)[/C][C]T-STAT[/C][C]P-value[/C][/ROW]
[ROW][C]1[/C][C]0.790815[/C][C]10.7853[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.291878[/C][C]3.9807[/C][C]4.9e-05[/C][/ROW]
[ROW][C]3[/C][C]-0.033452[/C][C]-0.4562[/C][C]0.32438[/C][/ROW]
[ROW][C]4[/C][C]0.289755[/C][C]3.9517[/C][C]5.5e-05[/C][/ROW]
[ROW][C]5[/C][C]0.331127[/C][C]4.516[/C][C]6e-06[/C][/ROW]
[ROW][C]6[/C][C]0.272472[/C][C]3.716[/C][C]0.000134[/C][/ROW]
[ROW][C]7[/C][C]-0.245022[/C][C]-3.3417[/C][C]0.000503[/C][/ROW]
[ROW][C]8[/C][C]-0.181978[/C][C]-2.4818[/C][C]0.006979[/C][/ROW]
[ROW][C]9[/C][C]0.004857[/C][C]0.0662[/C][C]0.47363[/C][/ROW]
[ROW][C]10[/C][C]0.293502[/C][C]4.0028[/C][C]4.5e-05[/C][/ROW]
[ROW][C]11[/C][C]0.025068[/C][C]0.3419[/C][C]0.366415[/C][/ROW]
[ROW][C]12[/C][C]0.499778[/C][C]6.8161[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.548296[/C][C]-7.4778[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]-0.084489[/C][C]-1.1523[/C][C]0.125343[/C][/ROW]
[ROW][C]15[/C][C]-0.005534[/C][C]-0.0755[/C][C]0.469959[/C][/ROW]
[ROW][C]16[/C][C]-0.040389[/C][C]-0.5508[/C][C]0.291206[/C][/ROW]
[ROW][C]17[/C][C]0.014622[/C][C]0.1994[/C][C]0.421075[/C][/ROW]
[ROW][C]18[/C][C]-0.002844[/C][C]-0.0388[/C][C]0.484551[/C][/ROW]
[ROW][C]19[/C][C]0.097982[/C][C]1.3363[/C][C]0.091542[/C][/ROW]
[ROW][C]20[/C][C]0.033847[/C][C]0.4616[/C][C]0.32245[/C][/ROW]
[ROW][C]21[/C][C]0.086372[/C][C]1.178[/C][C]0.120159[/C][/ROW]
[ROW][C]22[/C][C]0.045747[/C][C]0.6239[/C][C]0.266729[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150452&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150452&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.79081510.78530
20.2918783.98074.9e-05
3-0.033452-0.45620.32438
40.2897553.95175.5e-05
50.3311274.5166e-06
60.2724723.7160.000134
7-0.245022-3.34170.000503
8-0.181978-2.48180.006979
90.0048570.06620.47363
100.2935024.00284.5e-05
110.0250680.34190.366415
120.4997786.81610
13-0.548296-7.47780
14-0.084489-1.15230.125343
15-0.005534-0.07550.469959
16-0.040389-0.55080.291206
170.0146220.19940.421075
18-0.002844-0.03880.484551
190.0979821.33630.091542
200.0338470.46160.32245
210.0863721.1780.120159
220.0457470.62390.266729



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