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 computationSat, 09 Dec 2017 14:27:12 +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/2017/Dec/09/t15128260535rg6x4d4qdlwucx.htm/, Retrieved Tue, 14 May 2024 10:02:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=308852, Retrieved Tue, 14 May 2024 10:02:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact105
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2017-12-09 13:27:12] [20141777ecd6b11d9726230b5f8289b4] [Current]
Feedback Forum

Post a new message
Dataseries X:
62
67.1
75.9
67
74.2
72.2
60.2
65.8
76.2
76.6
76.8
70.6
74.5
73.5
80.2
71.5
76.6
79.6
65.5
69.2
74.8
79.4
75
67.7
72.5
71.2
78.3
76.6
74.9
76.5
69.4
67.4
77.2
82.2
75.1
70.6
75.6
73.5
79.4
77.5
72.9
78
71.5
66.6
81.8
83.5
74.6
79.8
73.9
76.6
88.9
81.7
76.5
88.8
75.5
75.2
89
87.9
85.7
89.2
82.7
81
90.3
86.3
81.5
91.1
73.1
76.4
91
86.9
89.6
90.5
86.3
86.5
98.8
84.3
91.2
95.5
78.1
81.5
94.4
98.5
95.3
91.6
92.8
90.5
102.2
91.5
94.9
102.1
88.8
89.4
97.8
108.8
100.8
95
101
101
102.5
105.6
98.3
105.5
96.4
88
108.1
107.2
92.5
95.7
84.8
85.4
94.6
86
88.6
93.3
83.1
82.6
96.7
96.2
92.6
92.7
89.9
95.4
108.4
96.2
95
109
91.9
92.2
107.1
105.6
105.4
103.9
99.2
102.4
121.8
102.3
110.1
106
91.9
100.1
112
105
103.3
101.8
100.9
104.2
116.8
97.8
100.7
107.2
96.3
95.9
104.6
107.5
102.5
94.9
98.7
96.8
108.3
103.9
102.4
107.3
101.9
92.5
105.4
113.2
105.7
101.7
101.8
102.9
109.2
105.6
103.4
108.8
98.1
90
112.8
112.2
102.2
102.5
101.8
98.8
114.3
105.2
98.3
110.1
96.4
92.1
112.2
111.6
107.6
103.4
103.6
107.7
117.9
110.4
104.4
116.2
98.9
102.1
113.7
109.5
110.3
114.5
107
109.4
124.6
104.8
112
119.2
103
106.5




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308852&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.80952211.78680
20.7419310.80270
30.81340911.84340
40.74337710.82370
50.76656511.16140
60.81168711.81830
70.70963810.33250
80.6842539.96290
90.70076410.20330
100.6071758.84060
110.6687839.73760
120.77060111.22010
130.6257229.11060
140.5733728.34840
150.6167238.97960
160.5721158.33010
170.5969798.69210
180.6308239.18490
190.547017.96460
200.5363217.8090
210.5402757.86650
220.4644856.7630
230.5324857.75310

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.809522 & 11.7868 & 0 \tabularnewline
2 & 0.74193 & 10.8027 & 0 \tabularnewline
3 & 0.813409 & 11.8434 & 0 \tabularnewline
4 & 0.743377 & 10.8237 & 0 \tabularnewline
5 & 0.766565 & 11.1614 & 0 \tabularnewline
6 & 0.811687 & 11.8183 & 0 \tabularnewline
7 & 0.709638 & 10.3325 & 0 \tabularnewline
8 & 0.684253 & 9.9629 & 0 \tabularnewline
9 & 0.700764 & 10.2033 & 0 \tabularnewline
10 & 0.607175 & 8.8406 & 0 \tabularnewline
11 & 0.668783 & 9.7376 & 0 \tabularnewline
12 & 0.770601 & 11.2201 & 0 \tabularnewline
13 & 0.625722 & 9.1106 & 0 \tabularnewline
14 & 0.573372 & 8.3484 & 0 \tabularnewline
15 & 0.616723 & 8.9796 & 0 \tabularnewline
16 & 0.572115 & 8.3301 & 0 \tabularnewline
17 & 0.596979 & 8.6921 & 0 \tabularnewline
18 & 0.630823 & 9.1849 & 0 \tabularnewline
19 & 0.54701 & 7.9646 & 0 \tabularnewline
20 & 0.536321 & 7.809 & 0 \tabularnewline
21 & 0.540275 & 7.8665 & 0 \tabularnewline
22 & 0.464485 & 6.763 & 0 \tabularnewline
23 & 0.532485 & 7.7531 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308852&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.809522[/C][C]11.7868[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.74193[/C][C]10.8027[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.813409[/C][C]11.8434[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.743377[/C][C]10.8237[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.766565[/C][C]11.1614[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.811687[/C][C]11.8183[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.709638[/C][C]10.3325[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.684253[/C][C]9.9629[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.700764[/C][C]10.2033[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.607175[/C][C]8.8406[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.668783[/C][C]9.7376[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.770601[/C][C]11.2201[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.625722[/C][C]9.1106[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.573372[/C][C]8.3484[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.616723[/C][C]8.9796[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.572115[/C][C]8.3301[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.596979[/C][C]8.6921[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.630823[/C][C]9.1849[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.54701[/C][C]7.9646[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.536321[/C][C]7.809[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.540275[/C][C]7.8665[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0.464485[/C][C]6.763[/C][C]0[/C][/ROW]
[ROW][C]23[/C][C]0.532485[/C][C]7.7531[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=308852&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308852&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.80952211.78680
20.7419310.80270
30.81340911.84340
40.74337710.82370
50.76656511.16140
60.81168711.81830
70.70963810.33250
80.6842539.96290
90.70076410.20330
100.6071758.84060
110.6687839.73760
120.77060111.22010
130.6257229.11060
140.5733728.34840
150.6167238.97960
160.5721158.33010
170.5969798.69210
180.6308239.18490
190.547017.96460
200.5363217.8090
210.5402757.86650
220.4644856.7630
230.5324857.75310







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.80952211.78680
20.2512643.65850.00016
30.4964427.22830
4-0.05439-0.79190.214643
50.360655.25110
60.1418332.06510.020064
7-0.122512-1.78380.037943
8-0.07886-1.14820.126085
9-0.086879-1.2650.103634
10-0.267576-3.8966.6e-05
110.2694493.92325.9e-05
120.4192896.10490
13-0.18912-2.75360.003203
14-0.207518-3.02150.001412
15-0.082323-1.19860.116002
160.0887961.29290.098729
17-0.053629-0.78080.217882
180.0552410.80430.211057
190.0439260.63960.261573
200.0386740.56310.286982
21-0.046603-0.67860.249081
22-0.029719-0.43270.33283
230.0613910.89390.186205

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.809522 & 11.7868 & 0 \tabularnewline
2 & 0.251264 & 3.6585 & 0.00016 \tabularnewline
3 & 0.496442 & 7.2283 & 0 \tabularnewline
4 & -0.05439 & -0.7919 & 0.214643 \tabularnewline
5 & 0.36065 & 5.2511 & 0 \tabularnewline
6 & 0.141833 & 2.0651 & 0.020064 \tabularnewline
7 & -0.122512 & -1.7838 & 0.037943 \tabularnewline
8 & -0.07886 & -1.1482 & 0.126085 \tabularnewline
9 & -0.086879 & -1.265 & 0.103634 \tabularnewline
10 & -0.267576 & -3.896 & 6.6e-05 \tabularnewline
11 & 0.269449 & 3.9232 & 5.9e-05 \tabularnewline
12 & 0.419289 & 6.1049 & 0 \tabularnewline
13 & -0.18912 & -2.7536 & 0.003203 \tabularnewline
14 & -0.207518 & -3.0215 & 0.001412 \tabularnewline
15 & -0.082323 & -1.1986 & 0.116002 \tabularnewline
16 & 0.088796 & 1.2929 & 0.098729 \tabularnewline
17 & -0.053629 & -0.7808 & 0.217882 \tabularnewline
18 & 0.055241 & 0.8043 & 0.211057 \tabularnewline
19 & 0.043926 & 0.6396 & 0.261573 \tabularnewline
20 & 0.038674 & 0.5631 & 0.286982 \tabularnewline
21 & -0.046603 & -0.6786 & 0.249081 \tabularnewline
22 & -0.029719 & -0.4327 & 0.33283 \tabularnewline
23 & 0.061391 & 0.8939 & 0.186205 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308852&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.809522[/C][C]11.7868[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.251264[/C][C]3.6585[/C][C]0.00016[/C][/ROW]
[ROW][C]3[/C][C]0.496442[/C][C]7.2283[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]-0.05439[/C][C]-0.7919[/C][C]0.214643[/C][/ROW]
[ROW][C]5[/C][C]0.36065[/C][C]5.2511[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.141833[/C][C]2.0651[/C][C]0.020064[/C][/ROW]
[ROW][C]7[/C][C]-0.122512[/C][C]-1.7838[/C][C]0.037943[/C][/ROW]
[ROW][C]8[/C][C]-0.07886[/C][C]-1.1482[/C][C]0.126085[/C][/ROW]
[ROW][C]9[/C][C]-0.086879[/C][C]-1.265[/C][C]0.103634[/C][/ROW]
[ROW][C]10[/C][C]-0.267576[/C][C]-3.896[/C][C]6.6e-05[/C][/ROW]
[ROW][C]11[/C][C]0.269449[/C][C]3.9232[/C][C]5.9e-05[/C][/ROW]
[ROW][C]12[/C][C]0.419289[/C][C]6.1049[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.18912[/C][C]-2.7536[/C][C]0.003203[/C][/ROW]
[ROW][C]14[/C][C]-0.207518[/C][C]-3.0215[/C][C]0.001412[/C][/ROW]
[ROW][C]15[/C][C]-0.082323[/C][C]-1.1986[/C][C]0.116002[/C][/ROW]
[ROW][C]16[/C][C]0.088796[/C][C]1.2929[/C][C]0.098729[/C][/ROW]
[ROW][C]17[/C][C]-0.053629[/C][C]-0.7808[/C][C]0.217882[/C][/ROW]
[ROW][C]18[/C][C]0.055241[/C][C]0.8043[/C][C]0.211057[/C][/ROW]
[ROW][C]19[/C][C]0.043926[/C][C]0.6396[/C][C]0.261573[/C][/ROW]
[ROW][C]20[/C][C]0.038674[/C][C]0.5631[/C][C]0.286982[/C][/ROW]
[ROW][C]21[/C][C]-0.046603[/C][C]-0.6786[/C][C]0.249081[/C][/ROW]
[ROW][C]22[/C][C]-0.029719[/C][C]-0.4327[/C][C]0.33283[/C][/ROW]
[ROW][C]23[/C][C]0.061391[/C][C]0.8939[/C][C]0.186205[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=308852&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308852&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.80952211.78680
20.2512643.65850.00016
30.4964427.22830
4-0.05439-0.79190.214643
50.360655.25110
60.1418332.06510.020064
7-0.122512-1.78380.037943
8-0.07886-1.14820.126085
9-0.086879-1.2650.103634
10-0.267576-3.8966.6e-05
110.2694493.92325.9e-05
120.4192896.10490
13-0.18912-2.75360.003203
14-0.207518-3.02150.001412
15-0.082323-1.19860.116002
160.0887961.29290.098729
17-0.053629-0.78080.217882
180.0552410.80430.211057
190.0439260.63960.261573
200.0386740.56310.286982
21-0.046603-0.67860.249081
22-0.029719-0.43270.33283
230.0613910.89390.186205



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')