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 08:35:21 -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/t13243881445asmtf8h29820qc.htm/, Retrieved Sun, 05 May 2024 22:14:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=157957, Retrieved Sun, 05 May 2024 22:14:09 +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-05 11:42:22] [aba4febe8a2e49e81bdc61a6c01f5c21]
-    D    [(Partial) Autocorrelation Function] [ACF pageviews] [2011-12-20 13:35:21] [3627de22d386f4cb93d383ef7c1ade7f] [Current]
- R         [(Partial) Autocorrelation Function] [ACF pageviews Fixed] [2011-12-20 14:13:44] [aba4febe8a2e49e81bdc61a6c01f5c21]
Feedback Forum

Post a new message
Dataseries X:
1418
869
1530
2172
901
463
3201
371
1192
1583
1439
1764
1495
1373
2187
1491
4041
1706
2152
1036
1882
1929
2242
1220
1289
2515
2147
2352
1638
1222
1812
1677
1579
1731
807
2452
829
1940
2662
186
1499
865
1793
2527
2747
1324
2702
1383
1179
2099
4308
918
1831
3373
1713
1438
496
2253
744
1161
2352
2144
4691
1112
2694
1973
1769
3148
2474
2084
1954
1226
1389
1496
2269
1833
1268
1943
893
1762
1403
1425
1857
1840
1502
1441
1420
1416
2970
1317
1644
870
1654
1054
937
3004
2008
2547
1885
1626
1468
2445
1964
1381
1369
1659
2888
1290
2845
1982
1904
1391
602
1743
1559
2014
2143
2146
874
1590
1590
1210
2072
1281
1401
834
1105
1272
1944
391
761
1605
530
1988
1386
2395
387
1742
620
449
800
1684
1050
2699
1606
1502
1204
1138
568
1459
2158
1111
1421
2833
1955
2922
1002
1060
956
2186
3604
1035
1417
3261
1587
1424
1701
1249
946
1926
3352
1641
2035
2312
1369
1577
2201
961
1900
1254
1335
1597
207
1645
2429
151
474
141
1639
872
1318
1018
1383
1314
1335
1403
910
616
1407
771
766
473
1376
1232
1521
572
1059
1544
1230
1206
1205
1255
613
721
1109
740
1126
728
689
592
995
1613
2048
705
301
1803
799
861
1186
1451
628
1161
1463
742
979
675
1241
676
1049
620
1081
1688
736
617
812
1051
1656
705
945
554
1597
982
222
1212
1143
435
532
882
608
459
578
826
509
717
637
857
830
652
707
954
1461
672
778
1141
680
1090
616
285
1145
733
888
849
1182
528
642
947
819
757
894




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157957&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'AstonUniversity' @ aston.wessa.net







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2090573.5540.000222
20.2642464.49225e-06
30.2843824.83451e-06
40.2361274.01423.8e-05
50.2579514.38528e-06
60.2404334.08742.8e-05
70.3242685.51260
80.2353044.00024e-05
90.254954.33421e-05
100.3162815.37680
110.2218233.7719.9e-05
120.2485094.22471.6e-05
130.2121583.60670.000183
140.1764142.9990.001472
150.2189343.72190.000119
160.1874843.18720.000797
170.1787263.03830.001298
180.2753214.68052e-06
190.2271583.86177e-05
200.2497044.2451.5e-05
210.1591712.70590.003608
220.1802353.0640.001195
230.062721.06620.143601
240.1726822.93560.001798

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.209057 & 3.554 & 0.000222 \tabularnewline
2 & 0.264246 & 4.4922 & 5e-06 \tabularnewline
3 & 0.284382 & 4.8345 & 1e-06 \tabularnewline
4 & 0.236127 & 4.0142 & 3.8e-05 \tabularnewline
5 & 0.257951 & 4.3852 & 8e-06 \tabularnewline
6 & 0.240433 & 4.0874 & 2.8e-05 \tabularnewline
7 & 0.324268 & 5.5126 & 0 \tabularnewline
8 & 0.235304 & 4.0002 & 4e-05 \tabularnewline
9 & 0.25495 & 4.3342 & 1e-05 \tabularnewline
10 & 0.316281 & 5.3768 & 0 \tabularnewline
11 & 0.221823 & 3.771 & 9.9e-05 \tabularnewline
12 & 0.248509 & 4.2247 & 1.6e-05 \tabularnewline
13 & 0.212158 & 3.6067 & 0.000183 \tabularnewline
14 & 0.176414 & 2.999 & 0.001472 \tabularnewline
15 & 0.218934 & 3.7219 & 0.000119 \tabularnewline
16 & 0.187484 & 3.1872 & 0.000797 \tabularnewline
17 & 0.178726 & 3.0383 & 0.001298 \tabularnewline
18 & 0.275321 & 4.6805 & 2e-06 \tabularnewline
19 & 0.227158 & 3.8617 & 7e-05 \tabularnewline
20 & 0.249704 & 4.245 & 1.5e-05 \tabularnewline
21 & 0.159171 & 2.7059 & 0.003608 \tabularnewline
22 & 0.180235 & 3.064 & 0.001195 \tabularnewline
23 & 0.06272 & 1.0662 & 0.143601 \tabularnewline
24 & 0.172682 & 2.9356 & 0.001798 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157957&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.209057[/C][C]3.554[/C][C]0.000222[/C][/ROW]
[ROW][C]2[/C][C]0.264246[/C][C]4.4922[/C][C]5e-06[/C][/ROW]
[ROW][C]3[/C][C]0.284382[/C][C]4.8345[/C][C]1e-06[/C][/ROW]
[ROW][C]4[/C][C]0.236127[/C][C]4.0142[/C][C]3.8e-05[/C][/ROW]
[ROW][C]5[/C][C]0.257951[/C][C]4.3852[/C][C]8e-06[/C][/ROW]
[ROW][C]6[/C][C]0.240433[/C][C]4.0874[/C][C]2.8e-05[/C][/ROW]
[ROW][C]7[/C][C]0.324268[/C][C]5.5126[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.235304[/C][C]4.0002[/C][C]4e-05[/C][/ROW]
[ROW][C]9[/C][C]0.25495[/C][C]4.3342[/C][C]1e-05[/C][/ROW]
[ROW][C]10[/C][C]0.316281[/C][C]5.3768[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.221823[/C][C]3.771[/C][C]9.9e-05[/C][/ROW]
[ROW][C]12[/C][C]0.248509[/C][C]4.2247[/C][C]1.6e-05[/C][/ROW]
[ROW][C]13[/C][C]0.212158[/C][C]3.6067[/C][C]0.000183[/C][/ROW]
[ROW][C]14[/C][C]0.176414[/C][C]2.999[/C][C]0.001472[/C][/ROW]
[ROW][C]15[/C][C]0.218934[/C][C]3.7219[/C][C]0.000119[/C][/ROW]
[ROW][C]16[/C][C]0.187484[/C][C]3.1872[/C][C]0.000797[/C][/ROW]
[ROW][C]17[/C][C]0.178726[/C][C]3.0383[/C][C]0.001298[/C][/ROW]
[ROW][C]18[/C][C]0.275321[/C][C]4.6805[/C][C]2e-06[/C][/ROW]
[ROW][C]19[/C][C]0.227158[/C][C]3.8617[/C][C]7e-05[/C][/ROW]
[ROW][C]20[/C][C]0.249704[/C][C]4.245[/C][C]1.5e-05[/C][/ROW]
[ROW][C]21[/C][C]0.159171[/C][C]2.7059[/C][C]0.003608[/C][/ROW]
[ROW][C]22[/C][C]0.180235[/C][C]3.064[/C][C]0.001195[/C][/ROW]
[ROW][C]23[/C][C]0.06272[/C][C]1.0662[/C][C]0.143601[/C][/ROW]
[ROW][C]24[/C][C]0.172682[/C][C]2.9356[/C][C]0.001798[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157957&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157957&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.2090573.5540.000222
20.2642464.49225e-06
30.2843824.83451e-06
40.2361274.01423.8e-05
50.2579514.38528e-06
60.2404334.08742.8e-05
70.3242685.51260
80.2353044.00024e-05
90.254954.33421e-05
100.3162815.37680
110.2218233.7719.9e-05
120.2485094.22471.6e-05
130.2121583.60670.000183
140.1764142.9990.001472
150.2189343.72190.000119
160.1874843.18720.000797
170.1787263.03830.001298
180.2753214.68052e-06
190.2271583.86177e-05
200.2497044.2451.5e-05
210.1591712.70590.003608
220.1802353.0640.001195
230.062721.06620.143601
240.1726822.93560.001798







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2090573.5540.000222
20.2306213.92065.5e-05
30.2138943.63620.000164
40.1248232.1220.017345
50.1295052.20160.014242
60.0963671.63820.05123
70.1895633.22260.000708
80.0667411.13460.128742
90.074331.26360.103694
100.1420942.41560.008165
110.030460.51780.30249
120.0427110.72610.234184
13-0.001606-0.02730.489116
14-0.049528-0.8420.200247
150.0160730.27320.392432
16-0.012061-0.2050.418847
17-0.037898-0.64430.259957
180.1140851.93950.02671
190.0542440.92210.178612
200.0751421.27740.10124
21-0.033301-0.56610.285875
22-0.021143-0.35940.359765
23-0.15299-2.60080.004889
240.0166620.28320.388595

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.209057 & 3.554 & 0.000222 \tabularnewline
2 & 0.230621 & 3.9206 & 5.5e-05 \tabularnewline
3 & 0.213894 & 3.6362 & 0.000164 \tabularnewline
4 & 0.124823 & 2.122 & 0.017345 \tabularnewline
5 & 0.129505 & 2.2016 & 0.014242 \tabularnewline
6 & 0.096367 & 1.6382 & 0.05123 \tabularnewline
7 & 0.189563 & 3.2226 & 0.000708 \tabularnewline
8 & 0.066741 & 1.1346 & 0.128742 \tabularnewline
9 & 0.07433 & 1.2636 & 0.103694 \tabularnewline
10 & 0.142094 & 2.4156 & 0.008165 \tabularnewline
11 & 0.03046 & 0.5178 & 0.30249 \tabularnewline
12 & 0.042711 & 0.7261 & 0.234184 \tabularnewline
13 & -0.001606 & -0.0273 & 0.489116 \tabularnewline
14 & -0.049528 & -0.842 & 0.200247 \tabularnewline
15 & 0.016073 & 0.2732 & 0.392432 \tabularnewline
16 & -0.012061 & -0.205 & 0.418847 \tabularnewline
17 & -0.037898 & -0.6443 & 0.259957 \tabularnewline
18 & 0.114085 & 1.9395 & 0.02671 \tabularnewline
19 & 0.054244 & 0.9221 & 0.178612 \tabularnewline
20 & 0.075142 & 1.2774 & 0.10124 \tabularnewline
21 & -0.033301 & -0.5661 & 0.285875 \tabularnewline
22 & -0.021143 & -0.3594 & 0.359765 \tabularnewline
23 & -0.15299 & -2.6008 & 0.004889 \tabularnewline
24 & 0.016662 & 0.2832 & 0.388595 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157957&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.209057[/C][C]3.554[/C][C]0.000222[/C][/ROW]
[ROW][C]2[/C][C]0.230621[/C][C]3.9206[/C][C]5.5e-05[/C][/ROW]
[ROW][C]3[/C][C]0.213894[/C][C]3.6362[/C][C]0.000164[/C][/ROW]
[ROW][C]4[/C][C]0.124823[/C][C]2.122[/C][C]0.017345[/C][/ROW]
[ROW][C]5[/C][C]0.129505[/C][C]2.2016[/C][C]0.014242[/C][/ROW]
[ROW][C]6[/C][C]0.096367[/C][C]1.6382[/C][C]0.05123[/C][/ROW]
[ROW][C]7[/C][C]0.189563[/C][C]3.2226[/C][C]0.000708[/C][/ROW]
[ROW][C]8[/C][C]0.066741[/C][C]1.1346[/C][C]0.128742[/C][/ROW]
[ROW][C]9[/C][C]0.07433[/C][C]1.2636[/C][C]0.103694[/C][/ROW]
[ROW][C]10[/C][C]0.142094[/C][C]2.4156[/C][C]0.008165[/C][/ROW]
[ROW][C]11[/C][C]0.03046[/C][C]0.5178[/C][C]0.30249[/C][/ROW]
[ROW][C]12[/C][C]0.042711[/C][C]0.7261[/C][C]0.234184[/C][/ROW]
[ROW][C]13[/C][C]-0.001606[/C][C]-0.0273[/C][C]0.489116[/C][/ROW]
[ROW][C]14[/C][C]-0.049528[/C][C]-0.842[/C][C]0.200247[/C][/ROW]
[ROW][C]15[/C][C]0.016073[/C][C]0.2732[/C][C]0.392432[/C][/ROW]
[ROW][C]16[/C][C]-0.012061[/C][C]-0.205[/C][C]0.418847[/C][/ROW]
[ROW][C]17[/C][C]-0.037898[/C][C]-0.6443[/C][C]0.259957[/C][/ROW]
[ROW][C]18[/C][C]0.114085[/C][C]1.9395[/C][C]0.02671[/C][/ROW]
[ROW][C]19[/C][C]0.054244[/C][C]0.9221[/C][C]0.178612[/C][/ROW]
[ROW][C]20[/C][C]0.075142[/C][C]1.2774[/C][C]0.10124[/C][/ROW]
[ROW][C]21[/C][C]-0.033301[/C][C]-0.5661[/C][C]0.285875[/C][/ROW]
[ROW][C]22[/C][C]-0.021143[/C][C]-0.3594[/C][C]0.359765[/C][/ROW]
[ROW][C]23[/C][C]-0.15299[/C][C]-2.6008[/C][C]0.004889[/C][/ROW]
[ROW][C]24[/C][C]0.016662[/C][C]0.2832[/C][C]0.388595[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157957&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157957&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.2090573.5540.000222
20.2306213.92065.5e-05
30.2138943.63620.000164
40.1248232.1220.017345
50.1295052.20160.014242
60.0963671.63820.05123
70.1895633.22260.000708
80.0667411.13460.128742
90.074331.26360.103694
100.1420942.41560.008165
110.030460.51780.30249
120.0427110.72610.234184
13-0.001606-0.02730.489116
14-0.049528-0.8420.200247
150.0160730.27320.392432
16-0.012061-0.2050.418847
17-0.037898-0.64430.259957
180.1140851.93950.02671
190.0542440.92210.178612
200.0751421.27740.10124
21-0.033301-0.56610.285875
22-0.021143-0.35940.359765
23-0.15299-2.60080.004889
240.0166620.28320.388595



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')