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 computationMon, 02 Mar 2015 16:57:33 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2015/Mar/02/t1425315571ozfahgixfg3k5iy.htm/, Retrieved Sun, 19 May 2024 11:33:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=277827, Retrieved Sun, 19 May 2024 11:33:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact74
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Autocorrelatie - ...] [2015-03-02 16:57:33] [bc7b6c6baf6d03f57c49dbed118965bb] [Current]
Feedback Forum

Post a new message
Dataseries X:
6,81
6,80
6,80
6,85
6,85
6,85
6,85
6,85
6,85
6,86
6,86
6,88
6,88
6,88
6,91
6,91
6,91
6,91
6,99
6,99
6,99
7,02
7,02
7,05
7,05
7,05
7,05
7,10
7,10
7,10
7,10
7,12
7,13
7,18
7,24
7,24
7,24
7,27
7,27
7,27
7,27
7,30
7,30
7,57
7,76
7,94
7,94
7,96
7,96
7,98
7,99
8,00
8,00
8,04
8,04
8,04
8,04
8,04
8,07
8,07
8,07
8,07
8,11
8,11
8,11
8,12
8,11
8,13
8,15
8,16
8,20
8,20
8,20
8,20
8,23
8,25
8,26
8,31
8,33
8,33
8,36
8,39
8,41
8,50
8,58
8,58
8,66
8,67
8,70
8,71
8,73
8,75
8,76
8,76
8,77
8,78




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\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' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=277827&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' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=277827&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=277827&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' @ jenkins.wessa.net







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9738589.54180
20.9452149.26120
30.9148598.96370
40.8846978.66820
50.8539018.36650
60.8230378.06410
70.7917177.75720
80.7598577.4450
90.7280077.1330
100.6955166.81460
110.6638826.50470
120.6318236.19060
130.6011075.88960
140.5721065.60550
150.5437095.32720
160.5154735.05061e-06
170.4872034.77363e-06
180.4583364.49081e-05
190.4310574.22352.7e-05
200.4044963.96327.1e-05
210.3776833.70050.000179
220.351623.44520.000424
230.3256953.19110.000958
240.2999572.9390.002062

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.973858 & 9.5418 & 0 \tabularnewline
2 & 0.945214 & 9.2612 & 0 \tabularnewline
3 & 0.914859 & 8.9637 & 0 \tabularnewline
4 & 0.884697 & 8.6682 & 0 \tabularnewline
5 & 0.853901 & 8.3665 & 0 \tabularnewline
6 & 0.823037 & 8.0641 & 0 \tabularnewline
7 & 0.791717 & 7.7572 & 0 \tabularnewline
8 & 0.759857 & 7.445 & 0 \tabularnewline
9 & 0.728007 & 7.133 & 0 \tabularnewline
10 & 0.695516 & 6.8146 & 0 \tabularnewline
11 & 0.663882 & 6.5047 & 0 \tabularnewline
12 & 0.631823 & 6.1906 & 0 \tabularnewline
13 & 0.601107 & 5.8896 & 0 \tabularnewline
14 & 0.572106 & 5.6055 & 0 \tabularnewline
15 & 0.543709 & 5.3272 & 0 \tabularnewline
16 & 0.515473 & 5.0506 & 1e-06 \tabularnewline
17 & 0.487203 & 4.7736 & 3e-06 \tabularnewline
18 & 0.458336 & 4.4908 & 1e-05 \tabularnewline
19 & 0.431057 & 4.2235 & 2.7e-05 \tabularnewline
20 & 0.404496 & 3.9632 & 7.1e-05 \tabularnewline
21 & 0.377683 & 3.7005 & 0.000179 \tabularnewline
22 & 0.35162 & 3.4452 & 0.000424 \tabularnewline
23 & 0.325695 & 3.1911 & 0.000958 \tabularnewline
24 & 0.299957 & 2.939 & 0.002062 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=277827&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.973858[/C][C]9.5418[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.945214[/C][C]9.2612[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.914859[/C][C]8.9637[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.884697[/C][C]8.6682[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.853901[/C][C]8.3665[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.823037[/C][C]8.0641[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.791717[/C][C]7.7572[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.759857[/C][C]7.445[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.728007[/C][C]7.133[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.695516[/C][C]6.8146[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.663882[/C][C]6.5047[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.631823[/C][C]6.1906[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.601107[/C][C]5.8896[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.572106[/C][C]5.6055[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.543709[/C][C]5.3272[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.515473[/C][C]5.0506[/C][C]1e-06[/C][/ROW]
[ROW][C]17[/C][C]0.487203[/C][C]4.7736[/C][C]3e-06[/C][/ROW]
[ROW][C]18[/C][C]0.458336[/C][C]4.4908[/C][C]1e-05[/C][/ROW]
[ROW][C]19[/C][C]0.431057[/C][C]4.2235[/C][C]2.7e-05[/C][/ROW]
[ROW][C]20[/C][C]0.404496[/C][C]3.9632[/C][C]7.1e-05[/C][/ROW]
[ROW][C]21[/C][C]0.377683[/C][C]3.7005[/C][C]0.000179[/C][/ROW]
[ROW][C]22[/C][C]0.35162[/C][C]3.4452[/C][C]0.000424[/C][/ROW]
[ROW][C]23[/C][C]0.325695[/C][C]3.1911[/C][C]0.000958[/C][/ROW]
[ROW][C]24[/C][C]0.299957[/C][C]2.939[/C][C]0.002062[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=277827&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=277827&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.9738589.54180
20.9452149.26120
30.9148598.96370
40.8846978.66820
50.8539018.36650
60.8230378.06410
70.7917177.75720
80.7598577.4450
90.7280077.1330
100.6955166.81460
110.6638826.50470
120.6318236.19060
130.6011075.88960
140.5721065.60550
150.5437095.32720
160.5154735.05061e-06
170.4872034.77363e-06
180.4583364.49081e-05
190.4310574.22352.7e-05
200.4044963.96327.1e-05
210.3776833.70050.000179
220.351623.44520.000424
230.3256953.19110.000958
240.2999572.9390.002062







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9738589.54180
2-0.06173-0.60480.273359
3-0.045742-0.44820.327517
4-0.009176-0.08990.464273
5-0.027845-0.27280.392786
6-0.017191-0.16840.433298
7-0.025006-0.2450.403486
8-0.027356-0.2680.394623
9-0.016391-0.16060.436376
10-0.030541-0.29920.382702
11-0.001336-0.01310.494793
12-0.027898-0.27330.392589
130.0062660.06140.475586
140.0132440.12980.448511
15-0.011494-0.11260.455285
16-0.0174-0.17050.432495
17-0.0203-0.19890.42138
18-0.031661-0.31020.378534
190.01220.11950.452553
20-0.008724-0.08550.46603
21-0.027383-0.26830.394523
22-0.005567-0.05450.478308
23-0.018236-0.17870.429284
24-0.017053-0.16710.433826

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.973858 & 9.5418 & 0 \tabularnewline
2 & -0.06173 & -0.6048 & 0.273359 \tabularnewline
3 & -0.045742 & -0.4482 & 0.327517 \tabularnewline
4 & -0.009176 & -0.0899 & 0.464273 \tabularnewline
5 & -0.027845 & -0.2728 & 0.392786 \tabularnewline
6 & -0.017191 & -0.1684 & 0.433298 \tabularnewline
7 & -0.025006 & -0.245 & 0.403486 \tabularnewline
8 & -0.027356 & -0.268 & 0.394623 \tabularnewline
9 & -0.016391 & -0.1606 & 0.436376 \tabularnewline
10 & -0.030541 & -0.2992 & 0.382702 \tabularnewline
11 & -0.001336 & -0.0131 & 0.494793 \tabularnewline
12 & -0.027898 & -0.2733 & 0.392589 \tabularnewline
13 & 0.006266 & 0.0614 & 0.475586 \tabularnewline
14 & 0.013244 & 0.1298 & 0.448511 \tabularnewline
15 & -0.011494 & -0.1126 & 0.455285 \tabularnewline
16 & -0.0174 & -0.1705 & 0.432495 \tabularnewline
17 & -0.0203 & -0.1989 & 0.42138 \tabularnewline
18 & -0.031661 & -0.3102 & 0.378534 \tabularnewline
19 & 0.0122 & 0.1195 & 0.452553 \tabularnewline
20 & -0.008724 & -0.0855 & 0.46603 \tabularnewline
21 & -0.027383 & -0.2683 & 0.394523 \tabularnewline
22 & -0.005567 & -0.0545 & 0.478308 \tabularnewline
23 & -0.018236 & -0.1787 & 0.429284 \tabularnewline
24 & -0.017053 & -0.1671 & 0.433826 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=277827&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.973858[/C][C]9.5418[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.06173[/C][C]-0.6048[/C][C]0.273359[/C][/ROW]
[ROW][C]3[/C][C]-0.045742[/C][C]-0.4482[/C][C]0.327517[/C][/ROW]
[ROW][C]4[/C][C]-0.009176[/C][C]-0.0899[/C][C]0.464273[/C][/ROW]
[ROW][C]5[/C][C]-0.027845[/C][C]-0.2728[/C][C]0.392786[/C][/ROW]
[ROW][C]6[/C][C]-0.017191[/C][C]-0.1684[/C][C]0.433298[/C][/ROW]
[ROW][C]7[/C][C]-0.025006[/C][C]-0.245[/C][C]0.403486[/C][/ROW]
[ROW][C]8[/C][C]-0.027356[/C][C]-0.268[/C][C]0.394623[/C][/ROW]
[ROW][C]9[/C][C]-0.016391[/C][C]-0.1606[/C][C]0.436376[/C][/ROW]
[ROW][C]10[/C][C]-0.030541[/C][C]-0.2992[/C][C]0.382702[/C][/ROW]
[ROW][C]11[/C][C]-0.001336[/C][C]-0.0131[/C][C]0.494793[/C][/ROW]
[ROW][C]12[/C][C]-0.027898[/C][C]-0.2733[/C][C]0.392589[/C][/ROW]
[ROW][C]13[/C][C]0.006266[/C][C]0.0614[/C][C]0.475586[/C][/ROW]
[ROW][C]14[/C][C]0.013244[/C][C]0.1298[/C][C]0.448511[/C][/ROW]
[ROW][C]15[/C][C]-0.011494[/C][C]-0.1126[/C][C]0.455285[/C][/ROW]
[ROW][C]16[/C][C]-0.0174[/C][C]-0.1705[/C][C]0.432495[/C][/ROW]
[ROW][C]17[/C][C]-0.0203[/C][C]-0.1989[/C][C]0.42138[/C][/ROW]
[ROW][C]18[/C][C]-0.031661[/C][C]-0.3102[/C][C]0.378534[/C][/ROW]
[ROW][C]19[/C][C]0.0122[/C][C]0.1195[/C][C]0.452553[/C][/ROW]
[ROW][C]20[/C][C]-0.008724[/C][C]-0.0855[/C][C]0.46603[/C][/ROW]
[ROW][C]21[/C][C]-0.027383[/C][C]-0.2683[/C][C]0.394523[/C][/ROW]
[ROW][C]22[/C][C]-0.005567[/C][C]-0.0545[/C][C]0.478308[/C][/ROW]
[ROW][C]23[/C][C]-0.018236[/C][C]-0.1787[/C][C]0.429284[/C][/ROW]
[ROW][C]24[/C][C]-0.017053[/C][C]-0.1671[/C][C]0.433826[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=277827&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=277827&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.9738589.54180
2-0.06173-0.60480.273359
3-0.045742-0.44820.327517
4-0.009176-0.08990.464273
5-0.027845-0.27280.392786
6-0.017191-0.16840.433298
7-0.025006-0.2450.403486
8-0.027356-0.2680.394623
9-0.016391-0.16060.436376
10-0.030541-0.29920.382702
11-0.001336-0.01310.494793
12-0.027898-0.27330.392589
130.0062660.06140.475586
140.0132440.12980.448511
15-0.011494-0.11260.455285
16-0.0174-0.17050.432495
17-0.0203-0.19890.42138
18-0.031661-0.31020.378534
190.01220.11950.452553
20-0.008724-0.08550.46603
21-0.027383-0.26830.394523
22-0.005567-0.05450.478308
23-0.018236-0.17870.429284
24-0.017053-0.16710.433826



Parameters (Session):
par1 = 24 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = 24 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ; par8 = ;
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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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')