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 computationMon, 28 Dec 2009 07:34:38 -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/28/t12620109476ru71qdegeczs1m.htm/, Retrieved Sat, 04 May 2024 21:46:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=70981, Retrieved Sat, 04 May 2024 21:46:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact103
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [paper acf export] [2009-12-28 14:34:38] [90d336e5f53609c0c5a6217e988a780d] [Current]
Feedback Forum

Post a new message
Dataseries X:
4223.4
4627.3
5175.3
4550.7
4639.3
5498.7
5031.0
4033.3
4643.5
4873.2
4608.7
4733.5
3955.6
4590.9
5127.5
5257.3
5416.9
5813.3
5261.9
4669.2
5855.8
5274.6
5516.7
5819.5
5156.0
5377.3
6386.8
5144.0
6138.5
5567.8
5822.6
5145.5
5706.6
6078.5
6074.5
5577.6
5727.5
6067.0
7069.9
5490.0
5948.3
6177.5
6890.1
5756.2
6528.8
6792.0
6657.4
5753.7
5750.9
5968.4
5871.7
7004.9
6363.4
6694.7
7101.6
5364.0
6958.6
6503.3
5316.0
5312.7
4478.0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70981&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]2 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=70981&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70981&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 time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2517571.76230.042128
20.2817631.97230.027114
30.1580311.10620.137017
40.0193170.13520.446495
50.1523381.06640.145742
6-0.04233-0.29630.384123
7-0.09467-0.66270.255317
80.1243030.87010.194239
9-0.002524-0.01770.492989
100.1931391.3520.091296
110.0034290.0240.490473
12-0.111055-0.77740.220335
13-0.084051-0.58840.279498
14-0.084149-0.5890.27927
15-0.014036-0.09830.461067
16-0.174243-1.21970.114208
17-0.044852-0.3140.377439

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.251757 & 1.7623 & 0.042128 \tabularnewline
2 & 0.281763 & 1.9723 & 0.027114 \tabularnewline
3 & 0.158031 & 1.1062 & 0.137017 \tabularnewline
4 & 0.019317 & 0.1352 & 0.446495 \tabularnewline
5 & 0.152338 & 1.0664 & 0.145742 \tabularnewline
6 & -0.04233 & -0.2963 & 0.384123 \tabularnewline
7 & -0.09467 & -0.6627 & 0.255317 \tabularnewline
8 & 0.124303 & 0.8701 & 0.194239 \tabularnewline
9 & -0.002524 & -0.0177 & 0.492989 \tabularnewline
10 & 0.193139 & 1.352 & 0.091296 \tabularnewline
11 & 0.003429 & 0.024 & 0.490473 \tabularnewline
12 & -0.111055 & -0.7774 & 0.220335 \tabularnewline
13 & -0.084051 & -0.5884 & 0.279498 \tabularnewline
14 & -0.084149 & -0.589 & 0.27927 \tabularnewline
15 & -0.014036 & -0.0983 & 0.461067 \tabularnewline
16 & -0.174243 & -1.2197 & 0.114208 \tabularnewline
17 & -0.044852 & -0.314 & 0.377439 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70981&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.251757[/C][C]1.7623[/C][C]0.042128[/C][/ROW]
[ROW][C]2[/C][C]0.281763[/C][C]1.9723[/C][C]0.027114[/C][/ROW]
[ROW][C]3[/C][C]0.158031[/C][C]1.1062[/C][C]0.137017[/C][/ROW]
[ROW][C]4[/C][C]0.019317[/C][C]0.1352[/C][C]0.446495[/C][/ROW]
[ROW][C]5[/C][C]0.152338[/C][C]1.0664[/C][C]0.145742[/C][/ROW]
[ROW][C]6[/C][C]-0.04233[/C][C]-0.2963[/C][C]0.384123[/C][/ROW]
[ROW][C]7[/C][C]-0.09467[/C][C]-0.6627[/C][C]0.255317[/C][/ROW]
[ROW][C]8[/C][C]0.124303[/C][C]0.8701[/C][C]0.194239[/C][/ROW]
[ROW][C]9[/C][C]-0.002524[/C][C]-0.0177[/C][C]0.492989[/C][/ROW]
[ROW][C]10[/C][C]0.193139[/C][C]1.352[/C][C]0.091296[/C][/ROW]
[ROW][C]11[/C][C]0.003429[/C][C]0.024[/C][C]0.490473[/C][/ROW]
[ROW][C]12[/C][C]-0.111055[/C][C]-0.7774[/C][C]0.220335[/C][/ROW]
[ROW][C]13[/C][C]-0.084051[/C][C]-0.5884[/C][C]0.279498[/C][/ROW]
[ROW][C]14[/C][C]-0.084149[/C][C]-0.589[/C][C]0.27927[/C][/ROW]
[ROW][C]15[/C][C]-0.014036[/C][C]-0.0983[/C][C]0.461067[/C][/ROW]
[ROW][C]16[/C][C]-0.174243[/C][C]-1.2197[/C][C]0.114208[/C][/ROW]
[ROW][C]17[/C][C]-0.044852[/C][C]-0.314[/C][C]0.377439[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70981&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70981&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.2517571.76230.042128
20.2817631.97230.027114
30.1580311.10620.137017
40.0193170.13520.446495
50.1523381.06640.145742
6-0.04233-0.29630.384123
7-0.09467-0.66270.255317
80.1243030.87010.194239
9-0.002524-0.01770.492989
100.1931391.3520.091296
110.0034290.0240.490473
12-0.111055-0.77740.220335
13-0.084051-0.58840.279498
14-0.084149-0.5890.27927
15-0.014036-0.09830.461067
16-0.174243-1.21970.114208
17-0.044852-0.3140.377439







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2517571.76230.042128
20.233161.63210.054533
30.0507340.35510.362006
4-0.096252-0.67380.251814
50.1314720.92030.180961
6-0.095265-0.66690.253997
7-0.144951-1.01470.157627
80.2123321.48630.0718
90.0231950.16240.435844
100.1228220.85980.197055
11-0.0978-0.68460.24841
12-0.167417-1.17190.123448
13-0.125313-0.87720.192331
140.0604030.42280.337138
150.087570.6130.271358
16-0.189974-1.32980.094868
170.119690.83780.203098

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.251757 & 1.7623 & 0.042128 \tabularnewline
2 & 0.23316 & 1.6321 & 0.054533 \tabularnewline
3 & 0.050734 & 0.3551 & 0.362006 \tabularnewline
4 & -0.096252 & -0.6738 & 0.251814 \tabularnewline
5 & 0.131472 & 0.9203 & 0.180961 \tabularnewline
6 & -0.095265 & -0.6669 & 0.253997 \tabularnewline
7 & -0.144951 & -1.0147 & 0.157627 \tabularnewline
8 & 0.212332 & 1.4863 & 0.0718 \tabularnewline
9 & 0.023195 & 0.1624 & 0.435844 \tabularnewline
10 & 0.122822 & 0.8598 & 0.197055 \tabularnewline
11 & -0.0978 & -0.6846 & 0.24841 \tabularnewline
12 & -0.167417 & -1.1719 & 0.123448 \tabularnewline
13 & -0.125313 & -0.8772 & 0.192331 \tabularnewline
14 & 0.060403 & 0.4228 & 0.337138 \tabularnewline
15 & 0.08757 & 0.613 & 0.271358 \tabularnewline
16 & -0.189974 & -1.3298 & 0.094868 \tabularnewline
17 & 0.11969 & 0.8378 & 0.203098 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70981&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.251757[/C][C]1.7623[/C][C]0.042128[/C][/ROW]
[ROW][C]2[/C][C]0.23316[/C][C]1.6321[/C][C]0.054533[/C][/ROW]
[ROW][C]3[/C][C]0.050734[/C][C]0.3551[/C][C]0.362006[/C][/ROW]
[ROW][C]4[/C][C]-0.096252[/C][C]-0.6738[/C][C]0.251814[/C][/ROW]
[ROW][C]5[/C][C]0.131472[/C][C]0.9203[/C][C]0.180961[/C][/ROW]
[ROW][C]6[/C][C]-0.095265[/C][C]-0.6669[/C][C]0.253997[/C][/ROW]
[ROW][C]7[/C][C]-0.144951[/C][C]-1.0147[/C][C]0.157627[/C][/ROW]
[ROW][C]8[/C][C]0.212332[/C][C]1.4863[/C][C]0.0718[/C][/ROW]
[ROW][C]9[/C][C]0.023195[/C][C]0.1624[/C][C]0.435844[/C][/ROW]
[ROW][C]10[/C][C]0.122822[/C][C]0.8598[/C][C]0.197055[/C][/ROW]
[ROW][C]11[/C][C]-0.0978[/C][C]-0.6846[/C][C]0.24841[/C][/ROW]
[ROW][C]12[/C][C]-0.167417[/C][C]-1.1719[/C][C]0.123448[/C][/ROW]
[ROW][C]13[/C][C]-0.125313[/C][C]-0.8772[/C][C]0.192331[/C][/ROW]
[ROW][C]14[/C][C]0.060403[/C][C]0.4228[/C][C]0.337138[/C][/ROW]
[ROW][C]15[/C][C]0.08757[/C][C]0.613[/C][C]0.271358[/C][/ROW]
[ROW][C]16[/C][C]-0.189974[/C][C]-1.3298[/C][C]0.094868[/C][/ROW]
[ROW][C]17[/C][C]0.11969[/C][C]0.8378[/C][C]0.203098[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70981&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70981&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.2517571.76230.042128
20.233161.63210.054533
30.0507340.35510.362006
4-0.096252-0.67380.251814
50.1314720.92030.180961
6-0.095265-0.66690.253997
7-0.144951-1.01470.157627
80.2123321.48630.0718
90.0231950.16240.435844
100.1228220.85980.197055
11-0.0978-0.68460.24841
12-0.167417-1.17190.123448
13-0.125313-0.87720.192331
140.0604030.42280.337138
150.087570.6130.271358
16-0.189974-1.32980.094868
170.119690.83780.203098



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