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, 02 Dec 2008 13:15:28 -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/02/t12282491560hy5wqns5bcoaqf.htm/, Retrieved Sun, 19 May 2024 12:42:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=28357, Retrieved Sun, 19 May 2024 12:42:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Data Series] [Airline data] [2007-10-18 09:58:47] [42daae401fd3def69a25014f2252b4c2]
F RMPD    [(Partial) Autocorrelation Function] [17.7.1] [2008-12-02 20:15:28] [0458bd763b171003ec052ce63099d477] [Current]
F   PD      [(Partial) Autocorrelation Function] [17.8.1] [2008-12-02 20:32:20] [1eab65e90adf64584b8e6f0da23ff414]
Feedback Forum
2008-12-08 18:37:21 [5faab2fc6fb120339944528a32d48a04] [reply
Hier werd de verkeerde calculator gebruikt het was de bedoeling de Cross Correlation Function te bereken om het verband tussen de 2 variabelen duidelijk te maken.

Post a new message
Dataseries X:
97,8
107,4
117,5
105,6
97,4
99,5
98
104,3
100,6
101,1
103,9
96,9
95,5
108,4
117
103,8
100,8
110,6
104
112,6
107,3
98,9
109,8
104,9
102,2
123,9
124,9
112,7
121,9
100,6
104,3
120,4
107,5
102,9
125,6
107,5
108,8
128,4
121,1
119,5
128,7
108,7
105,5
119,8
111,3
110,6
120,1
97,5
107,7
127,3
117,2
119,8
116,2
111
112,4
130,6
109,1
118,8
123,9
101,6
112,8
128
129,6
125,8
119,5
115,7
113,6
129,7
112
116,8
127
112,1
114,2
121,1
131,6
125
120,4
117,7
117,5
120,6
127,5
112,3
124,5
115,2
105,4




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3595383.31480.000675
20.1982611.82790.035538
30.4864074.48451.1e-05
40.1745281.60910.055655
50.2691032.4810.007536
60.5339424.92272e-06
70.1650691.52190.065878
80.1618081.49180.069728
90.36483.36330.000578
100.026420.24360.404071
110.2234182.05980.021238
120.6042345.57080
130.1513931.39580.083209
140.0626690.57780.282469
150.2374152.18890.015675
16-0.043026-0.39670.346298
170.1134381.04580.149299
180.2831852.61080.005337
19-0.039348-0.36280.358839

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.359538 & 3.3148 & 0.000675 \tabularnewline
2 & 0.198261 & 1.8279 & 0.035538 \tabularnewline
3 & 0.486407 & 4.4845 & 1.1e-05 \tabularnewline
4 & 0.174528 & 1.6091 & 0.055655 \tabularnewline
5 & 0.269103 & 2.481 & 0.007536 \tabularnewline
6 & 0.533942 & 4.9227 & 2e-06 \tabularnewline
7 & 0.165069 & 1.5219 & 0.065878 \tabularnewline
8 & 0.161808 & 1.4918 & 0.069728 \tabularnewline
9 & 0.3648 & 3.3633 & 0.000578 \tabularnewline
10 & 0.02642 & 0.2436 & 0.404071 \tabularnewline
11 & 0.223418 & 2.0598 & 0.021238 \tabularnewline
12 & 0.604234 & 5.5708 & 0 \tabularnewline
13 & 0.151393 & 1.3958 & 0.083209 \tabularnewline
14 & 0.062669 & 0.5778 & 0.282469 \tabularnewline
15 & 0.237415 & 2.1889 & 0.015675 \tabularnewline
16 & -0.043026 & -0.3967 & 0.346298 \tabularnewline
17 & 0.113438 & 1.0458 & 0.149299 \tabularnewline
18 & 0.283185 & 2.6108 & 0.005337 \tabularnewline
19 & -0.039348 & -0.3628 & 0.358839 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=28357&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.359538[/C][C]3.3148[/C][C]0.000675[/C][/ROW]
[ROW][C]2[/C][C]0.198261[/C][C]1.8279[/C][C]0.035538[/C][/ROW]
[ROW][C]3[/C][C]0.486407[/C][C]4.4845[/C][C]1.1e-05[/C][/ROW]
[ROW][C]4[/C][C]0.174528[/C][C]1.6091[/C][C]0.055655[/C][/ROW]
[ROW][C]5[/C][C]0.269103[/C][C]2.481[/C][C]0.007536[/C][/ROW]
[ROW][C]6[/C][C]0.533942[/C][C]4.9227[/C][C]2e-06[/C][/ROW]
[ROW][C]7[/C][C]0.165069[/C][C]1.5219[/C][C]0.065878[/C][/ROW]
[ROW][C]8[/C][C]0.161808[/C][C]1.4918[/C][C]0.069728[/C][/ROW]
[ROW][C]9[/C][C]0.3648[/C][C]3.3633[/C][C]0.000578[/C][/ROW]
[ROW][C]10[/C][C]0.02642[/C][C]0.2436[/C][C]0.404071[/C][/ROW]
[ROW][C]11[/C][C]0.223418[/C][C]2.0598[/C][C]0.021238[/C][/ROW]
[ROW][C]12[/C][C]0.604234[/C][C]5.5708[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.151393[/C][C]1.3958[/C][C]0.083209[/C][/ROW]
[ROW][C]14[/C][C]0.062669[/C][C]0.5778[/C][C]0.282469[/C][/ROW]
[ROW][C]15[/C][C]0.237415[/C][C]2.1889[/C][C]0.015675[/C][/ROW]
[ROW][C]16[/C][C]-0.043026[/C][C]-0.3967[/C][C]0.346298[/C][/ROW]
[ROW][C]17[/C][C]0.113438[/C][C]1.0458[/C][C]0.149299[/C][/ROW]
[ROW][C]18[/C][C]0.283185[/C][C]2.6108[/C][C]0.005337[/C][/ROW]
[ROW][C]19[/C][C]-0.039348[/C][C]-0.3628[/C][C]0.358839[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=28357&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=28357&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.3595383.31480.000675
20.1982611.82790.035538
30.4864074.48451.1e-05
40.1745281.60910.055655
50.2691032.4810.007536
60.5339424.92272e-06
70.1650691.52190.065878
80.1618081.49180.069728
90.36483.36330.000578
100.026420.24360.404071
110.2234182.05980.021238
120.6042345.57080
130.1513931.39580.083209
140.0626690.57780.282469
150.2374152.18890.015675
16-0.043026-0.39670.346298
170.1134381.04580.149299
180.2831852.61080.005337
19-0.039348-0.36280.358839







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3595383.31480.000675
20.0792360.73050.233541
30.4533694.17993.5e-05
4-0.171629-1.58230.058643
50.3090262.84910.002749
60.2471022.27820.012613
7-0.113711-1.04840.148721
80.0043310.03990.484121
90.0491010.45270.325962
10-0.191573-1.76620.040475
110.2245672.07040.020724
120.3991733.68020.000204
13-0.140109-1.29170.099975
14-0.234495-2.16190.016717
15-0.14282-1.31670.095734
16-0.078857-0.7270.234604
17-0.014838-0.13680.445758
18-0.069026-0.63640.263118
190.0391880.36130.359387

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.359538 & 3.3148 & 0.000675 \tabularnewline
2 & 0.079236 & 0.7305 & 0.233541 \tabularnewline
3 & 0.453369 & 4.1799 & 3.5e-05 \tabularnewline
4 & -0.171629 & -1.5823 & 0.058643 \tabularnewline
5 & 0.309026 & 2.8491 & 0.002749 \tabularnewline
6 & 0.247102 & 2.2782 & 0.012613 \tabularnewline
7 & -0.113711 & -1.0484 & 0.148721 \tabularnewline
8 & 0.004331 & 0.0399 & 0.484121 \tabularnewline
9 & 0.049101 & 0.4527 & 0.325962 \tabularnewline
10 & -0.191573 & -1.7662 & 0.040475 \tabularnewline
11 & 0.224567 & 2.0704 & 0.020724 \tabularnewline
12 & 0.399173 & 3.6802 & 0.000204 \tabularnewline
13 & -0.140109 & -1.2917 & 0.099975 \tabularnewline
14 & -0.234495 & -2.1619 & 0.016717 \tabularnewline
15 & -0.14282 & -1.3167 & 0.095734 \tabularnewline
16 & -0.078857 & -0.727 & 0.234604 \tabularnewline
17 & -0.014838 & -0.1368 & 0.445758 \tabularnewline
18 & -0.069026 & -0.6364 & 0.263118 \tabularnewline
19 & 0.039188 & 0.3613 & 0.359387 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=28357&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.359538[/C][C]3.3148[/C][C]0.000675[/C][/ROW]
[ROW][C]2[/C][C]0.079236[/C][C]0.7305[/C][C]0.233541[/C][/ROW]
[ROW][C]3[/C][C]0.453369[/C][C]4.1799[/C][C]3.5e-05[/C][/ROW]
[ROW][C]4[/C][C]-0.171629[/C][C]-1.5823[/C][C]0.058643[/C][/ROW]
[ROW][C]5[/C][C]0.309026[/C][C]2.8491[/C][C]0.002749[/C][/ROW]
[ROW][C]6[/C][C]0.247102[/C][C]2.2782[/C][C]0.012613[/C][/ROW]
[ROW][C]7[/C][C]-0.113711[/C][C]-1.0484[/C][C]0.148721[/C][/ROW]
[ROW][C]8[/C][C]0.004331[/C][C]0.0399[/C][C]0.484121[/C][/ROW]
[ROW][C]9[/C][C]0.049101[/C][C]0.4527[/C][C]0.325962[/C][/ROW]
[ROW][C]10[/C][C]-0.191573[/C][C]-1.7662[/C][C]0.040475[/C][/ROW]
[ROW][C]11[/C][C]0.224567[/C][C]2.0704[/C][C]0.020724[/C][/ROW]
[ROW][C]12[/C][C]0.399173[/C][C]3.6802[/C][C]0.000204[/C][/ROW]
[ROW][C]13[/C][C]-0.140109[/C][C]-1.2917[/C][C]0.099975[/C][/ROW]
[ROW][C]14[/C][C]-0.234495[/C][C]-2.1619[/C][C]0.016717[/C][/ROW]
[ROW][C]15[/C][C]-0.14282[/C][C]-1.3167[/C][C]0.095734[/C][/ROW]
[ROW][C]16[/C][C]-0.078857[/C][C]-0.727[/C][C]0.234604[/C][/ROW]
[ROW][C]17[/C][C]-0.014838[/C][C]-0.1368[/C][C]0.445758[/C][/ROW]
[ROW][C]18[/C][C]-0.069026[/C][C]-0.6364[/C][C]0.263118[/C][/ROW]
[ROW][C]19[/C][C]0.039188[/C][C]0.3613[/C][C]0.359387[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=28357&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=28357&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.3595383.31480.000675
20.0792360.73050.233541
30.4533694.17993.5e-05
4-0.171629-1.58230.058643
50.3090262.84910.002749
60.2471022.27820.012613
7-0.113711-1.04840.148721
80.0043310.03990.484121
90.0491010.45270.325962
10-0.191573-1.76620.040475
110.2245672.07040.020724
120.3991733.68020.000204
13-0.140109-1.29170.099975
14-0.234495-2.16190.016717
15-0.14282-1.31670.095734
16-0.078857-0.7270.234604
17-0.014838-0.13680.445758
18-0.069026-0.63640.263118
190.0391880.36130.359387



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