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 computationTue, 20 Dec 2011 10:23:33 -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/20/t13243946234z7cfc92bds177m.htm/, Retrieved Sun, 05 May 2024 21:28:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=157985, Retrieved Sun, 05 May 2024 21:28:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact121
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [(Partial) Autocorrelation Function] [] [2011-12-05 11:42:22] [aba4febe8a2e49e81bdc61a6c01f5c21]
- RMPD  [Variance Reduction Matrix] [Variance Reductio...] [2011-12-20 13:59:28] [aba4febe8a2e49e81bdc61a6c01f5c21]
- RMP     [Standard Deviation-Mean Plot] [] [2011-12-20 14:38:17] [aba4febe8a2e49e81bdc61a6c01f5c21]
- RM        [ARIMA Backward Selection] [] [2011-12-20 14:48:06] [aba4febe8a2e49e81bdc61a6c01f5c21]
- RM D          [(Partial) Autocorrelation Function] [] [2011-12-20 15:23:33] [3627de22d386f4cb93d383ef7c1ade7f] [Current]
- R               [(Partial) Autocorrelation Function] [ACF CV] [2011-12-20 15:24:22] [aba4febe8a2e49e81bdc61a6c01f5c21]
- RM              [Spectral Analysis] [] [2011-12-20 15:26:09] [aba4febe8a2e49e81bdc61a6c01f5c21]
- R                 [Spectral Analysis] [Spectral Analysis CV] [2011-12-20 15:26:40] [aba4febe8a2e49e81bdc61a6c01f5c21]
- RM                [Variance Reduction Matrix] [] [2011-12-20 15:27:08] [aba4febe8a2e49e81bdc61a6c01f5c21]
- R                   [Variance Reduction Matrix] [VRM CV] [2011-12-20 15:27:35] [aba4febe8a2e49e81bdc61a6c01f5c21]
- RM                  [Standard Deviation-Mean Plot] [] [2011-12-20 15:29:15] [aba4febe8a2e49e81bdc61a6c01f5c21]
- R                     [Standard Deviation-Mean Plot] [Standard Deviatio...] [2011-12-20 15:29:48] [aba4febe8a2e49e81bdc61a6c01f5c21]
Feedback Forum

