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, 07 Dec 2007 03:51:16 -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/Dec/07/t1197023899xdy4oxgop5mx58i.htm/, Retrieved Mon, 29 Apr 2024 04:23:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2738, Retrieved Mon, 29 Apr 2024 04:23:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact231
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Autocorrelatie zo...] [2007-12-07 10:51:16] [ca5e0f9f346e091f4d0fe7e17f7dba21] [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 time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2738&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2738&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2738&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 time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.7460
10.1153930.89380.187492
2-0.026373-0.20430.580587
30.3913573.03140.001795
4-0.172647-1.33730.906917
50.0190510.14760.441589
60.4553893.52740.000406
7-0.125086-0.96890.831761
8-0.078518-0.60820.727325
90.2941852.27870.013128
10-0.259516-2.01020.975544
110.0164040.12710.449657
120.5213054.0387.8e-05
13-0.088349-0.68430.751805
140.0154650.11980.452523
150.1919611.48690.071136
16-0.253064-1.96020.972691

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 7.746 & 0 \tabularnewline
1 & 0.115393 & 0.8938 & 0.187492 \tabularnewline
2 & -0.026373 & -0.2043 & 0.580587 \tabularnewline
3 & 0.391357 & 3.0314 & 0.001795 \tabularnewline
4 & -0.172647 & -1.3373 & 0.906917 \tabularnewline
5 & 0.019051 & 0.1476 & 0.441589 \tabularnewline
6 & 0.455389 & 3.5274 & 0.000406 \tabularnewline
7 & -0.125086 & -0.9689 & 0.831761 \tabularnewline
8 & -0.078518 & -0.6082 & 0.727325 \tabularnewline
9 & 0.294185 & 2.2787 & 0.013128 \tabularnewline
10 & -0.259516 & -2.0102 & 0.975544 \tabularnewline
11 & 0.016404 & 0.1271 & 0.449657 \tabularnewline
12 & 0.521305 & 4.038 & 7.8e-05 \tabularnewline
13 & -0.088349 & -0.6843 & 0.751805 \tabularnewline
14 & 0.015465 & 0.1198 & 0.452523 \tabularnewline
15 & 0.191961 & 1.4869 & 0.071136 \tabularnewline
16 & -0.253064 & -1.9602 & 0.972691 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2738&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]7.746[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.115393[/C][C]0.8938[/C][C]0.187492[/C][/ROW]
[ROW][C]2[/C][C]-0.026373[/C][C]-0.2043[/C][C]0.580587[/C][/ROW]
[ROW][C]3[/C][C]0.391357[/C][C]3.0314[/C][C]0.001795[/C][/ROW]
[ROW][C]4[/C][C]-0.172647[/C][C]-1.3373[/C][C]0.906917[/C][/ROW]
[ROW][C]5[/C][C]0.019051[/C][C]0.1476[/C][C]0.441589[/C][/ROW]
[ROW][C]6[/C][C]0.455389[/C][C]3.5274[/C][C]0.000406[/C][/ROW]
[ROW][C]7[/C][C]-0.125086[/C][C]-0.9689[/C][C]0.831761[/C][/ROW]
[ROW][C]8[/C][C]-0.078518[/C][C]-0.6082[/C][C]0.727325[/C][/ROW]
[ROW][C]9[/C][C]0.294185[/C][C]2.2787[/C][C]0.013128[/C][/ROW]
[ROW][C]10[/C][C]-0.259516[/C][C]-2.0102[/C][C]0.975544[/C][/ROW]
[ROW][C]11[/C][C]0.016404[/C][C]0.1271[/C][C]0.449657[/C][/ROW]
[ROW][C]12[/C][C]0.521305[/C][C]4.038[/C][C]7.8e-05[/C][/ROW]
[ROW][C]13[/C][C]-0.088349[/C][C]-0.6843[/C][C]0.751805[/C][/ROW]
[ROW][C]14[/C][C]0.015465[/C][C]0.1198[/C][C]0.452523[/C][/ROW]
[ROW][C]15[/C][C]0.191961[/C][C]1.4869[/C][C]0.071136[/C][/ROW]
[ROW][C]16[/C][C]-0.253064[/C][C]-1.9602[/C][C]0.972691[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2738&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2738&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
017.7460
10.1153930.89380.187492
2-0.026373-0.20430.580587
30.3913573.03140.001795
4-0.172647-1.33730.906917
50.0190510.14760.441589
60.4553893.52740.000406
7-0.125086-0.96890.831761
8-0.078518-0.60820.727325
90.2941852.27870.013128
10-0.259516-2.01020.975544
110.0164040.12710.449657
120.5213054.0387.8e-05
13-0.088349-0.68430.751805
140.0154650.11980.452523
150.1919611.48690.071136
16-0.253064-1.96020.972691







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.1153930.89380.187492
1-0.040224-0.31160.621777
20.4052073.13870.001316
3-0.33413-2.58820.993957
40.2225861.72410.044916
50.2706882.09670.02012
6-0.139127-1.07770.857254
7-0.111696-0.86520.804811
80.147751.14450.128488
9-0.18648-1.44450.923095
100.1496871.15950.125429
110.3366542.60770.005743
12-0.03478-0.26940.60573
13-0.088715-0.68720.752692
14-0.154591-1.19750.882082
150.107620.83360.2039
16-0.095163-0.73710.768042

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.115393 & 0.8938 & 0.187492 \tabularnewline
1 & -0.040224 & -0.3116 & 0.621777 \tabularnewline
2 & 0.405207 & 3.1387 & 0.001316 \tabularnewline
3 & -0.33413 & -2.5882 & 0.993957 \tabularnewline
4 & 0.222586 & 1.7241 & 0.044916 \tabularnewline
5 & 0.270688 & 2.0967 & 0.02012 \tabularnewline
6 & -0.139127 & -1.0777 & 0.857254 \tabularnewline
7 & -0.111696 & -0.8652 & 0.804811 \tabularnewline
8 & 0.14775 & 1.1445 & 0.128488 \tabularnewline
9 & -0.18648 & -1.4445 & 0.923095 \tabularnewline
10 & 0.149687 & 1.1595 & 0.125429 \tabularnewline
11 & 0.336654 & 2.6077 & 0.005743 \tabularnewline
12 & -0.03478 & -0.2694 & 0.60573 \tabularnewline
13 & -0.088715 & -0.6872 & 0.752692 \tabularnewline
14 & -0.154591 & -1.1975 & 0.882082 \tabularnewline
15 & 0.10762 & 0.8336 & 0.2039 \tabularnewline
16 & -0.095163 & -0.7371 & 0.768042 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2738&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.115393[/C][C]0.8938[/C][C]0.187492[/C][/ROW]
[ROW][C]1[/C][C]-0.040224[/C][C]-0.3116[/C][C]0.621777[/C][/ROW]
[ROW][C]2[/C][C]0.405207[/C][C]3.1387[/C][C]0.001316[/C][/ROW]
[ROW][C]3[/C][C]-0.33413[/C][C]-2.5882[/C][C]0.993957[/C][/ROW]
[ROW][C]4[/C][C]0.222586[/C][C]1.7241[/C][C]0.044916[/C][/ROW]
[ROW][C]5[/C][C]0.270688[/C][C]2.0967[/C][C]0.02012[/C][/ROW]
[ROW][C]6[/C][C]-0.139127[/C][C]-1.0777[/C][C]0.857254[/C][/ROW]
[ROW][C]7[/C][C]-0.111696[/C][C]-0.8652[/C][C]0.804811[/C][/ROW]
[ROW][C]8[/C][C]0.14775[/C][C]1.1445[/C][C]0.128488[/C][/ROW]
[ROW][C]9[/C][C]-0.18648[/C][C]-1.4445[/C][C]0.923095[/C][/ROW]
[ROW][C]10[/C][C]0.149687[/C][C]1.1595[/C][C]0.125429[/C][/ROW]
[ROW][C]11[/C][C]0.336654[/C][C]2.6077[/C][C]0.005743[/C][/ROW]
[ROW][C]12[/C][C]-0.03478[/C][C]-0.2694[/C][C]0.60573[/C][/ROW]
[ROW][C]13[/C][C]-0.088715[/C][C]-0.6872[/C][C]0.752692[/C][/ROW]
[ROW][C]14[/C][C]-0.154591[/C][C]-1.1975[/C][C]0.882082[/C][/ROW]
[ROW][C]15[/C][C]0.10762[/C][C]0.8336[/C][C]0.2039[/C][/ROW]
[ROW][C]16[/C][C]-0.095163[/C][C]-0.7371[/C][C]0.768042[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2738&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2738&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.1153930.89380.187492
1-0.040224-0.31160.621777
20.4052073.13870.001316
3-0.33413-2.58820.993957
40.2225861.72410.044916
50.2706882.09670.02012
6-0.139127-1.07770.857254
7-0.111696-0.86520.804811
80.147751.14450.128488
9-0.18648-1.44450.923095
100.1496871.15950.125429
110.3366542.60770.005743
12-0.03478-0.26940.60573
13-0.088715-0.68720.752692
14-0.154591-1.19750.882082
150.107620.83360.2039
16-0.095163-0.73710.768042



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