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 computationThu, 26 Nov 2009 08:32:12 -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/Nov/26/t1259249789fl5oyrxahfdjzgk.htm/, Retrieved Mon, 29 Apr 2024 03:41:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=60105, Retrieved Mon, 29 Apr 2024 03:41:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact116
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Explorative Data Analysis] [Run Sequence gebo...] [2008-12-12 13:32:37] [76963dc1903f0f612b6153510a3818cf]
- R  D  [Univariate Explorative Data Analysis] [Run Sequence gebo...] [2008-12-17 12:14:40] [76963dc1903f0f612b6153510a3818cf]
-         [Univariate Explorative Data Analysis] [Run Sequence Plot...] [2008-12-22 18:19:51] [1ce0d16c8f4225c977b42c8fa93bc163]
- RMP       [(Partial) Autocorrelation Function] [Identifying Integ...] [2009-11-22 12:26:39] [b98453cac15ba1066b407e146608df68]
-   PD          [(Partial) Autocorrelation Function] [] [2009-11-26 15:32:12] [bcaf453a09027aa0f995cb78bdc3c98a] [Current]
Feedback Forum

Post a new message
Dataseries X:
9.3
8.7
8.2
8.3
8.5
8.6
8.5
8.2
8.1
7.9
8.6
8.7
8.7
8.5
8.4
8.5
8.7
8.7
8.6
8.5
8.3
8
8.2
8.1
8.1
8
7.9
7.9
8
8
7.9
8
7.7
7.2
7.5
7.3
7
7
7
7.2
7.3
7.1
6.8
6.4
6.1
6.5
7.7
7.9
7.5
6.9
6.6
6.9
7.7
8
8
7.7
7.3
7.4
8.1
8.3
8.2




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60105&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.5303713.67453e-04
2-0.111972-0.77580.220846
3-0.496614-3.44060.000605
4-0.508889-3.52570.00047
5-0.147278-1.02040.156334
60.2347981.62670.055171
70.4293442.97460.002291
80.3167432.19450.016537
9-0.02623-0.18170.428281
10-0.203833-1.41220.082172
11-0.27772-1.92410.030141
12-0.249978-1.73190.044857
13-0.047828-0.33140.370906
140.1607521.11370.135472
150.1880591.30290.09941
160.0401770.27840.390969
17-0.072598-0.5030.30864
18-0.094346-0.65360.258229
19-0.104927-0.7270.235392
200.0162760.11280.455345
210.1192730.82630.206348
220.0081920.05680.477487
23-0.121268-0.84020.20249
24-0.172605-1.19580.118816

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.530371 & 3.6745 & 3e-04 \tabularnewline
2 & -0.111972 & -0.7758 & 0.220846 \tabularnewline
3 & -0.496614 & -3.4406 & 0.000605 \tabularnewline
4 & -0.508889 & -3.5257 & 0.00047 \tabularnewline
5 & -0.147278 & -1.0204 & 0.156334 \tabularnewline
6 & 0.234798 & 1.6267 & 0.055171 \tabularnewline
7 & 0.429344 & 2.9746 & 0.002291 \tabularnewline
8 & 0.316743 & 2.1945 & 0.016537 \tabularnewline
9 & -0.02623 & -0.1817 & 0.428281 \tabularnewline
10 & -0.203833 & -1.4122 & 0.082172 \tabularnewline
11 & -0.27772 & -1.9241 & 0.030141 \tabularnewline
12 & -0.249978 & -1.7319 & 0.044857 \tabularnewline
13 & -0.047828 & -0.3314 & 0.370906 \tabularnewline
14 & 0.160752 & 1.1137 & 0.135472 \tabularnewline
15 & 0.188059 & 1.3029 & 0.09941 \tabularnewline
16 & 0.040177 & 0.2784 & 0.390969 \tabularnewline
17 & -0.072598 & -0.503 & 0.30864 \tabularnewline
18 & -0.094346 & -0.6536 & 0.258229 \tabularnewline
19 & -0.104927 & -0.727 & 0.235392 \tabularnewline
20 & 0.016276 & 0.1128 & 0.455345 \tabularnewline
21 & 0.119273 & 0.8263 & 0.206348 \tabularnewline
22 & 0.008192 & 0.0568 & 0.477487 \tabularnewline
23 & -0.121268 & -0.8402 & 0.20249 \tabularnewline
24 & -0.172605 & -1.1958 & 0.118816 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60105&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.530371[/C][C]3.6745[/C][C]3e-04[/C][/ROW]
[ROW][C]2[/C][C]-0.111972[/C][C]-0.7758[/C][C]0.220846[/C][/ROW]
[ROW][C]3[/C][C]-0.496614[/C][C]-3.4406[/C][C]0.000605[/C][/ROW]
[ROW][C]4[/C][C]-0.508889[/C][C]-3.5257[/C][C]0.00047[/C][/ROW]
[ROW][C]5[/C][C]-0.147278[/C][C]-1.0204[/C][C]0.156334[/C][/ROW]
[ROW][C]6[/C][C]0.234798[/C][C]1.6267[/C][C]0.055171[/C][/ROW]
[ROW][C]7[/C][C]0.429344[/C][C]2.9746[/C][C]0.002291[/C][/ROW]
[ROW][C]8[/C][C]0.316743[/C][C]2.1945[/C][C]0.016537[/C][/ROW]
[ROW][C]9[/C][C]-0.02623[/C][C]-0.1817[/C][C]0.428281[/C][/ROW]
[ROW][C]10[/C][C]-0.203833[/C][C]-1.4122[/C][C]0.082172[/C][/ROW]
[ROW][C]11[/C][C]-0.27772[/C][C]-1.9241[/C][C]0.030141[/C][/ROW]
[ROW][C]12[/C][C]-0.249978[/C][C]-1.7319[/C][C]0.044857[/C][/ROW]
[ROW][C]13[/C][C]-0.047828[/C][C]-0.3314[/C][C]0.370906[/C][/ROW]
[ROW][C]14[/C][C]0.160752[/C][C]1.1137[/C][C]0.135472[/C][/ROW]
[ROW][C]15[/C][C]0.188059[/C][C]1.3029[/C][C]0.09941[/C][/ROW]
[ROW][C]16[/C][C]0.040177[/C][C]0.2784[/C][C]0.390969[/C][/ROW]
[ROW][C]17[/C][C]-0.072598[/C][C]-0.503[/C][C]0.30864[/C][/ROW]
[ROW][C]18[/C][C]-0.094346[/C][C]-0.6536[/C][C]0.258229[/C][/ROW]
[ROW][C]19[/C][C]-0.104927[/C][C]-0.727[/C][C]0.235392[/C][/ROW]
[ROW][C]20[/C][C]0.016276[/C][C]0.1128[/C][C]0.455345[/C][/ROW]
[ROW][C]21[/C][C]0.119273[/C][C]0.8263[/C][C]0.206348[/C][/ROW]
[ROW][C]22[/C][C]0.008192[/C][C]0.0568[/C][C]0.477487[/C][/ROW]
[ROW][C]23[/C][C]-0.121268[/C][C]-0.8402[/C][C]0.20249[/C][/ROW]
[ROW][C]24[/C][C]-0.172605[/C][C]-1.1958[/C][C]0.118816[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60105&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60105&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.5303713.67453e-04
2-0.111972-0.77580.220846
3-0.496614-3.44060.000605
4-0.508889-3.52570.00047
5-0.147278-1.02040.156334
60.2347981.62670.055171
70.4293442.97460.002291
80.3167432.19450.016537
9-0.02623-0.18170.428281
10-0.203833-1.41220.082172
11-0.27772-1.92410.030141
12-0.249978-1.73190.044857
13-0.047828-0.33140.370906
140.1607521.11370.135472
150.1880591.30290.09941
160.0401770.27840.390969
17-0.072598-0.5030.30864
18-0.094346-0.65360.258229
19-0.104927-0.7270.235392
200.0162760.11280.455345
210.1192730.82630.206348
220.0081920.05680.477487
23-0.121268-0.84020.20249
24-0.172605-1.19580.118816







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5303713.67453e-04
2-0.547184-3.7910.00021
3-0.227441-1.57580.060825
4-0.173676-1.20330.117387
50.1228850.85140.199395
60.0114520.07930.468546
70.1445411.00140.160826
80.0018790.0130.494834
9-0.063177-0.43770.331783
100.1911791.32450.0958
11-0.183879-1.2740.104407
12-0.14591-1.01090.158568
130.0125070.08670.465655
140.0336670.23330.408278
15-0.176273-1.22130.113977
16-0.103063-0.7140.23933
170.1163110.80580.212159
18-0.004134-0.02860.488636
19-0.05347-0.37050.356337
200.1724031.19440.119086
21-0.022098-0.15310.439481
22-0.243864-1.68950.048801
230.016690.11560.454215
24-0.118202-0.81890.208438

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.530371 & 3.6745 & 3e-04 \tabularnewline
2 & -0.547184 & -3.791 & 0.00021 \tabularnewline
3 & -0.227441 & -1.5758 & 0.060825 \tabularnewline
4 & -0.173676 & -1.2033 & 0.117387 \tabularnewline
5 & 0.122885 & 0.8514 & 0.199395 \tabularnewline
6 & 0.011452 & 0.0793 & 0.468546 \tabularnewline
7 & 0.144541 & 1.0014 & 0.160826 \tabularnewline
8 & 0.001879 & 0.013 & 0.494834 \tabularnewline
9 & -0.063177 & -0.4377 & 0.331783 \tabularnewline
10 & 0.191179 & 1.3245 & 0.0958 \tabularnewline
11 & -0.183879 & -1.274 & 0.104407 \tabularnewline
12 & -0.14591 & -1.0109 & 0.158568 \tabularnewline
13 & 0.012507 & 0.0867 & 0.465655 \tabularnewline
14 & 0.033667 & 0.2333 & 0.408278 \tabularnewline
15 & -0.176273 & -1.2213 & 0.113977 \tabularnewline
16 & -0.103063 & -0.714 & 0.23933 \tabularnewline
17 & 0.116311 & 0.8058 & 0.212159 \tabularnewline
18 & -0.004134 & -0.0286 & 0.488636 \tabularnewline
19 & -0.05347 & -0.3705 & 0.356337 \tabularnewline
20 & 0.172403 & 1.1944 & 0.119086 \tabularnewline
21 & -0.022098 & -0.1531 & 0.439481 \tabularnewline
22 & -0.243864 & -1.6895 & 0.048801 \tabularnewline
23 & 0.01669 & 0.1156 & 0.454215 \tabularnewline
24 & -0.118202 & -0.8189 & 0.208438 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60105&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.530371[/C][C]3.6745[/C][C]3e-04[/C][/ROW]
[ROW][C]2[/C][C]-0.547184[/C][C]-3.791[/C][C]0.00021[/C][/ROW]
[ROW][C]3[/C][C]-0.227441[/C][C]-1.5758[/C][C]0.060825[/C][/ROW]
[ROW][C]4[/C][C]-0.173676[/C][C]-1.2033[/C][C]0.117387[/C][/ROW]
[ROW][C]5[/C][C]0.122885[/C][C]0.8514[/C][C]0.199395[/C][/ROW]
[ROW][C]6[/C][C]0.011452[/C][C]0.0793[/C][C]0.468546[/C][/ROW]
[ROW][C]7[/C][C]0.144541[/C][C]1.0014[/C][C]0.160826[/C][/ROW]
[ROW][C]8[/C][C]0.001879[/C][C]0.013[/C][C]0.494834[/C][/ROW]
[ROW][C]9[/C][C]-0.063177[/C][C]-0.4377[/C][C]0.331783[/C][/ROW]
[ROW][C]10[/C][C]0.191179[/C][C]1.3245[/C][C]0.0958[/C][/ROW]
[ROW][C]11[/C][C]-0.183879[/C][C]-1.274[/C][C]0.104407[/C][/ROW]
[ROW][C]12[/C][C]-0.14591[/C][C]-1.0109[/C][C]0.158568[/C][/ROW]
[ROW][C]13[/C][C]0.012507[/C][C]0.0867[/C][C]0.465655[/C][/ROW]
[ROW][C]14[/C][C]0.033667[/C][C]0.2333[/C][C]0.408278[/C][/ROW]
[ROW][C]15[/C][C]-0.176273[/C][C]-1.2213[/C][C]0.113977[/C][/ROW]
[ROW][C]16[/C][C]-0.103063[/C][C]-0.714[/C][C]0.23933[/C][/ROW]
[ROW][C]17[/C][C]0.116311[/C][C]0.8058[/C][C]0.212159[/C][/ROW]
[ROW][C]18[/C][C]-0.004134[/C][C]-0.0286[/C][C]0.488636[/C][/ROW]
[ROW][C]19[/C][C]-0.05347[/C][C]-0.3705[/C][C]0.356337[/C][/ROW]
[ROW][C]20[/C][C]0.172403[/C][C]1.1944[/C][C]0.119086[/C][/ROW]
[ROW][C]21[/C][C]-0.022098[/C][C]-0.1531[/C][C]0.439481[/C][/ROW]
[ROW][C]22[/C][C]-0.243864[/C][C]-1.6895[/C][C]0.048801[/C][/ROW]
[ROW][C]23[/C][C]0.01669[/C][C]0.1156[/C][C]0.454215[/C][/ROW]
[ROW][C]24[/C][C]-0.118202[/C][C]-0.8189[/C][C]0.208438[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60105&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60105&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.5303713.67453e-04
2-0.547184-3.7910.00021
3-0.227441-1.57580.060825
4-0.173676-1.20330.117387
50.1228850.85140.199395
60.0114520.07930.468546
70.1445411.00140.160826
80.0018790.0130.494834
9-0.063177-0.43770.331783
100.1911791.32450.0958
11-0.183879-1.2740.104407
12-0.14591-1.01090.158568
130.0125070.08670.465655
140.0336670.23330.408278
15-0.176273-1.22130.113977
16-0.103063-0.7140.23933
170.1163110.80580.212159
18-0.004134-0.02860.488636
19-0.05347-0.37050.356337
200.1724031.19440.119086
21-0.022098-0.15310.439481
22-0.243864-1.68950.048801
230.016690.11560.454215
24-0.118202-0.81890.208438



Parameters (Session):
par1 = 24 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = 24 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; 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')