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 computationSun, 20 Dec 2009 02:46:37 -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/2009/Dec/20/t1261302547dvk4xt4z66hq596.htm/, Retrieved Sat, 27 Apr 2024 06:13:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69803, Retrieved Sat, 27 Apr 2024 06:13:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact146
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Paper: Differenti...] [2009-12-20 09:46:37] [762da55b2e2304daaed24a7cc507d14d] [Current]
Feedback Forum

Post a new message
Dataseries X:
90.2
90
88.8
85.8
84.2
80
77.8
76.8
86.4
89.2
86.2
84.6
83.2
83.2
82.6
79.8
77.2
74.8
73
73
83.6
85.6
84.8
84.2
83.4
84.6
84.6
83.8
81.2
79.6
78
78.2
88.8
92
91
91.2
90.4
91.8
92.2
90.2
88.6
87.8
86
87.2
97.6
101.2
100.4
100.2
100.2
103
104.2
104
102.4
101.8
101
102.2
114
118.4
118.8
117.2
117.2
118.4
118.8
117.2
114.4
112.6
111
110.8
120.2
124.4
123.4
121.2
119
119.8
120
118.4
115
113.4
111
111
121.6
126.2
125.8
124.8
122
123.2
124.2
120.8
116.8
114.8
111
109
119.8
124
121.6
118
115.8
116
115.8
114.4
112
110.2
107.4
108.2
117.6
121.4
119.8
115.6
112.6
113.2
112.2
110.8
108
105.2
102.4
101
110.8
116.8
113.8
108
104.4
105.2
105.4
103.2
100.6
97.8
95.8
95
104.8
110.4
106.4
102.2
98.4
98.4
98.6
96.2
92.4
91.4
88.4
87.8
97.6
104.2
100.2
97
92.8
92
93.4
92
89.6
88.6
87.2
86.2
96.8
102
102.6
100.6
94.2
94.2
95.2
95
94
92.2
91
91.2
103.4
105
104.6
103.8
101.8
102.4
103.8
103.4
102
101.8
100.2
101.4
113.8
116
115.6
113
109.4
111
112.4
112.2
111
108.8
107.4
108.6
118.8
122.2
122.6
122.2
118.8
119
118.2
117.8
116.8
114.6
113.4
113.8
124.2
125.8
125.6
122.4
119
119.4
118.6
118
116
114.8
114.6
114.6
124
125.2
124
117.6
113.2
111.4
112.2
109.8
106.4
105.2
102.2
99.8
111
113
108.4
105.4
102
102.8
103.4
101.6
98.6
98
93.8
95.6
105.6
106.8
103.6
101.2
100.4
103.2
105.6
106.6
107.2
107.4
104.8
107.2
117.4
119.4
116.2
112.8
111.6




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69803&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.95506915.19130
20.88309314.04640
30.82865313.18050
40.79903812.70950
50.78935312.55540
60.77684312.35640
70.75099811.94540
80.72117911.47110
90.71405111.35770
100.73286311.65690
110.76945612.2390
120.77998412.40640
130.71524711.37670
140.6263249.96230
150.5544468.8190
160.5085688.08930
170.4837137.69390
180.4580347.28550
190.4211056.69810
200.3811776.0630
210.364015.78990
220.3712965.90580
230.3956916.29390
240.3947866.27950

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.955069 & 15.1913 & 0 \tabularnewline
2 & 0.883093 & 14.0464 & 0 \tabularnewline
3 & 0.828653 & 13.1805 & 0 \tabularnewline
4 & 0.799038 & 12.7095 & 0 \tabularnewline
5 & 0.789353 & 12.5554 & 0 \tabularnewline
6 & 0.776843 & 12.3564 & 0 \tabularnewline
7 & 0.750998 & 11.9454 & 0 \tabularnewline
8 & 0.721179 & 11.4711 & 0 \tabularnewline
9 & 0.714051 & 11.3577 & 0 \tabularnewline
10 & 0.732863 & 11.6569 & 0 \tabularnewline
11 & 0.769456 & 12.239 & 0 \tabularnewline
12 & 0.779984 & 12.4064 & 0 \tabularnewline
13 & 0.715247 & 11.3767 & 0 \tabularnewline
14 & 0.626324 & 9.9623 & 0 \tabularnewline
15 & 0.554446 & 8.819 & 0 \tabularnewline
16 & 0.508568 & 8.0893 & 0 \tabularnewline
17 & 0.483713 & 7.6939 & 0 \tabularnewline
18 & 0.458034 & 7.2855 & 0 \tabularnewline
19 & 0.421105 & 6.6981 & 0 \tabularnewline
20 & 0.381177 & 6.063 & 0 \tabularnewline
21 & 0.36401 & 5.7899 & 0 \tabularnewline
22 & 0.371296 & 5.9058 & 0 \tabularnewline
23 & 0.395691 & 6.2939 & 0 \tabularnewline
24 & 0.394786 & 6.2795 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69803&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.955069[/C][C]15.1913[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.883093[/C][C]14.0464[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.828653[/C][C]13.1805[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.799038[/C][C]12.7095[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.789353[/C][C]12.5554[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.776843[/C][C]12.3564[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.750998[/C][C]11.9454[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.721179[/C][C]11.4711[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.714051[/C][C]11.3577[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.732863[/C][C]11.6569[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.769456[/C][C]12.239[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.779984[/C][C]12.4064[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.715247[/C][C]11.3767[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.626324[/C][C]9.9623[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.554446[/C][C]8.819[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.508568[/C][C]8.0893[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.483713[/C][C]7.6939[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.458034[/C][C]7.2855[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.421105[/C][C]6.6981[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.381177[/C][C]6.063[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.36401[/C][C]5.7899[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0.371296[/C][C]5.9058[/C][C]0[/C][/ROW]
[ROW][C]23[/C][C]0.395691[/C][C]6.2939[/C][C]0[/C][/ROW]
[ROW][C]24[/C][C]0.394786[/C][C]6.2795[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69803&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69803&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.95506915.19130
20.88309314.04640
30.82865313.18050
40.79903812.70950
50.78935312.55540
60.77684312.35640
70.75099811.94540
80.72117911.47110
90.71405111.35770
100.73286311.65690
110.76945612.2390
120.77998412.40640
130.71524711.37670
140.6263249.96230
150.5544468.8190
160.5085688.08930
170.4837137.69390
180.4580347.28550
190.4211056.69810
200.3811776.0630
210.364015.78990
220.3712965.90580
230.3956916.29390
240.3947866.27950







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.95506915.19130
2-0.33087-5.26280
30.2835594.51035e-06
40.1066521.69640.04552
50.1539042.4480.007523
6-0.088825-1.41290.079464
7-0.012946-0.20590.418508
80.0437150.69530.243744
90.2841454.51965e-06
100.1230371.9570.025722
110.2438953.87946.7e-05
12-0.33436-5.31830
13-0.73717-11.72540
140.0467030.74290.229128
15-0.029508-0.46940.319608
160.0525710.83620.201916
170.1000731.59180.056345
180.0044710.07110.471678
190.089161.41820.078685
200.0025710.04090.483705
21-0.052491-0.83490.202276
22-0.099522-1.5830.057336
23-0.008028-0.12770.449247
24-0.060743-0.96620.167439

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.955069 & 15.1913 & 0 \tabularnewline
2 & -0.33087 & -5.2628 & 0 \tabularnewline
3 & 0.283559 & 4.5103 & 5e-06 \tabularnewline
4 & 0.106652 & 1.6964 & 0.04552 \tabularnewline
5 & 0.153904 & 2.448 & 0.007523 \tabularnewline
6 & -0.088825 & -1.4129 & 0.079464 \tabularnewline
7 & -0.012946 & -0.2059 & 0.418508 \tabularnewline
8 & 0.043715 & 0.6953 & 0.243744 \tabularnewline
9 & 0.284145 & 4.5196 & 5e-06 \tabularnewline
10 & 0.123037 & 1.957 & 0.025722 \tabularnewline
11 & 0.243895 & 3.8794 & 6.7e-05 \tabularnewline
12 & -0.33436 & -5.3183 & 0 \tabularnewline
13 & -0.73717 & -11.7254 & 0 \tabularnewline
14 & 0.046703 & 0.7429 & 0.229128 \tabularnewline
15 & -0.029508 & -0.4694 & 0.319608 \tabularnewline
16 & 0.052571 & 0.8362 & 0.201916 \tabularnewline
17 & 0.100073 & 1.5918 & 0.056345 \tabularnewline
18 & 0.004471 & 0.0711 & 0.471678 \tabularnewline
19 & 0.08916 & 1.4182 & 0.078685 \tabularnewline
20 & 0.002571 & 0.0409 & 0.483705 \tabularnewline
21 & -0.052491 & -0.8349 & 0.202276 \tabularnewline
22 & -0.099522 & -1.583 & 0.057336 \tabularnewline
23 & -0.008028 & -0.1277 & 0.449247 \tabularnewline
24 & -0.060743 & -0.9662 & 0.167439 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69803&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.955069[/C][C]15.1913[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.33087[/C][C]-5.2628[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.283559[/C][C]4.5103[/C][C]5e-06[/C][/ROW]
[ROW][C]4[/C][C]0.106652[/C][C]1.6964[/C][C]0.04552[/C][/ROW]
[ROW][C]5[/C][C]0.153904[/C][C]2.448[/C][C]0.007523[/C][/ROW]
[ROW][C]6[/C][C]-0.088825[/C][C]-1.4129[/C][C]0.079464[/C][/ROW]
[ROW][C]7[/C][C]-0.012946[/C][C]-0.2059[/C][C]0.418508[/C][/ROW]
[ROW][C]8[/C][C]0.043715[/C][C]0.6953[/C][C]0.243744[/C][/ROW]
[ROW][C]9[/C][C]0.284145[/C][C]4.5196[/C][C]5e-06[/C][/ROW]
[ROW][C]10[/C][C]0.123037[/C][C]1.957[/C][C]0.025722[/C][/ROW]
[ROW][C]11[/C][C]0.243895[/C][C]3.8794[/C][C]6.7e-05[/C][/ROW]
[ROW][C]12[/C][C]-0.33436[/C][C]-5.3183[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.73717[/C][C]-11.7254[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.046703[/C][C]0.7429[/C][C]0.229128[/C][/ROW]
[ROW][C]15[/C][C]-0.029508[/C][C]-0.4694[/C][C]0.319608[/C][/ROW]
[ROW][C]16[/C][C]0.052571[/C][C]0.8362[/C][C]0.201916[/C][/ROW]
[ROW][C]17[/C][C]0.100073[/C][C]1.5918[/C][C]0.056345[/C][/ROW]
[ROW][C]18[/C][C]0.004471[/C][C]0.0711[/C][C]0.471678[/C][/ROW]
[ROW][C]19[/C][C]0.08916[/C][C]1.4182[/C][C]0.078685[/C][/ROW]
[ROW][C]20[/C][C]0.002571[/C][C]0.0409[/C][C]0.483705[/C][/ROW]
[ROW][C]21[/C][C]-0.052491[/C][C]-0.8349[/C][C]0.202276[/C][/ROW]
[ROW][C]22[/C][C]-0.099522[/C][C]-1.583[/C][C]0.057336[/C][/ROW]
[ROW][C]23[/C][C]-0.008028[/C][C]-0.1277[/C][C]0.449247[/C][/ROW]
[ROW][C]24[/C][C]-0.060743[/C][C]-0.9662[/C][C]0.167439[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69803&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69803&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.95506915.19130
2-0.33087-5.26280
30.2835594.51035e-06
40.1066521.69640.04552
50.1539042.4480.007523
6-0.088825-1.41290.079464
7-0.012946-0.20590.418508
80.0437150.69530.243744
90.2841454.51965e-06
100.1230371.9570.025722
110.2438953.87946.7e-05
12-0.33436-5.31830
13-0.73717-11.72540
140.0467030.74290.229128
15-0.029508-0.46940.319608
160.0525710.83620.201916
170.1000731.59180.056345
180.0044710.07110.471678
190.089161.41820.078685
200.0025710.04090.483705
21-0.052491-0.83490.202276
22-0.099522-1.5830.057336
23-0.008028-0.12770.449247
24-0.060743-0.96620.167439



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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')