Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_autocorrelation.wasp
Title produced by software(Partial) Autocorrelation Function
Date of computationFri, 30 Nov 2007 11:02:10 -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/2007/Nov/30/t1196445141u42ip09wx2nwgc9.htm/, Retrieved Sun, 28 Apr 2024 17:05:15 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7754, Retrieved Sun, 28 Apr 2024 17:05:15 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsConsumptiegoederen
Estimated Impact173
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Workshop 8 Q1] [2007-11-30 18:02:10] [6dd0685065b0babfa744248f2bd1b94f] [Current]
Feedback Forum

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




Summary of compuational 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 compuational 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=7754&T=0

[TABLE]
[ROW][C]Summary of compuational 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=7754&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7754&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 compuational 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
018.94430
10.3887783.47730.000411
20.2325952.08040.020345
30.5039964.50791.1e-05
40.1851381.65590.050827
50.2880762.57660.005907
60.5461384.88483e-06
70.1885911.68680.047768
80.1757461.57190.059958
90.4088623.6570.000228
100.0875750.78330.217884
110.270662.42090.008874
120.6143465.49490
130.1572171.40620.08177
140.1388251.24170.10899
150.2759022.46770.007865
16-0.006471-0.05790.523004
170.1542161.37940.085815
180.2779232.48580.007504

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 8.9443 & 0 \tabularnewline
1 & 0.388778 & 3.4773 & 0.000411 \tabularnewline
2 & 0.232595 & 2.0804 & 0.020345 \tabularnewline
3 & 0.503996 & 4.5079 & 1.1e-05 \tabularnewline
4 & 0.185138 & 1.6559 & 0.050827 \tabularnewline
5 & 0.288076 & 2.5766 & 0.005907 \tabularnewline
6 & 0.546138 & 4.8848 & 3e-06 \tabularnewline
7 & 0.188591 & 1.6868 & 0.047768 \tabularnewline
8 & 0.175746 & 1.5719 & 0.059958 \tabularnewline
9 & 0.408862 & 3.657 & 0.000228 \tabularnewline
10 & 0.087575 & 0.7833 & 0.217884 \tabularnewline
11 & 0.27066 & 2.4209 & 0.008874 \tabularnewline
12 & 0.614346 & 5.4949 & 0 \tabularnewline
13 & 0.157217 & 1.4062 & 0.08177 \tabularnewline
14 & 0.138825 & 1.2417 & 0.10899 \tabularnewline
15 & 0.275902 & 2.4677 & 0.007865 \tabularnewline
16 & -0.006471 & -0.0579 & 0.523004 \tabularnewline
17 & 0.154216 & 1.3794 & 0.085815 \tabularnewline
18 & 0.277923 & 2.4858 & 0.007504 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7754&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]0[/C][C]1[/C][C]8.9443[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.388778[/C][C]3.4773[/C][C]0.000411[/C][/ROW]
[ROW][C]2[/C][C]0.232595[/C][C]2.0804[/C][C]0.020345[/C][/ROW]
[ROW][C]3[/C][C]0.503996[/C][C]4.5079[/C][C]1.1e-05[/C][/ROW]
[ROW][C]4[/C][C]0.185138[/C][C]1.6559[/C][C]0.050827[/C][/ROW]
[ROW][C]5[/C][C]0.288076[/C][C]2.5766[/C][C]0.005907[/C][/ROW]
[ROW][C]6[/C][C]0.546138[/C][C]4.8848[/C][C]3e-06[/C][/ROW]
[ROW][C]7[/C][C]0.188591[/C][C]1.6868[/C][C]0.047768[/C][/ROW]
[ROW][C]8[/C][C]0.175746[/C][C]1.5719[/C][C]0.059958[/C][/ROW]
[ROW][C]9[/C][C]0.408862[/C][C]3.657[/C][C]0.000228[/C][/ROW]
[ROW][C]10[/C][C]0.087575[/C][C]0.7833[/C][C]0.217884[/C][/ROW]
[ROW][C]11[/C][C]0.27066[/C][C]2.4209[/C][C]0.008874[/C][/ROW]
[ROW][C]12[/C][C]0.614346[/C][C]5.4949[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.157217[/C][C]1.4062[/C][C]0.08177[/C][/ROW]
[ROW][C]14[/C][C]0.138825[/C][C]1.2417[/C][C]0.10899[/C][/ROW]
[ROW][C]15[/C][C]0.275902[/C][C]2.4677[/C][C]0.007865[/C][/ROW]
[ROW][C]16[/C][C]-0.006471[/C][C]-0.0579[/C][C]0.523004[/C][/ROW]
[ROW][C]17[/C][C]0.154216[/C][C]1.3794[/C][C]0.085815[/C][/ROW]
[ROW][C]18[/C][C]0.277923[/C][C]2.4858[/C][C]0.007504[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7754&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7754&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
018.94430
10.3887783.47730.000411
20.2325952.08040.020345
30.5039964.50791.1e-05
40.1851381.65590.050827
50.2880762.57660.005907
60.5461384.88483e-06
70.1885911.68680.047768
80.1757461.57190.059958
90.4088623.6570.000228
100.0875750.78330.217884
110.270662.42090.008874
120.6143465.49490
130.1572171.40620.08177
140.1388251.24170.10899
150.2759022.46770.007865
16-0.006471-0.05790.523004
170.1542161.37940.085815
180.2779232.48580.007504







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3887783.47730.000411
10.0959490.85820.196674
20.45774.09385e-05
3-0.199615-1.78540.961008
40.3295012.94710.002101
50.2331982.08580.020093
6-0.103326-0.92420.820912
7-0.03042-0.27210.606872
80.1378081.23260.110669
9-0.171229-1.53150.935207
100.2781742.48810.007461
110.321292.87370.002597
12-0.186636-1.66930.950519
13-0.112266-1.00410.84083
14-0.180929-1.61830.94523
15-0.029889-0.26730.60505
16-0.066925-0.59860.724432
17-0.119425-1.06820.855672
18-2.3e-05-2e-040.500081

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.388778 & 3.4773 & 0.000411 \tabularnewline
1 & 0.095949 & 0.8582 & 0.196674 \tabularnewline
2 & 0.4577 & 4.0938 & 5e-05 \tabularnewline
3 & -0.199615 & -1.7854 & 0.961008 \tabularnewline
4 & 0.329501 & 2.9471 & 0.002101 \tabularnewline
5 & 0.233198 & 2.0858 & 0.020093 \tabularnewline
6 & -0.103326 & -0.9242 & 0.820912 \tabularnewline
7 & -0.03042 & -0.2721 & 0.606872 \tabularnewline
8 & 0.137808 & 1.2326 & 0.110669 \tabularnewline
9 & -0.171229 & -1.5315 & 0.935207 \tabularnewline
10 & 0.278174 & 2.4881 & 0.007461 \tabularnewline
11 & 0.32129 & 2.8737 & 0.002597 \tabularnewline
12 & -0.186636 & -1.6693 & 0.950519 \tabularnewline
13 & -0.112266 & -1.0041 & 0.84083 \tabularnewline
14 & -0.180929 & -1.6183 & 0.94523 \tabularnewline
15 & -0.029889 & -0.2673 & 0.60505 \tabularnewline
16 & -0.066925 & -0.5986 & 0.724432 \tabularnewline
17 & -0.119425 & -1.0682 & 0.855672 \tabularnewline
18 & -2.3e-05 & -2e-04 & 0.500081 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7754&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]0[/C][C]0.388778[/C][C]3.4773[/C][C]0.000411[/C][/ROW]
[ROW][C]1[/C][C]0.095949[/C][C]0.8582[/C][C]0.196674[/C][/ROW]
[ROW][C]2[/C][C]0.4577[/C][C]4.0938[/C][C]5e-05[/C][/ROW]
[ROW][C]3[/C][C]-0.199615[/C][C]-1.7854[/C][C]0.961008[/C][/ROW]
[ROW][C]4[/C][C]0.329501[/C][C]2.9471[/C][C]0.002101[/C][/ROW]
[ROW][C]5[/C][C]0.233198[/C][C]2.0858[/C][C]0.020093[/C][/ROW]
[ROW][C]6[/C][C]-0.103326[/C][C]-0.9242[/C][C]0.820912[/C][/ROW]
[ROW][C]7[/C][C]-0.03042[/C][C]-0.2721[/C][C]0.606872[/C][/ROW]
[ROW][C]8[/C][C]0.137808[/C][C]1.2326[/C][C]0.110669[/C][/ROW]
[ROW][C]9[/C][C]-0.171229[/C][C]-1.5315[/C][C]0.935207[/C][/ROW]
[ROW][C]10[/C][C]0.278174[/C][C]2.4881[/C][C]0.007461[/C][/ROW]
[ROW][C]11[/C][C]0.32129[/C][C]2.8737[/C][C]0.002597[/C][/ROW]
[ROW][C]12[/C][C]-0.186636[/C][C]-1.6693[/C][C]0.950519[/C][/ROW]
[ROW][C]13[/C][C]-0.112266[/C][C]-1.0041[/C][C]0.84083[/C][/ROW]
[ROW][C]14[/C][C]-0.180929[/C][C]-1.6183[/C][C]0.94523[/C][/ROW]
[ROW][C]15[/C][C]-0.029889[/C][C]-0.2673[/C][C]0.60505[/C][/ROW]
[ROW][C]16[/C][C]-0.066925[/C][C]-0.5986[/C][C]0.724432[/C][/ROW]
[ROW][C]17[/C][C]-0.119425[/C][C]-1.0682[/C][C]0.855672[/C][/ROW]
[ROW][C]18[/C][C]-2.3e-05[/C][C]-2e-04[/C][C]0.500081[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7754&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7754&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
00.3887783.47730.000411
10.0959490.85820.196674
20.45774.09385e-05
3-0.199615-1.78540.961008
40.3295012.94710.002101
50.2331982.08580.020093
6-0.103326-0.92420.820912
7-0.03042-0.27210.606872
80.1378081.23260.110669
9-0.171229-1.53150.935207
100.2781742.48810.007461
110.321292.87370.002597
12-0.186636-1.66930.950519
13-0.112266-1.00410.84083
14-0.180929-1.61830.94523
15-0.029889-0.26730.60505
16-0.066925-0.59860.724432
17-0.119425-1.06820.855672
18-2.3e-05-2e-040.500081



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 1:par1) {
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(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-1,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(mytstat,lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')