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 04:25:15 -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/t1196421268xfu4jq0j71a7tat.htm/, Retrieved Sun, 28 Apr 2024 00:24:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7648, Retrieved Sun, 28 Apr 2024 00:24:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWorkshop 8, question 1, autocorrelation function, totale consumptiegoederen
Estimated Impact202
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Workshop 8, quest...] [2007-11-30 11:25:15] [181c187d2008ac66a37ecc12859b08c5] [Current]
Feedback Forum

Post a new message
Dataseries X:
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
126,3
112,9
115,9




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=7648&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=7648&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7648&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
016.92820
10.0934380.64740.260243
20.0222060.15380.439188
30.2321541.60840.057152
4-0.066386-0.45990.67618
50.0153080.10610.457991
60.1639791.13610.130782
7-0.146226-1.01310.84195
80.0176610.12240.451563
90.2015731.39650.084489
10-0.168936-1.17040.876195
11-0.088285-0.61170.728175
12-0.154023-1.06710.854369
13-0.111887-0.77520.77898
140.1100640.76250.224733
15-0.107331-0.74360.769632
16-0.108046-0.74860.771114

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 6.9282 & 0 \tabularnewline
1 & 0.093438 & 0.6474 & 0.260243 \tabularnewline
2 & 0.022206 & 0.1538 & 0.439188 \tabularnewline
3 & 0.232154 & 1.6084 & 0.057152 \tabularnewline
4 & -0.066386 & -0.4599 & 0.67618 \tabularnewline
5 & 0.015308 & 0.1061 & 0.457991 \tabularnewline
6 & 0.163979 & 1.1361 & 0.130782 \tabularnewline
7 & -0.146226 & -1.0131 & 0.84195 \tabularnewline
8 & 0.017661 & 0.1224 & 0.451563 \tabularnewline
9 & 0.201573 & 1.3965 & 0.084489 \tabularnewline
10 & -0.168936 & -1.1704 & 0.876195 \tabularnewline
11 & -0.088285 & -0.6117 & 0.728175 \tabularnewline
12 & -0.154023 & -1.0671 & 0.854369 \tabularnewline
13 & -0.111887 & -0.7752 & 0.77898 \tabularnewline
14 & 0.110064 & 0.7625 & 0.224733 \tabularnewline
15 & -0.107331 & -0.7436 & 0.769632 \tabularnewline
16 & -0.108046 & -0.7486 & 0.771114 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7648&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]6.9282[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.093438[/C][C]0.6474[/C][C]0.260243[/C][/ROW]
[ROW][C]2[/C][C]0.022206[/C][C]0.1538[/C][C]0.439188[/C][/ROW]
[ROW][C]3[/C][C]0.232154[/C][C]1.6084[/C][C]0.057152[/C][/ROW]
[ROW][C]4[/C][C]-0.066386[/C][C]-0.4599[/C][C]0.67618[/C][/ROW]
[ROW][C]5[/C][C]0.015308[/C][C]0.1061[/C][C]0.457991[/C][/ROW]
[ROW][C]6[/C][C]0.163979[/C][C]1.1361[/C][C]0.130782[/C][/ROW]
[ROW][C]7[/C][C]-0.146226[/C][C]-1.0131[/C][C]0.84195[/C][/ROW]
[ROW][C]8[/C][C]0.017661[/C][C]0.1224[/C][C]0.451563[/C][/ROW]
[ROW][C]9[/C][C]0.201573[/C][C]1.3965[/C][C]0.084489[/C][/ROW]
[ROW][C]10[/C][C]-0.168936[/C][C]-1.1704[/C][C]0.876195[/C][/ROW]
[ROW][C]11[/C][C]-0.088285[/C][C]-0.6117[/C][C]0.728175[/C][/ROW]
[ROW][C]12[/C][C]-0.154023[/C][C]-1.0671[/C][C]0.854369[/C][/ROW]
[ROW][C]13[/C][C]-0.111887[/C][C]-0.7752[/C][C]0.77898[/C][/ROW]
[ROW][C]14[/C][C]0.110064[/C][C]0.7625[/C][C]0.224733[/C][/ROW]
[ROW][C]15[/C][C]-0.107331[/C][C]-0.7436[/C][C]0.769632[/C][/ROW]
[ROW][C]16[/C][C]-0.108046[/C][C]-0.7486[/C][C]0.771114[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7648&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7648&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
016.92820
10.0934380.64740.260243
20.0222060.15380.439188
30.2321541.60840.057152
4-0.066386-0.45990.67618
50.0153080.10610.457991
60.1639791.13610.130782
7-0.146226-1.01310.84195
80.0176610.12240.451563
90.2015731.39650.084489
10-0.168936-1.17040.876195
11-0.088285-0.61170.728175
12-0.154023-1.06710.854369
13-0.111887-0.77520.77898
140.1100640.76250.224733
15-0.107331-0.74360.769632
16-0.108046-0.74860.771114







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.0934380.64740.260243
10.0135940.09420.462679
20.2308961.59970.058115
3-0.115596-0.80090.786424
40.0328680.22770.410418
50.1130910.78350.218587
6-0.147513-1.0220.844049
70.0390160.27030.39404
80.1544831.07030.14492
9-0.148964-1.03210.84639
10-0.103445-0.71670.761481
11-0.235508-1.63170.945351
120.0722960.50090.309373
130.136040.94250.175325
14-0.14434-10.838842
15-0.010442-0.07230.528685
160.113430.78590.217905

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.093438 & 0.6474 & 0.260243 \tabularnewline
1 & 0.013594 & 0.0942 & 0.462679 \tabularnewline
2 & 0.230896 & 1.5997 & 0.058115 \tabularnewline
3 & -0.115596 & -0.8009 & 0.786424 \tabularnewline
4 & 0.032868 & 0.2277 & 0.410418 \tabularnewline
5 & 0.113091 & 0.7835 & 0.218587 \tabularnewline
6 & -0.147513 & -1.022 & 0.844049 \tabularnewline
7 & 0.039016 & 0.2703 & 0.39404 \tabularnewline
8 & 0.154483 & 1.0703 & 0.14492 \tabularnewline
9 & -0.148964 & -1.0321 & 0.84639 \tabularnewline
10 & -0.103445 & -0.7167 & 0.761481 \tabularnewline
11 & -0.235508 & -1.6317 & 0.945351 \tabularnewline
12 & 0.072296 & 0.5009 & 0.309373 \tabularnewline
13 & 0.13604 & 0.9425 & 0.175325 \tabularnewline
14 & -0.14434 & -1 & 0.838842 \tabularnewline
15 & -0.010442 & -0.0723 & 0.528685 \tabularnewline
16 & 0.11343 & 0.7859 & 0.217905 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7648&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.093438[/C][C]0.6474[/C][C]0.260243[/C][/ROW]
[ROW][C]1[/C][C]0.013594[/C][C]0.0942[/C][C]0.462679[/C][/ROW]
[ROW][C]2[/C][C]0.230896[/C][C]1.5997[/C][C]0.058115[/C][/ROW]
[ROW][C]3[/C][C]-0.115596[/C][C]-0.8009[/C][C]0.786424[/C][/ROW]
[ROW][C]4[/C][C]0.032868[/C][C]0.2277[/C][C]0.410418[/C][/ROW]
[ROW][C]5[/C][C]0.113091[/C][C]0.7835[/C][C]0.218587[/C][/ROW]
[ROW][C]6[/C][C]-0.147513[/C][C]-1.022[/C][C]0.844049[/C][/ROW]
[ROW][C]7[/C][C]0.039016[/C][C]0.2703[/C][C]0.39404[/C][/ROW]
[ROW][C]8[/C][C]0.154483[/C][C]1.0703[/C][C]0.14492[/C][/ROW]
[ROW][C]9[/C][C]-0.148964[/C][C]-1.0321[/C][C]0.84639[/C][/ROW]
[ROW][C]10[/C][C]-0.103445[/C][C]-0.7167[/C][C]0.761481[/C][/ROW]
[ROW][C]11[/C][C]-0.235508[/C][C]-1.6317[/C][C]0.945351[/C][/ROW]
[ROW][C]12[/C][C]0.072296[/C][C]0.5009[/C][C]0.309373[/C][/ROW]
[ROW][C]13[/C][C]0.13604[/C][C]0.9425[/C][C]0.175325[/C][/ROW]
[ROW][C]14[/C][C]-0.14434[/C][C]-1[/C][C]0.838842[/C][/ROW]
[ROW][C]15[/C][C]-0.010442[/C][C]-0.0723[/C][C]0.528685[/C][/ROW]
[ROW][C]16[/C][C]0.11343[/C][C]0.7859[/C][C]0.217905[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7648&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7648&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.0934380.64740.260243
10.0135940.09420.462679
20.2308961.59970.058115
3-0.115596-0.80090.786424
40.0328680.22770.410418
50.1130910.78350.218587
6-0.147513-1.0220.844049
70.0390160.27030.39404
80.1544831.07030.14492
9-0.148964-1.03210.84639
10-0.103445-0.71670.761481
11-0.235508-1.63170.945351
120.0722960.50090.309373
130.136040.94250.175325
14-0.14434-10.838842
15-0.010442-0.07230.528685
160.113430.78590.217905



Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = 3 ; par7 = 1 ; par8 = 2 ; par9 = 1 ;
Parameters (R input):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 1 ; 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')