Post a new message
Dataseries X:
396
297
559
967
270
143
1562
109
371
656
511
655
465
525
885
497
1436
612
865
385
567
639
963
398
410
966
801
892
513
469
683
643
535
625
264
992
238
818
937
70
507
260
503
927
1269
537
910
532
345
918
1635
330
557
1178
740
452
218
764
255
454
866
574
1276
379
825
798
663
1069
921
858
711
503
382
464
717
690
462
657
385
577
619
479
817
752
430
451
537
519
1000
637
465
437
711
299
248
1162
714
905
649
512
472
905
786
489
479
617
925
351
1144
669
707
458
214
599
572
897
819
720
273
508
506
451
699
407
465
245
370
316
603
154
229
577
192
617
411
975
146
705
184
200
274
502
382
964
537
438
369
417
276
514
822
389
466
1255
694
1024
400
397
350
719
1277
356
457
1402
600
480
595
436
230
651
1367
564
716
747
467
671
861
319
612
433
434
503
85
564
824
74
259
69
535
239
438
459
426
288
498
454
376
225
555
252
208
130
481
389
565
173
278
609
422
445
387
339
181
245
384
212
399
229
224
203
333
384
636
185
93
581
248
304
344
407
170
312
507
224
340
168
443
204
367
210
335
364
178
206
279
387
490
238
343
232
530
291
67
397
467
178
175
299
154
106
189
194
135
201
207
280
260
227
239
333
428
230
292
350
186
326
155
75
361
261
299
300
450
183
238
165
234
176
329




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 1 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157985&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157985&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157985&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 time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.221483.76520.000101
20.2413424.10282.7e-05
30.3229815.49070
40.2460724.18321.9e-05
50.2393864.06963e-05
60.3042555.17230
70.3520725.98520
80.2475914.2091.7e-05
90.2573264.37459e-06
100.3261315.54420
110.2136573.63220.000166
120.2427534.12682.4e-05
130.2780174.72632e-06
140.1800153.06030.00121
150.2372494.03323.5e-05
160.2367794.02523.6e-05
170.1893413.21880.000717
180.2821354.79631e-06
190.256864.36669e-06
200.2805914.771e-06
210.1909083.24540.000655
220.1929183.27960.000583
230.1095641.86260.031767
240.169412.880.002137

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.22148 & 3.7652 & 0.000101 \tabularnewline
2 & 0.241342 & 4.1028 & 2.7e-05 \tabularnewline
3 & 0.322981 & 5.4907 & 0 \tabularnewline
4 & 0.246072 & 4.1832 & 1.9e-05 \tabularnewline
5 & 0.239386 & 4.0696 & 3e-05 \tabularnewline
6 & 0.304255 & 5.1723 & 0 \tabularnewline
7 & 0.352072 & 5.9852 & 0 \tabularnewline
8 & 0.247591 & 4.209 & 1.7e-05 \tabularnewline
9 & 0.257326 & 4.3745 & 9e-06 \tabularnewline
10 & 0.326131 & 5.5442 & 0 \tabularnewline
11 & 0.213657 & 3.6322 & 0.000166 \tabularnewline
12 & 0.242753 & 4.1268 & 2.4e-05 \tabularnewline
13 & 0.278017 & 4.7263 & 2e-06 \tabularnewline
14 & 0.180015 & 3.0603 & 0.00121 \tabularnewline
15 & 0.237249 & 4.0332 & 3.5e-05 \tabularnewline
16 & 0.236779 & 4.0252 & 3.6e-05 \tabularnewline
17 & 0.189341 & 3.2188 & 0.000717 \tabularnewline
18 & 0.282135 & 4.7963 & 1e-06 \tabularnewline
19 & 0.25686 & 4.3666 & 9e-06 \tabularnewline
20 & 0.280591 & 4.77 & 1e-06 \tabularnewline
21 & 0.190908 & 3.2454 & 0.000655 \tabularnewline
22 & 0.192918 & 3.2796 & 0.000583 \tabularnewline
23 & 0.109564 & 1.8626 & 0.031767 \tabularnewline
24 & 0.16941 & 2.88 & 0.002137 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157985&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.22148[/C][C]3.7652[/C][C]0.000101[/C][/ROW]
[ROW][C]2[/C][C]0.241342[/C][C]4.1028[/C][C]2.7e-05[/C][/ROW]
[ROW][C]3[/C][C]0.322981[/C][C]5.4907[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.246072[/C][C]4.1832[/C][C]1.9e-05[/C][/ROW]
[ROW][C]5[/C][C]0.239386[/C][C]4.0696[/C][C]3e-05[/C][/ROW]
[ROW][C]6[/C][C]0.304255[/C][C]5.1723[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.352072[/C][C]5.9852[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.247591[/C][C]4.209[/C][C]1.7e-05[/C][/ROW]
[ROW][C]9[/C][C]0.257326[/C][C]4.3745[/C][C]9e-06[/C][/ROW]
[ROW][C]10[/C][C]0.326131[/C][C]5.5442[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.213657[/C][C]3.6322[/C][C]0.000166[/C][/ROW]
[ROW][C]12[/C][C]0.242753[/C][C]4.1268[/C][C]2.4e-05[/C][/ROW]
[ROW][C]13[/C][C]0.278017[/C][C]4.7263[/C][C]2e-06[/C][/ROW]
[ROW][C]14[/C][C]0.180015[/C][C]3.0603[/C][C]0.00121[/C][/ROW]
[ROW][C]15[/C][C]0.237249[/C][C]4.0332[/C][C]3.5e-05[/C][/ROW]
[ROW][C]16[/C][C]0.236779[/C][C]4.0252[/C][C]3.6e-05[/C][/ROW]
[ROW][C]17[/C][C]0.189341[/C][C]3.2188[/C][C]0.000717[/C][/ROW]
[ROW][C]18[/C][C]0.282135[/C][C]4.7963[/C][C]1e-06[/C][/ROW]
[ROW][C]19[/C][C]0.25686[/C][C]4.3666[/C][C]9e-06[/C][/ROW]
[ROW][C]20[/C][C]0.280591[/C][C]4.77[/C][C]1e-06[/C][/ROW]
[ROW][C]21[/C][C]0.190908[/C][C]3.2454[/C][C]0.000655[/C][/ROW]
[ROW][C]22[/C][C]0.192918[/C][C]3.2796[/C][C]0.000583[/C][/ROW]
[ROW][C]23[/C][C]0.109564[/C][C]1.8626[/C][C]0.031767[/C][/ROW]
[ROW][C]24[/C][C]0.16941[/C][C]2.88[/C][C]0.002137[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157985&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157985&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.221483.76520.000101
20.2413424.10282.7e-05
30.3229815.49070
40.2460724.18321.9e-05
50.2393864.06963e-05
60.3042555.17230
70.3520725.98520
80.2475914.2091.7e-05
90.2573264.37459e-06
100.3261315.54420
110.2136573.63220.000166
120.2427534.12682.4e-05
130.2780174.72632e-06
140.1800153.06030.00121
150.2372494.03323.5e-05
160.2367794.02523.6e-05
170.1893413.21880.000717
180.2821354.79631e-06
190.256864.36669e-06
200.2805914.771e-06
210.1909083.24540.000655
220.1929183.27960.000583
230.1095641.86260.031767
240.169412.880.002137







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.221483.76520.000101
20.2022073.43750.000337
30.2582634.39058e-06
40.130262.21440.01379
50.1025181.74280.041216
60.1603172.72540.003407
70.2154493.66260.000148
80.070851.20450.1147
90.0541770.9210.178909
100.1274092.16590.015566
110.0055220.09390.462635
120.0291510.49560.310288
130.0441830.75110.226598
14-0.060827-1.03410.150988
150.0235260.39990.34475
160.0091940.15630.437953
17-0.037126-0.63110.264225
180.1049791.78460.037684
190.0641861.09120.138057
200.1032361.7550.040158
21-0.005973-0.10150.459598
22-0.031014-0.52720.299215
23-0.143697-2.44280.007585
24-0.023877-0.40590.342556

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.22148 & 3.7652 & 0.000101 \tabularnewline
2 & 0.202207 & 3.4375 & 0.000337 \tabularnewline
3 & 0.258263 & 4.3905 & 8e-06 \tabularnewline
4 & 0.13026 & 2.2144 & 0.01379 \tabularnewline
5 & 0.102518 & 1.7428 & 0.041216 \tabularnewline
6 & 0.160317 & 2.7254 & 0.003407 \tabularnewline
7 & 0.215449 & 3.6626 & 0.000148 \tabularnewline
8 & 0.07085 & 1.2045 & 0.1147 \tabularnewline
9 & 0.054177 & 0.921 & 0.178909 \tabularnewline
10 & 0.127409 & 2.1659 & 0.015566 \tabularnewline
11 & 0.005522 & 0.0939 & 0.462635 \tabularnewline
12 & 0.029151 & 0.4956 & 0.310288 \tabularnewline
13 & 0.044183 & 0.7511 & 0.226598 \tabularnewline
14 & -0.060827 & -1.0341 & 0.150988 \tabularnewline
15 & 0.023526 & 0.3999 & 0.34475 \tabularnewline
16 & 0.009194 & 0.1563 & 0.437953 \tabularnewline
17 & -0.037126 & -0.6311 & 0.264225 \tabularnewline
18 & 0.104979 & 1.7846 & 0.037684 \tabularnewline
19 & 0.064186 & 1.0912 & 0.138057 \tabularnewline
20 & 0.103236 & 1.755 & 0.040158 \tabularnewline
21 & -0.005973 & -0.1015 & 0.459598 \tabularnewline
22 & -0.031014 & -0.5272 & 0.299215 \tabularnewline
23 & -0.143697 & -2.4428 & 0.007585 \tabularnewline
24 & -0.023877 & -0.4059 & 0.342556 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157985&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.22148[/C][C]3.7652[/C][C]0.000101[/C][/ROW]
[ROW][C]2[/C][C]0.202207[/C][C]3.4375[/C][C]0.000337[/C][/ROW]
[ROW][C]3[/C][C]0.258263[/C][C]4.3905[/C][C]8e-06[/C][/ROW]
[ROW][C]4[/C][C]0.13026[/C][C]2.2144[/C][C]0.01379[/C][/ROW]
[ROW][C]5[/C][C]0.102518[/C][C]1.7428[/C][C]0.041216[/C][/ROW]
[ROW][C]6[/C][C]0.160317[/C][C]2.7254[/C][C]0.003407[/C][/ROW]
[ROW][C]7[/C][C]0.215449[/C][C]3.6626[/C][C]0.000148[/C][/ROW]
[ROW][C]8[/C][C]0.07085[/C][C]1.2045[/C][C]0.1147[/C][/ROW]
[ROW][C]9[/C][C]0.054177[/C][C]0.921[/C][C]0.178909[/C][/ROW]
[ROW][C]10[/C][C]0.127409[/C][C]2.1659[/C][C]0.015566[/C][/ROW]
[ROW][C]11[/C][C]0.005522[/C][C]0.0939[/C][C]0.462635[/C][/ROW]
[ROW][C]12[/C][C]0.029151[/C][C]0.4956[/C][C]0.310288[/C][/ROW]
[ROW][C]13[/C][C]0.044183[/C][C]0.7511[/C][C]0.226598[/C][/ROW]
[ROW][C]14[/C][C]-0.060827[/C][C]-1.0341[/C][C]0.150988[/C][/ROW]
[ROW][C]15[/C][C]0.023526[/C][C]0.3999[/C][C]0.34475[/C][/ROW]
[ROW][C]16[/C][C]0.009194[/C][C]0.1563[/C][C]0.437953[/C][/ROW]
[ROW][C]17[/C][C]-0.037126[/C][C]-0.6311[/C][C]0.264225[/C][/ROW]
[ROW][C]18[/C][C]0.104979[/C][C]1.7846[/C][C]0.037684[/C][/ROW]
[ROW][C]19[/C][C]0.064186[/C][C]1.0912[/C][C]0.138057[/C][/ROW]
[ROW][C]20[/C][C]0.103236[/C][C]1.755[/C][C]0.040158[/C][/ROW]
[ROW][C]21[/C][C]-0.005973[/C][C]-0.1015[/C][C]0.459598[/C][/ROW]
[ROW][C]22[/C][C]-0.031014[/C][C]-0.5272[/C][C]0.299215[/C][/ROW]
[ROW][C]23[/C][C]-0.143697[/C][C]-2.4428[/C][C]0.007585[/C][/ROW]
[ROW][C]24[/C][C]-0.023877[/C][C]-0.4059[/C][C]0.342556[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157985&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157985&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.221483.76520.000101
20.2022073.43750.000337
30.2582634.39058e-06
40.130262.21440.01379
50.1025181.74280.041216
60.1603172.72540.003407
70.2154493.66260.000148
80.070851.20450.1147
90.0541770.9210.178909
100.1274092.16590.015566
110.0055220.09390.462635
120.0291510.49560.310288
130.0441830.75110.226598
14-0.060827-1.03410.150988
150.0235260.39990.34475
160.0091940.15630.437953
17-0.037126-0.63110.264225
180.1049791.78460.037684
190.0641861.09120.138057
200.1032361.7550.040158
21-0.005973-0.10150.459598
22-0.031014-0.52720.299215
23-0.143697-2.44280.007585
24-0.023877-0.40590.342556



Parameters (Session):
par1 = 4 ;
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')