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, 13 Dec 2016 10:01:42 +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/13/t1481619812j2gej8ydnorh0qy.htm/, Retrieved Sun, 05 May 2024 02:44:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299020, Retrieved Sun, 05 May 2024 02:44:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact100
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [autocorr default] [2016-12-13 09:01:42] [afe7f6443461a2cd6ee0b843643e84a9] [Current]
Feedback Forum

Post a new message
Dataseries X:
4028.8
4076.6
4125.8
4177.2
4183
4222.6
4255.8
4260.8
4279.2
4328.8
4356.6
4393
4419.4
4426.2
4467.2
4517.4
4517
4560.4
4589
4596
4621.2
4654.6
4708.6
4774.4
4824.8
4839
4869.8
4895.8
4895.8
4968.8
5010
5032.4
5054
5083.8
5117.4
5170.8
5182.2
5163.6
5212.6
5288
5303.4
5367.6
5433.8
5465.8
5493.8
5549.4
5590.2
5661.2
5699
5654.2
5671.8
5730.8
5693
5720.4
5747.8
5764.2
5783
5822.4
5836.2
5864.6
5913.4
5906.8
5954
6031.2
6011.2
6059.8
6091.6
6088
6082.2
6108
6151.4
6187
6190
6152.2
6183.8
6222.8
6165.8
6223.4
6292.8
6320.6
6344
6391.2
6443.4
6504
6520.2
6518.8
6563.8
6614
6555.6
6601.8
6632.4
6657.8
6674.4
6687
6697.6
6732
6736.4
6745.8
6805.2
6850.4
6807.2
6844.6
6850.8
6848.2
6837.8
6857.6
6900.8
6940.8
6937.4
6950.4
6978.8
6997.8
6934.8
6946.8
6956.2
6968.2
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299020&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.9755210.50670
20.95130510.24590
30.9275339.98980
40.9037929.73410
50.8784459.46110
60.8533869.19130
70.8284448.92260
80.8030958.64960
90.7771588.37020
100.7516388.09540
110.7267337.82720
120.7022237.56320
130.6767077.28840
140.6507497.00880
150.6251076.73260
160.5998716.46080
170.5732396.1740
180.54735.89460
190.5218095.62010
200.4958995.3410
210.4696785.05861e-06

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.97552 & 10.5067 & 0 \tabularnewline
2 & 0.951305 & 10.2459 & 0 \tabularnewline
3 & 0.927533 & 9.9898 & 0 \tabularnewline
4 & 0.903792 & 9.7341 & 0 \tabularnewline
5 & 0.878445 & 9.4611 & 0 \tabularnewline
6 & 0.853386 & 9.1913 & 0 \tabularnewline
7 & 0.828444 & 8.9226 & 0 \tabularnewline
8 & 0.803095 & 8.6496 & 0 \tabularnewline
9 & 0.777158 & 8.3702 & 0 \tabularnewline
10 & 0.751638 & 8.0954 & 0 \tabularnewline
11 & 0.726733 & 7.8272 & 0 \tabularnewline
12 & 0.702223 & 7.5632 & 0 \tabularnewline
13 & 0.676707 & 7.2884 & 0 \tabularnewline
14 & 0.650749 & 7.0088 & 0 \tabularnewline
15 & 0.625107 & 6.7326 & 0 \tabularnewline
16 & 0.599871 & 6.4608 & 0 \tabularnewline
17 & 0.573239 & 6.174 & 0 \tabularnewline
18 & 0.5473 & 5.8946 & 0 \tabularnewline
19 & 0.521809 & 5.6201 & 0 \tabularnewline
20 & 0.495899 & 5.341 & 0 \tabularnewline
21 & 0.469678 & 5.0586 & 1e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299020&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.97552[/C][C]10.5067[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.951305[/C][C]10.2459[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.927533[/C][C]9.9898[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.903792[/C][C]9.7341[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.878445[/C][C]9.4611[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.853386[/C][C]9.1913[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.828444[/C][C]8.9226[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.803095[/C][C]8.6496[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.777158[/C][C]8.3702[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.751638[/C][C]8.0954[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.726733[/C][C]7.8272[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.702223[/C][C]7.5632[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.676707[/C][C]7.2884[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.650749[/C][C]7.0088[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.625107[/C][C]6.7326[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.599871[/C][C]6.4608[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.573239[/C][C]6.174[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.5473[/C][C]5.8946[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.521809[/C][C]5.6201[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.495899[/C][C]5.341[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.469678[/C][C]5.0586[/C][C]1e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299020&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299020&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.9755210.50670
20.95130510.24590
30.9275339.98980
40.9037929.73410
50.8784459.46110
60.8533869.19130
70.8284448.92260
80.8030958.64960
90.7771588.37020
100.7516388.09540
110.7267337.82720
120.7022237.56320
130.6767077.28840
140.6507497.00880
150.6251076.73260
160.5998716.46080
170.5732396.1740
180.54735.89460
190.5218095.62010
200.4958995.3410
210.4696785.05861e-06







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9755210.50670
2-0.006908-0.07440.470409
3-0.003213-0.03460.486227
4-0.011604-0.1250.450377
5-0.045592-0.4910.312162
6-0.007869-0.08470.466305
7-0.011645-0.12540.450203
8-0.022009-0.2370.406518
9-0.025252-0.2720.393065
10-0.006572-0.07080.471846
11-0.002085-0.02250.491059
12-0.005393-0.05810.476892
13-0.034272-0.36910.356353
14-0.025145-0.27080.393506
15-0.010304-0.1110.455913
16-0.007691-0.08280.467061
17-0.043173-0.4650.321407
18-0.002713-0.02920.48837
19-0.008652-0.09320.462958
20-0.025341-0.27290.392696
21-0.020957-0.22570.41091

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.97552 & 10.5067 & 0 \tabularnewline
2 & -0.006908 & -0.0744 & 0.470409 \tabularnewline
3 & -0.003213 & -0.0346 & 0.486227 \tabularnewline
4 & -0.011604 & -0.125 & 0.450377 \tabularnewline
5 & -0.045592 & -0.491 & 0.312162 \tabularnewline
6 & -0.007869 & -0.0847 & 0.466305 \tabularnewline
7 & -0.011645 & -0.1254 & 0.450203 \tabularnewline
8 & -0.022009 & -0.237 & 0.406518 \tabularnewline
9 & -0.025252 & -0.272 & 0.393065 \tabularnewline
10 & -0.006572 & -0.0708 & 0.471846 \tabularnewline
11 & -0.002085 & -0.0225 & 0.491059 \tabularnewline
12 & -0.005393 & -0.0581 & 0.476892 \tabularnewline
13 & -0.034272 & -0.3691 & 0.356353 \tabularnewline
14 & -0.025145 & -0.2708 & 0.393506 \tabularnewline
15 & -0.010304 & -0.111 & 0.455913 \tabularnewline
16 & -0.007691 & -0.0828 & 0.467061 \tabularnewline
17 & -0.043173 & -0.465 & 0.321407 \tabularnewline
18 & -0.002713 & -0.0292 & 0.48837 \tabularnewline
19 & -0.008652 & -0.0932 & 0.462958 \tabularnewline
20 & -0.025341 & -0.2729 & 0.392696 \tabularnewline
21 & -0.020957 & -0.2257 & 0.41091 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299020&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.97552[/C][C]10.5067[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.006908[/C][C]-0.0744[/C][C]0.470409[/C][/ROW]
[ROW][C]3[/C][C]-0.003213[/C][C]-0.0346[/C][C]0.486227[/C][/ROW]
[ROW][C]4[/C][C]-0.011604[/C][C]-0.125[/C][C]0.450377[/C][/ROW]
[ROW][C]5[/C][C]-0.045592[/C][C]-0.491[/C][C]0.312162[/C][/ROW]
[ROW][C]6[/C][C]-0.007869[/C][C]-0.0847[/C][C]0.466305[/C][/ROW]
[ROW][C]7[/C][C]-0.011645[/C][C]-0.1254[/C][C]0.450203[/C][/ROW]
[ROW][C]8[/C][C]-0.022009[/C][C]-0.237[/C][C]0.406518[/C][/ROW]
[ROW][C]9[/C][C]-0.025252[/C][C]-0.272[/C][C]0.393065[/C][/ROW]
[ROW][C]10[/C][C]-0.006572[/C][C]-0.0708[/C][C]0.471846[/C][/ROW]
[ROW][C]11[/C][C]-0.002085[/C][C]-0.0225[/C][C]0.491059[/C][/ROW]
[ROW][C]12[/C][C]-0.005393[/C][C]-0.0581[/C][C]0.476892[/C][/ROW]
[ROW][C]13[/C][C]-0.034272[/C][C]-0.3691[/C][C]0.356353[/C][/ROW]
[ROW][C]14[/C][C]-0.025145[/C][C]-0.2708[/C][C]0.393506[/C][/ROW]
[ROW][C]15[/C][C]-0.010304[/C][C]-0.111[/C][C]0.455913[/C][/ROW]
[ROW][C]16[/C][C]-0.007691[/C][C]-0.0828[/C][C]0.467061[/C][/ROW]
[ROW][C]17[/C][C]-0.043173[/C][C]-0.465[/C][C]0.321407[/C][/ROW]
[ROW][C]18[/C][C]-0.002713[/C][C]-0.0292[/C][C]0.48837[/C][/ROW]
[ROW][C]19[/C][C]-0.008652[/C][C]-0.0932[/C][C]0.462958[/C][/ROW]
[ROW][C]20[/C][C]-0.025341[/C][C]-0.2729[/C][C]0.392696[/C][/ROW]
[ROW][C]21[/C][C]-0.020957[/C][C]-0.2257[/C][C]0.41091[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299020&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299020&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.9755210.50670
2-0.006908-0.07440.470409
3-0.003213-0.03460.486227
4-0.011604-0.1250.450377
5-0.045592-0.4910.312162
6-0.007869-0.08470.466305
7-0.011645-0.12540.450203
8-0.022009-0.2370.406518
9-0.025252-0.2720.393065
10-0.006572-0.07080.471846
11-0.002085-0.02250.491059
12-0.005393-0.05810.476892
13-0.034272-0.36910.356353
14-0.025145-0.27080.393506
15-0.010304-0.1110.455913
16-0.007691-0.08280.467061
17-0.043173-0.4650.321407
18-0.002713-0.02920.48837
19-0.008652-0.09320.462958
20-0.025341-0.27290.392696
21-0.020957-0.22570.41091



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