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 computationTue, 22 Dec 2009 06:49:20 -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/22/t1261489850ffjifct5ywxxtj1.htm/, Retrieved Sat, 04 May 2024 14:32:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=70440, Retrieved Sat, 04 May 2024 14:32:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordspaper
Estimated Impact131
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [ACF, PACF d=1] [2009-12-22 13:49:20] [b08f24ccf7d7e0757793cda532be96b3] [Current]
Feedback Forum

Post a new message
Dataseries X:
83.87
84.23
84.61
84.82
85.04
85.06
84.93
84.98
85.23
85.30
85.33
85.55
85.70
85.88
86.04
86.07
86.31
86.38
86.35
86.55
86.70
86.74
86.85
86.95
86.80
87.01
87.17
87.43
87.66
87.68
87.59
87.65
87.72
87.70
87.71
87.80
87.62
87.84
88.17
88.47
88.58
88.57
88.55
88.68
88.79
88.85
88.95
89.27
89.09
89.42
89.72
89.85
89.96
90.25
90.20
90.27
90.78
90.79
90.98
91.25
90.75
91.01
91.50
92.09
92.56
92.66
92.38
92.38
92.66
92.69
92.59
92.98
92.98
93.15
93.65
94.06
94.24
94.24
94.11
94.16
94.43
94.67
94.60
95.00
94.84
95.26
95.81
95.92
95.85
95.90
95.80
96.00
96.34
96.43
96.48
96.75
96.51
96.69
97.28
97.69
98.08
98.09
97.92
98.06
98.23
98.57
98.53
98.92
98.42
98.73
99.32
99.73
100.00
100.08
100.02
100.26
100.71
100.95
100.75
101.03
100.64
100.93
101.41
102.07
102.42
102.53
102.43
102.60
102.65
102.74
102.82
103.21
102.75
103.09
103.71
104.30
104.58
104.71
104.44
104.57
104.95
105.49
106.03
106.48
106.25
106.70
107.60
108.05
108.72
109.17
109.08
109.04
109.34
109.37
108.96
108.77
108.11
108.67
109.05
109.43
109.62
109.85
109.34
109.65
109.69
109.91
110.09




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70440&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.1422911.83330.034275
2-0.050186-0.64660.259391
3-0.159122-2.05010.020962
4-0.206395-2.65920.0043
5-0.051114-0.65860.255544
60.3541774.56335e-06
7-0.007906-0.10190.459495
8-0.175213-2.25750.012641
9-0.134888-1.73790.042041
10-0.10883-1.40220.081365
110.0706740.91060.181922
120.5620627.24170
13-0.039783-0.51260.304468
14-0.142002-1.82960.034554
15-0.13191-1.69950.045545
16-0.192782-2.48380.006995
17-0.010529-0.13570.446129
180.3330884.29151.5e-05
19-0.011821-0.15230.439565
20-0.197407-2.54340.005946
21-0.189252-2.43830.007905
22-0.100314-1.29250.098997

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.142291 & 1.8333 & 0.034275 \tabularnewline
2 & -0.050186 & -0.6466 & 0.259391 \tabularnewline
3 & -0.159122 & -2.0501 & 0.020962 \tabularnewline
4 & -0.206395 & -2.6592 & 0.0043 \tabularnewline
5 & -0.051114 & -0.6586 & 0.255544 \tabularnewline
6 & 0.354177 & 4.5633 & 5e-06 \tabularnewline
7 & -0.007906 & -0.1019 & 0.459495 \tabularnewline
8 & -0.175213 & -2.2575 & 0.012641 \tabularnewline
9 & -0.134888 & -1.7379 & 0.042041 \tabularnewline
10 & -0.10883 & -1.4022 & 0.081365 \tabularnewline
11 & 0.070674 & 0.9106 & 0.181922 \tabularnewline
12 & 0.562062 & 7.2417 & 0 \tabularnewline
13 & -0.039783 & -0.5126 & 0.304468 \tabularnewline
14 & -0.142002 & -1.8296 & 0.034554 \tabularnewline
15 & -0.13191 & -1.6995 & 0.045545 \tabularnewline
16 & -0.192782 & -2.4838 & 0.006995 \tabularnewline
17 & -0.010529 & -0.1357 & 0.446129 \tabularnewline
18 & 0.333088 & 4.2915 & 1.5e-05 \tabularnewline
19 & -0.011821 & -0.1523 & 0.439565 \tabularnewline
20 & -0.197407 & -2.5434 & 0.005946 \tabularnewline
21 & -0.189252 & -2.4383 & 0.007905 \tabularnewline
22 & -0.100314 & -1.2925 & 0.098997 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70440&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.142291[/C][C]1.8333[/C][C]0.034275[/C][/ROW]
[ROW][C]2[/C][C]-0.050186[/C][C]-0.6466[/C][C]0.259391[/C][/ROW]
[ROW][C]3[/C][C]-0.159122[/C][C]-2.0501[/C][C]0.020962[/C][/ROW]
[ROW][C]4[/C][C]-0.206395[/C][C]-2.6592[/C][C]0.0043[/C][/ROW]
[ROW][C]5[/C][C]-0.051114[/C][C]-0.6586[/C][C]0.255544[/C][/ROW]
[ROW][C]6[/C][C]0.354177[/C][C]4.5633[/C][C]5e-06[/C][/ROW]
[ROW][C]7[/C][C]-0.007906[/C][C]-0.1019[/C][C]0.459495[/C][/ROW]
[ROW][C]8[/C][C]-0.175213[/C][C]-2.2575[/C][C]0.012641[/C][/ROW]
[ROW][C]9[/C][C]-0.134888[/C][C]-1.7379[/C][C]0.042041[/C][/ROW]
[ROW][C]10[/C][C]-0.10883[/C][C]-1.4022[/C][C]0.081365[/C][/ROW]
[ROW][C]11[/C][C]0.070674[/C][C]0.9106[/C][C]0.181922[/C][/ROW]
[ROW][C]12[/C][C]0.562062[/C][C]7.2417[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.039783[/C][C]-0.5126[/C][C]0.304468[/C][/ROW]
[ROW][C]14[/C][C]-0.142002[/C][C]-1.8296[/C][C]0.034554[/C][/ROW]
[ROW][C]15[/C][C]-0.13191[/C][C]-1.6995[/C][C]0.045545[/C][/ROW]
[ROW][C]16[/C][C]-0.192782[/C][C]-2.4838[/C][C]0.006995[/C][/ROW]
[ROW][C]17[/C][C]-0.010529[/C][C]-0.1357[/C][C]0.446129[/C][/ROW]
[ROW][C]18[/C][C]0.333088[/C][C]4.2915[/C][C]1.5e-05[/C][/ROW]
[ROW][C]19[/C][C]-0.011821[/C][C]-0.1523[/C][C]0.439565[/C][/ROW]
[ROW][C]20[/C][C]-0.197407[/C][C]-2.5434[/C][C]0.005946[/C][/ROW]
[ROW][C]21[/C][C]-0.189252[/C][C]-2.4383[/C][C]0.007905[/C][/ROW]
[ROW][C]22[/C][C]-0.100314[/C][C]-1.2925[/C][C]0.098997[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70440&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70440&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.1422911.83330.034275
2-0.050186-0.64660.259391
3-0.159122-2.05010.020962
4-0.206395-2.65920.0043
5-0.051114-0.65860.255544
60.3541774.56335e-06
7-0.007906-0.10190.459495
8-0.175213-2.25750.012641
9-0.134888-1.73790.042041
10-0.10883-1.40220.081365
110.0706740.91060.181922
120.5620627.24170
13-0.039783-0.51260.304468
14-0.142002-1.82960.034554
15-0.13191-1.69950.045545
16-0.192782-2.48380.006995
17-0.010529-0.13570.446129
180.3330884.29151.5e-05
19-0.011821-0.15230.439565
20-0.197407-2.54340.005946
21-0.189252-2.43830.007905
22-0.100314-1.29250.098997







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1422911.83330.034275
2-0.071888-0.92620.177839
3-0.144906-1.8670.031834
4-0.173611-2.23680.013315
5-0.019024-0.24510.403338
60.3483314.48797e-06
7-0.176272-2.27110.012213
8-0.221889-2.85880.002399
9-0.015246-0.19640.422257
100.0444180.57230.28395
110.0727040.93670.17513
120.4220345.43750
13-0.289138-3.72530.000134
14-0.075973-0.97880.16454
150.0908341.17030.121776
16-0.063952-0.8240.205572
17-0.016998-0.2190.413459
180.0283770.36560.357562
19-0.016803-0.21650.414436
20-0.103298-1.33090.092524
21-0.153361-1.97590.024911
220.1075851.38610.083783

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.142291 & 1.8333 & 0.034275 \tabularnewline
2 & -0.071888 & -0.9262 & 0.177839 \tabularnewline
3 & -0.144906 & -1.867 & 0.031834 \tabularnewline
4 & -0.173611 & -2.2368 & 0.013315 \tabularnewline
5 & -0.019024 & -0.2451 & 0.403338 \tabularnewline
6 & 0.348331 & 4.4879 & 7e-06 \tabularnewline
7 & -0.176272 & -2.2711 & 0.012213 \tabularnewline
8 & -0.221889 & -2.8588 & 0.002399 \tabularnewline
9 & -0.015246 & -0.1964 & 0.422257 \tabularnewline
10 & 0.044418 & 0.5723 & 0.28395 \tabularnewline
11 & 0.072704 & 0.9367 & 0.17513 \tabularnewline
12 & 0.422034 & 5.4375 & 0 \tabularnewline
13 & -0.289138 & -3.7253 & 0.000134 \tabularnewline
14 & -0.075973 & -0.9788 & 0.16454 \tabularnewline
15 & 0.090834 & 1.1703 & 0.121776 \tabularnewline
16 & -0.063952 & -0.824 & 0.205572 \tabularnewline
17 & -0.016998 & -0.219 & 0.413459 \tabularnewline
18 & 0.028377 & 0.3656 & 0.357562 \tabularnewline
19 & -0.016803 & -0.2165 & 0.414436 \tabularnewline
20 & -0.103298 & -1.3309 & 0.092524 \tabularnewline
21 & -0.153361 & -1.9759 & 0.024911 \tabularnewline
22 & 0.107585 & 1.3861 & 0.083783 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70440&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.142291[/C][C]1.8333[/C][C]0.034275[/C][/ROW]
[ROW][C]2[/C][C]-0.071888[/C][C]-0.9262[/C][C]0.177839[/C][/ROW]
[ROW][C]3[/C][C]-0.144906[/C][C]-1.867[/C][C]0.031834[/C][/ROW]
[ROW][C]4[/C][C]-0.173611[/C][C]-2.2368[/C][C]0.013315[/C][/ROW]
[ROW][C]5[/C][C]-0.019024[/C][C]-0.2451[/C][C]0.403338[/C][/ROW]
[ROW][C]6[/C][C]0.348331[/C][C]4.4879[/C][C]7e-06[/C][/ROW]
[ROW][C]7[/C][C]-0.176272[/C][C]-2.2711[/C][C]0.012213[/C][/ROW]
[ROW][C]8[/C][C]-0.221889[/C][C]-2.8588[/C][C]0.002399[/C][/ROW]
[ROW][C]9[/C][C]-0.015246[/C][C]-0.1964[/C][C]0.422257[/C][/ROW]
[ROW][C]10[/C][C]0.044418[/C][C]0.5723[/C][C]0.28395[/C][/ROW]
[ROW][C]11[/C][C]0.072704[/C][C]0.9367[/C][C]0.17513[/C][/ROW]
[ROW][C]12[/C][C]0.422034[/C][C]5.4375[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.289138[/C][C]-3.7253[/C][C]0.000134[/C][/ROW]
[ROW][C]14[/C][C]-0.075973[/C][C]-0.9788[/C][C]0.16454[/C][/ROW]
[ROW][C]15[/C][C]0.090834[/C][C]1.1703[/C][C]0.121776[/C][/ROW]
[ROW][C]16[/C][C]-0.063952[/C][C]-0.824[/C][C]0.205572[/C][/ROW]
[ROW][C]17[/C][C]-0.016998[/C][C]-0.219[/C][C]0.413459[/C][/ROW]
[ROW][C]18[/C][C]0.028377[/C][C]0.3656[/C][C]0.357562[/C][/ROW]
[ROW][C]19[/C][C]-0.016803[/C][C]-0.2165[/C][C]0.414436[/C][/ROW]
[ROW][C]20[/C][C]-0.103298[/C][C]-1.3309[/C][C]0.092524[/C][/ROW]
[ROW][C]21[/C][C]-0.153361[/C][C]-1.9759[/C][C]0.024911[/C][/ROW]
[ROW][C]22[/C][C]0.107585[/C][C]1.3861[/C][C]0.083783[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70440&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70440&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.1422911.83330.034275
2-0.071888-0.92620.177839
3-0.144906-1.8670.031834
4-0.173611-2.23680.013315
5-0.019024-0.24510.403338
60.3483314.48797e-06
7-0.176272-2.27110.012213
8-0.221889-2.85880.002399
9-0.015246-0.19640.422257
100.0444180.57230.28395
110.0727040.93670.17513
120.4220345.43750
13-0.289138-3.72530.000134
14-0.075973-0.97880.16454
150.0908341.17030.121776
16-0.063952-0.8240.205572
17-0.016998-0.2190.413459
180.0283770.36560.357562
19-0.016803-0.21650.414436
20-0.103298-1.33090.092524
21-0.153361-1.97590.024911
220.1075851.38610.083783



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