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 computationFri, 05 Dec 2008 04:00:50 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/05/t1228474919f3s9szy8jr4ixh4.htm/, Retrieved Thu, 16 May 2024 09:09:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=29161, Retrieved Thu, 16 May 2024 09:09:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact241
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Standard Deviation-Mean Plot] [Paper Hoofdstuk 4...] [2008-12-05 10:14:55] [6fea0e9a9b3b29a63badf2c274e82506]
- RMP     [(Partial) Autocorrelation Function] [Paper Hoofdstuk 4...] [2008-12-05 11:00:50] [286e96bd53289970f8e5f25a93fb50b3] [Current]
Feedback Forum

Post a new message
Dataseries X:
493.000
481.000
462.000
457.000
442.000
439.000
488.000
521.000
501.000
485.000
464.000
460.000
467.000
460.000
448.000
443.000
436.000
431.000
484.000
510.000
513.000
503.000
471.000
471.000
476.000
475.000
470.000
461.000
455.000
456.000
517.000
525.000
523.000
519.000
509.000
512.000
519.000
517.000
510.000
509.000
501.000
507.000
569.000
580.000
578.000
565.000
547.000
555.000
562.000
561.000
555.000
544.000
537.000
543.000
594.000
611.000
613.000
611.000
594.000
595.000




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29161&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29161&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29161&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'Gwilym Jenkins' @ 72.249.127.135







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8962496.94230
20.7450535.77120
30.6103624.72787e-06
40.5223144.04587.6e-05
50.4875713.77670.000184
60.4603053.56550.00036
70.4361653.37850.000643
80.4113383.18620.001144
90.4178013.23630.000987
100.4513553.49620.000447
110.5058843.91860.000115
120.523064.05167.4e-05
130.4293563.32580.000754
140.3057742.36850.010549
150.1842271.4270.07938
160.090020.69730.244157
170.0389840.3020.381861
18-0.006433-0.04980.48021
19-0.032291-0.25010.401673
20-0.053094-0.41130.341172
21-0.048677-0.37710.353733
22-0.019534-0.15130.44012
230.0194740.15080.440302
240.0192090.14880.441109

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.896249 & 6.9423 & 0 \tabularnewline
2 & 0.745053 & 5.7712 & 0 \tabularnewline
3 & 0.610362 & 4.7278 & 7e-06 \tabularnewline
4 & 0.522314 & 4.0458 & 7.6e-05 \tabularnewline
5 & 0.487571 & 3.7767 & 0.000184 \tabularnewline
6 & 0.460305 & 3.5655 & 0.00036 \tabularnewline
7 & 0.436165 & 3.3785 & 0.000643 \tabularnewline
8 & 0.411338 & 3.1862 & 0.001144 \tabularnewline
9 & 0.417801 & 3.2363 & 0.000987 \tabularnewline
10 & 0.451355 & 3.4962 & 0.000447 \tabularnewline
11 & 0.505884 & 3.9186 & 0.000115 \tabularnewline
12 & 0.52306 & 4.0516 & 7.4e-05 \tabularnewline
13 & 0.429356 & 3.3258 & 0.000754 \tabularnewline
14 & 0.305774 & 2.3685 & 0.010549 \tabularnewline
15 & 0.184227 & 1.427 & 0.07938 \tabularnewline
16 & 0.09002 & 0.6973 & 0.244157 \tabularnewline
17 & 0.038984 & 0.302 & 0.381861 \tabularnewline
18 & -0.006433 & -0.0498 & 0.48021 \tabularnewline
19 & -0.032291 & -0.2501 & 0.401673 \tabularnewline
20 & -0.053094 & -0.4113 & 0.341172 \tabularnewline
21 & -0.048677 & -0.3771 & 0.353733 \tabularnewline
22 & -0.019534 & -0.1513 & 0.44012 \tabularnewline
23 & 0.019474 & 0.1508 & 0.440302 \tabularnewline
24 & 0.019209 & 0.1488 & 0.441109 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29161&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.896249[/C][C]6.9423[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.745053[/C][C]5.7712[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.610362[/C][C]4.7278[/C][C]7e-06[/C][/ROW]
[ROW][C]4[/C][C]0.522314[/C][C]4.0458[/C][C]7.6e-05[/C][/ROW]
[ROW][C]5[/C][C]0.487571[/C][C]3.7767[/C][C]0.000184[/C][/ROW]
[ROW][C]6[/C][C]0.460305[/C][C]3.5655[/C][C]0.00036[/C][/ROW]
[ROW][C]7[/C][C]0.436165[/C][C]3.3785[/C][C]0.000643[/C][/ROW]
[ROW][C]8[/C][C]0.411338[/C][C]3.1862[/C][C]0.001144[/C][/ROW]
[ROW][C]9[/C][C]0.417801[/C][C]3.2363[/C][C]0.000987[/C][/ROW]
[ROW][C]10[/C][C]0.451355[/C][C]3.4962[/C][C]0.000447[/C][/ROW]
[ROW][C]11[/C][C]0.505884[/C][C]3.9186[/C][C]0.000115[/C][/ROW]
[ROW][C]12[/C][C]0.52306[/C][C]4.0516[/C][C]7.4e-05[/C][/ROW]
[ROW][C]13[/C][C]0.429356[/C][C]3.3258[/C][C]0.000754[/C][/ROW]
[ROW][C]14[/C][C]0.305774[/C][C]2.3685[/C][C]0.010549[/C][/ROW]
[ROW][C]15[/C][C]0.184227[/C][C]1.427[/C][C]0.07938[/C][/ROW]
[ROW][C]16[/C][C]0.09002[/C][C]0.6973[/C][C]0.244157[/C][/ROW]
[ROW][C]17[/C][C]0.038984[/C][C]0.302[/C][C]0.381861[/C][/ROW]
[ROW][C]18[/C][C]-0.006433[/C][C]-0.0498[/C][C]0.48021[/C][/ROW]
[ROW][C]19[/C][C]-0.032291[/C][C]-0.2501[/C][C]0.401673[/C][/ROW]
[ROW][C]20[/C][C]-0.053094[/C][C]-0.4113[/C][C]0.341172[/C][/ROW]
[ROW][C]21[/C][C]-0.048677[/C][C]-0.3771[/C][C]0.353733[/C][/ROW]
[ROW][C]22[/C][C]-0.019534[/C][C]-0.1513[/C][C]0.44012[/C][/ROW]
[ROW][C]23[/C][C]0.019474[/C][C]0.1508[/C][C]0.440302[/C][/ROW]
[ROW][C]24[/C][C]0.019209[/C][C]0.1488[/C][C]0.441109[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29161&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29161&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.8962496.94230
20.7450535.77120
30.6103624.72787e-06
40.5223144.04587.6e-05
50.4875713.77670.000184
60.4603053.56550.00036
70.4361653.37850.000643
80.4113383.18620.001144
90.4178013.23630.000987
100.4513553.49620.000447
110.5058843.91860.000115
120.523064.05167.4e-05
130.4293563.32580.000754
140.3057742.36850.010549
150.1842271.4270.07938
160.090020.69730.244157
170.0389840.3020.381861
18-0.006433-0.04980.48021
19-0.032291-0.25010.401673
20-0.053094-0.41130.341172
21-0.048677-0.37710.353733
22-0.019534-0.15130.44012
230.0194740.15080.440302
240.0192090.14880.441109







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8962496.94230
2-0.295874-2.29180.01272
30.0569020.44080.330486
40.1220040.9450.174215
50.1424531.10340.137123
6-0.067573-0.52340.301305
70.060830.47120.319608
80.0307210.2380.406359
90.2054231.59120.05841
100.0900940.69790.24398
110.1605151.24330.109289
12-0.146715-1.13640.130144
13-0.431895-3.34540.000711
140.0494570.38310.351504
15-0.087351-0.67660.250625
16-0.140427-1.08770.14053
17-0.026518-0.20540.418976
18-0.103341-0.80050.213297
190.0761220.58960.278825
20-0.045472-0.35220.362952
210.0424950.32920.37159
220.0349880.2710.393654
23-0.020652-0.160.436721
24-0.091947-0.71220.239544

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.896249 & 6.9423 & 0 \tabularnewline
2 & -0.295874 & -2.2918 & 0.01272 \tabularnewline
3 & 0.056902 & 0.4408 & 0.330486 \tabularnewline
4 & 0.122004 & 0.945 & 0.174215 \tabularnewline
5 & 0.142453 & 1.1034 & 0.137123 \tabularnewline
6 & -0.067573 & -0.5234 & 0.301305 \tabularnewline
7 & 0.06083 & 0.4712 & 0.319608 \tabularnewline
8 & 0.030721 & 0.238 & 0.406359 \tabularnewline
9 & 0.205423 & 1.5912 & 0.05841 \tabularnewline
10 & 0.090094 & 0.6979 & 0.24398 \tabularnewline
11 & 0.160515 & 1.2433 & 0.109289 \tabularnewline
12 & -0.146715 & -1.1364 & 0.130144 \tabularnewline
13 & -0.431895 & -3.3454 & 0.000711 \tabularnewline
14 & 0.049457 & 0.3831 & 0.351504 \tabularnewline
15 & -0.087351 & -0.6766 & 0.250625 \tabularnewline
16 & -0.140427 & -1.0877 & 0.14053 \tabularnewline
17 & -0.026518 & -0.2054 & 0.418976 \tabularnewline
18 & -0.103341 & -0.8005 & 0.213297 \tabularnewline
19 & 0.076122 & 0.5896 & 0.278825 \tabularnewline
20 & -0.045472 & -0.3522 & 0.362952 \tabularnewline
21 & 0.042495 & 0.3292 & 0.37159 \tabularnewline
22 & 0.034988 & 0.271 & 0.393654 \tabularnewline
23 & -0.020652 & -0.16 & 0.436721 \tabularnewline
24 & -0.091947 & -0.7122 & 0.239544 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29161&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.896249[/C][C]6.9423[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.295874[/C][C]-2.2918[/C][C]0.01272[/C][/ROW]
[ROW][C]3[/C][C]0.056902[/C][C]0.4408[/C][C]0.330486[/C][/ROW]
[ROW][C]4[/C][C]0.122004[/C][C]0.945[/C][C]0.174215[/C][/ROW]
[ROW][C]5[/C][C]0.142453[/C][C]1.1034[/C][C]0.137123[/C][/ROW]
[ROW][C]6[/C][C]-0.067573[/C][C]-0.5234[/C][C]0.301305[/C][/ROW]
[ROW][C]7[/C][C]0.06083[/C][C]0.4712[/C][C]0.319608[/C][/ROW]
[ROW][C]8[/C][C]0.030721[/C][C]0.238[/C][C]0.406359[/C][/ROW]
[ROW][C]9[/C][C]0.205423[/C][C]1.5912[/C][C]0.05841[/C][/ROW]
[ROW][C]10[/C][C]0.090094[/C][C]0.6979[/C][C]0.24398[/C][/ROW]
[ROW][C]11[/C][C]0.160515[/C][C]1.2433[/C][C]0.109289[/C][/ROW]
[ROW][C]12[/C][C]-0.146715[/C][C]-1.1364[/C][C]0.130144[/C][/ROW]
[ROW][C]13[/C][C]-0.431895[/C][C]-3.3454[/C][C]0.000711[/C][/ROW]
[ROW][C]14[/C][C]0.049457[/C][C]0.3831[/C][C]0.351504[/C][/ROW]
[ROW][C]15[/C][C]-0.087351[/C][C]-0.6766[/C][C]0.250625[/C][/ROW]
[ROW][C]16[/C][C]-0.140427[/C][C]-1.0877[/C][C]0.14053[/C][/ROW]
[ROW][C]17[/C][C]-0.026518[/C][C]-0.2054[/C][C]0.418976[/C][/ROW]
[ROW][C]18[/C][C]-0.103341[/C][C]-0.8005[/C][C]0.213297[/C][/ROW]
[ROW][C]19[/C][C]0.076122[/C][C]0.5896[/C][C]0.278825[/C][/ROW]
[ROW][C]20[/C][C]-0.045472[/C][C]-0.3522[/C][C]0.362952[/C][/ROW]
[ROW][C]21[/C][C]0.042495[/C][C]0.3292[/C][C]0.37159[/C][/ROW]
[ROW][C]22[/C][C]0.034988[/C][C]0.271[/C][C]0.393654[/C][/ROW]
[ROW][C]23[/C][C]-0.020652[/C][C]-0.16[/C][C]0.436721[/C][/ROW]
[ROW][C]24[/C][C]-0.091947[/C][C]-0.7122[/C][C]0.239544[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29161&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29161&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.8962496.94230
2-0.295874-2.29180.01272
30.0569020.44080.330486
40.1220040.9450.174215
50.1424531.10340.137123
6-0.067573-0.52340.301305
70.060830.47120.319608
80.0307210.2380.406359
90.2054231.59120.05841
100.0900940.69790.24398
110.1605151.24330.109289
12-0.146715-1.13640.130144
13-0.431895-3.34540.000711
140.0494570.38310.351504
15-0.087351-0.67660.250625
16-0.140427-1.08770.14053
17-0.026518-0.20540.418976
18-0.103341-0.80050.213297
190.0761220.58960.278825
20-0.045472-0.35220.362952
210.0424950.32920.37159
220.0349880.2710.393654
23-0.020652-0.160.436721
24-0.091947-0.71220.239544



Parameters (Session):
par1 = 24 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
Parameters (R input):
par1 = 24 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
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 (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='lags',ylab='ACF')
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('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')