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, 04 Dec 2016 15:15:05 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/04/t1480860950sdd5aa2k9cb2vxn.htm/, Retrieved Fri, 17 May 2024 13:24:57 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=297671, Retrieved Fri, 17 May 2024 13:24:57 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact121
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2016-12-04 14:15:05] [6deb082de88ded72ec069288c69f9f98] [Current]
Feedback Forum

Post a new message
Dataseries X:
5410.4
5432.2
5452.9
5477.6
5472.5
5454.9
5446
5010.6
5395.9
5360
5336.9
5333.9
5329.6
5345.7
5353.8
5377.2
5334.1
5351.1
5001
5246.4
5230
5115.8
4972.6
5077.6
5056.9
5070.7
4799.3
5076
5021.5
5026.4
4981.9
4936.6
4901.8
4853.8
4839.2
4821.3
4840.5
4847.6
4832.3
4814.7
4806.4
4803.4
4770.3
4723.4
4667.1
4636.8
4613.2
4605.3
4590.4
4595.4
4600.1
4543.3
4596.4
4575.4
4547.9
4503.7
4446.3
4401.4
4354.3
4336.3
4300.9
4304.1
4273.2
4279.9
4243.1
4199.1
4177.6
4141.7
4088.3
4021.4
3981.2
3937.2
3893.1
3864.7
3847.8
3840.8
3828.4
3798.6
3773
3737.8
3699
3674
3648.8
3645.6
3331
3674.7
3714.5
3739.7
3759.7
3708.6
3717.3
3705.3
3612.8
3665
3670.8
3687.6
3708.2
3737.2
3748.7
3785.3
3787.1
3785.8
3749.7
3716.3
3650
3096.9
3703.2
3716
3736.9
3771.9
3704
3824.2
3733.5
3827.5
3827.6
3696.5
3675.8
3757.5
3753.3
3418.7
3772.9




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=297671&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=297671&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=297671&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.96596910.62570
20.94415910.38570
30.92530910.17840
40.905579.96130
50.8833039.71630
60.8607319.4680
70.8431849.2750
80.8325339.15790
90.8114058.92550
100.7934278.72770
110.7752398.52760
120.7510028.2610
130.7281968.01020
140.7068037.77480
150.6773517.45090
160.641617.05770
170.6138056.75190
180.5870866.45790
190.5701266.27140
200.5448075.99290

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.965969 & 10.6257 & 0 \tabularnewline
2 & 0.944159 & 10.3857 & 0 \tabularnewline
3 & 0.925309 & 10.1784 & 0 \tabularnewline
4 & 0.90557 & 9.9613 & 0 \tabularnewline
5 & 0.883303 & 9.7163 & 0 \tabularnewline
6 & 0.860731 & 9.468 & 0 \tabularnewline
7 & 0.843184 & 9.275 & 0 \tabularnewline
8 & 0.832533 & 9.1579 & 0 \tabularnewline
9 & 0.811405 & 8.9255 & 0 \tabularnewline
10 & 0.793427 & 8.7277 & 0 \tabularnewline
11 & 0.775239 & 8.5276 & 0 \tabularnewline
12 & 0.751002 & 8.261 & 0 \tabularnewline
13 & 0.728196 & 8.0102 & 0 \tabularnewline
14 & 0.706803 & 7.7748 & 0 \tabularnewline
15 & 0.677351 & 7.4509 & 0 \tabularnewline
16 & 0.64161 & 7.0577 & 0 \tabularnewline
17 & 0.613805 & 6.7519 & 0 \tabularnewline
18 & 0.587086 & 6.4579 & 0 \tabularnewline
19 & 0.570126 & 6.2714 & 0 \tabularnewline
20 & 0.544807 & 5.9929 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=297671&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.965969[/C][C]10.6257[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.944159[/C][C]10.3857[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.925309[/C][C]10.1784[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.90557[/C][C]9.9613[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.883303[/C][C]9.7163[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.860731[/C][C]9.468[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.843184[/C][C]9.275[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.832533[/C][C]9.1579[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.811405[/C][C]8.9255[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.793427[/C][C]8.7277[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.775239[/C][C]8.5276[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.751002[/C][C]8.261[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.728196[/C][C]8.0102[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.706803[/C][C]7.7748[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.677351[/C][C]7.4509[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.64161[/C][C]7.0577[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.613805[/C][C]6.7519[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.587086[/C][C]6.4579[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.570126[/C][C]6.2714[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.544807[/C][C]5.9929[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=297671&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=297671&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.96596910.62570
20.94415910.38570
30.92530910.17840
40.905579.96130
50.8833039.71630
60.8607319.4680
70.8431849.2750
80.8325339.15790
90.8114058.92550
100.7934278.72770
110.7752398.52760
120.7510028.2610
130.7281968.01020
140.7068037.77480
150.6773517.45090
160.641617.05770
170.6138056.75190
180.5870866.45790
190.5701266.27140
200.5448075.99290







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.96596910.62570
20.1653411.81880.035711
30.0670350.73740.231156
4-0.000642-0.00710.49719
5-0.046624-0.51290.304492
6-0.031341-0.34480.365438
70.0563620.620.268218
80.1242571.36680.087106
9-0.114137-1.25550.105858
10-0.001034-0.01140.495472
11-0.025797-0.28380.388538
12-0.113285-1.24610.107562
13-0.012611-0.13870.44495
140.0215690.23730.40643
15-0.138584-1.52440.065006
16-0.185252-2.03780.021877
170.066060.72670.234419
180.0018460.02030.491918
190.1582871.74120.042098
20-0.041773-0.45950.323348

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.965969 & 10.6257 & 0 \tabularnewline
2 & 0.165341 & 1.8188 & 0.035711 \tabularnewline
3 & 0.067035 & 0.7374 & 0.231156 \tabularnewline
4 & -0.000642 & -0.0071 & 0.49719 \tabularnewline
5 & -0.046624 & -0.5129 & 0.304492 \tabularnewline
6 & -0.031341 & -0.3448 & 0.365438 \tabularnewline
7 & 0.056362 & 0.62 & 0.268218 \tabularnewline
8 & 0.124257 & 1.3668 & 0.087106 \tabularnewline
9 & -0.114137 & -1.2555 & 0.105858 \tabularnewline
10 & -0.001034 & -0.0114 & 0.495472 \tabularnewline
11 & -0.025797 & -0.2838 & 0.388538 \tabularnewline
12 & -0.113285 & -1.2461 & 0.107562 \tabularnewline
13 & -0.012611 & -0.1387 & 0.44495 \tabularnewline
14 & 0.021569 & 0.2373 & 0.40643 \tabularnewline
15 & -0.138584 & -1.5244 & 0.065006 \tabularnewline
16 & -0.185252 & -2.0378 & 0.021877 \tabularnewline
17 & 0.06606 & 0.7267 & 0.234419 \tabularnewline
18 & 0.001846 & 0.0203 & 0.491918 \tabularnewline
19 & 0.158287 & 1.7412 & 0.042098 \tabularnewline
20 & -0.041773 & -0.4595 & 0.323348 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=297671&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.965969[/C][C]10.6257[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.165341[/C][C]1.8188[/C][C]0.035711[/C][/ROW]
[ROW][C]3[/C][C]0.067035[/C][C]0.7374[/C][C]0.231156[/C][/ROW]
[ROW][C]4[/C][C]-0.000642[/C][C]-0.0071[/C][C]0.49719[/C][/ROW]
[ROW][C]5[/C][C]-0.046624[/C][C]-0.5129[/C][C]0.304492[/C][/ROW]
[ROW][C]6[/C][C]-0.031341[/C][C]-0.3448[/C][C]0.365438[/C][/ROW]
[ROW][C]7[/C][C]0.056362[/C][C]0.62[/C][C]0.268218[/C][/ROW]
[ROW][C]8[/C][C]0.124257[/C][C]1.3668[/C][C]0.087106[/C][/ROW]
[ROW][C]9[/C][C]-0.114137[/C][C]-1.2555[/C][C]0.105858[/C][/ROW]
[ROW][C]10[/C][C]-0.001034[/C][C]-0.0114[/C][C]0.495472[/C][/ROW]
[ROW][C]11[/C][C]-0.025797[/C][C]-0.2838[/C][C]0.388538[/C][/ROW]
[ROW][C]12[/C][C]-0.113285[/C][C]-1.2461[/C][C]0.107562[/C][/ROW]
[ROW][C]13[/C][C]-0.012611[/C][C]-0.1387[/C][C]0.44495[/C][/ROW]
[ROW][C]14[/C][C]0.021569[/C][C]0.2373[/C][C]0.40643[/C][/ROW]
[ROW][C]15[/C][C]-0.138584[/C][C]-1.5244[/C][C]0.065006[/C][/ROW]
[ROW][C]16[/C][C]-0.185252[/C][C]-2.0378[/C][C]0.021877[/C][/ROW]
[ROW][C]17[/C][C]0.06606[/C][C]0.7267[/C][C]0.234419[/C][/ROW]
[ROW][C]18[/C][C]0.001846[/C][C]0.0203[/C][C]0.491918[/C][/ROW]
[ROW][C]19[/C][C]0.158287[/C][C]1.7412[/C][C]0.042098[/C][/ROW]
[ROW][C]20[/C][C]-0.041773[/C][C]-0.4595[/C][C]0.323348[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=297671&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=297671&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.96596910.62570
20.1653411.81880.035711
30.0670350.73740.231156
4-0.000642-0.00710.49719
5-0.046624-0.51290.304492
6-0.031341-0.34480.365438
70.0563620.620.268218
80.1242571.36680.087106
9-0.114137-1.25550.105858
10-0.001034-0.01140.495472
11-0.025797-0.28380.388538
12-0.113285-1.24610.107562
13-0.012611-0.13870.44495
140.0215690.23730.40643
15-0.138584-1.52440.065006
16-0.185252-2.03780.021877
170.066060.72670.234419
180.0018460.02030.491918
190.1582871.74120.042098
20-0.041773-0.45950.323348



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 ; 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)
x <- na.omit(x)
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,'ACF(k)',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,'PACF(k)',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')