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 computationWed, 10 Aug 2016 15:12:55 +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/Aug/10/t1470838413zdmh21hnuhn7x0k.htm/, Retrieved Tue, 30 Apr 2024 02:38:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=296204, Retrieved Tue, 30 Apr 2024 02:38:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact125
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [(Partial) Autocorrelation Function] [Braadoven Omzet -...] [2016-08-10 13:53:09] [74be16979710d4c4e7c6647856088456]
- R P     [(Partial) Autocorrelation Function] [Braadoven Omzet -...] [2016-08-10 14:12:55] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
7175
7048.75
6922.5
6670
9225
9098.75
7175
5897.5
6023.75
6023.75
6150
6416.25
5645
4872.5
4240
4240
6670
6922.5
4998.75
2822.5
3973.75
3973.75
4872.5
5391.25
5265
3973.75
4620
4366.25
6542.5
6023.75
3973.75
2442.5
3847.5
4240
4620
5125
4100
3215
3595
3721.25
7048.75
7048.75
5125
4872.5
5645
5265
6290
7567.5
7821.25
6023.75
5517.5
4998.75
8466.25
8720
8073.75
8720
8592.5
7567.5
8720
9997.5
10516.25
8972.5
7947.5
8720
12047.5
13072.5
12820
13325
13198.75
11921.25
14097.5
14616.25
15375
13072.5
12173.75
13198.75
15641.25
17817.5
17298.75
17298.75
17552.5
16666.25
18970
18970
18577.5
16400
16792.5
17046.25
18716.25
20892.5
19348.75
20121.25
19475
19096.25
22045
21398.75
20500
19222.5
20500
21146.25
21917.5
22942.5
21917.5
22550
21778.75
21652.5
24853.75
25120
24095
22297.5
23828.75
24473.75
25246.25
26397.5
25246.25
26145
25752.5
24347.5
27296.25
27296.25




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.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 & 1 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296204&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]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296204&T=0

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.96641610.58660
20.93166410.20590
30.9118279.98860
40.897329.82970
50.8876429.72360
60.87389.5720
70.8465199.27320
80.8150948.92890
90.7876128.62790
100.7708828.44460
110.7656468.38720
120.7542098.26190
130.71587.84120
140.6767157.4130
150.651227.13380
160.6321686.92510
170.6163026.75120
180.5978146.54870
190.566956.21060
200.5316125.82350

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.966416 & 10.5866 & 0 \tabularnewline
2 & 0.931664 & 10.2059 & 0 \tabularnewline
3 & 0.911827 & 9.9886 & 0 \tabularnewline
4 & 0.89732 & 9.8297 & 0 \tabularnewline
5 & 0.887642 & 9.7236 & 0 \tabularnewline
6 & 0.8738 & 9.572 & 0 \tabularnewline
7 & 0.846519 & 9.2732 & 0 \tabularnewline
8 & 0.815094 & 8.9289 & 0 \tabularnewline
9 & 0.787612 & 8.6279 & 0 \tabularnewline
10 & 0.770882 & 8.4446 & 0 \tabularnewline
11 & 0.765646 & 8.3872 & 0 \tabularnewline
12 & 0.754209 & 8.2619 & 0 \tabularnewline
13 & 0.7158 & 7.8412 & 0 \tabularnewline
14 & 0.676715 & 7.413 & 0 \tabularnewline
15 & 0.65122 & 7.1338 & 0 \tabularnewline
16 & 0.632168 & 6.9251 & 0 \tabularnewline
17 & 0.616302 & 6.7512 & 0 \tabularnewline
18 & 0.597814 & 6.5487 & 0 \tabularnewline
19 & 0.56695 & 6.2106 & 0 \tabularnewline
20 & 0.531612 & 5.8235 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296204&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.966416[/C][C]10.5866[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.931664[/C][C]10.2059[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.911827[/C][C]9.9886[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.89732[/C][C]9.8297[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.887642[/C][C]9.7236[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.8738[/C][C]9.572[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.846519[/C][C]9.2732[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.815094[/C][C]8.9289[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.787612[/C][C]8.6279[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.770882[/C][C]8.4446[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.765646[/C][C]8.3872[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.754209[/C][C]8.2619[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.7158[/C][C]7.8412[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.676715[/C][C]7.413[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.65122[/C][C]7.1338[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.632168[/C][C]6.9251[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.616302[/C][C]6.7512[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.597814[/C][C]6.5487[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.56695[/C][C]6.2106[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.531612[/C][C]5.8235[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296204&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296204&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.96641610.58660
20.93166410.20590
30.9118279.98860
40.897329.82970
50.8876429.72360
60.87389.5720
70.8465199.27320
80.8150948.92890
90.7876128.62790
100.7708828.44460
110.7656468.38720
120.7542098.26190
130.71587.84120
140.6767157.4130
150.651227.13380
160.6321686.92510
170.6163026.75120
180.5978146.54870
190.566956.21060
200.5316125.82350







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.96641610.58660
2-0.034755-0.38070.352041
30.2084192.28310.012092
40.0637660.69850.243101
50.117391.28590.100469
6-0.037903-0.41520.339367
7-0.169762-1.85970.032692
8-0.089849-0.98420.163488
9-0.040236-0.44080.330089
100.0960841.05250.147332
110.1583771.73490.042661
12-0.025335-0.27750.390923
13-0.334452-3.66370.000186
14-0.030766-0.3370.368343
150.0643420.70480.241141
160.0199790.21890.413566
17-0.002378-0.0260.489632
180.0077410.08480.46628
19-0.062073-0.680.248916
20-0.037211-0.40760.342137

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.966416 & 10.5866 & 0 \tabularnewline
2 & -0.034755 & -0.3807 & 0.352041 \tabularnewline
3 & 0.208419 & 2.2831 & 0.012092 \tabularnewline
4 & 0.063766 & 0.6985 & 0.243101 \tabularnewline
5 & 0.11739 & 1.2859 & 0.100469 \tabularnewline
6 & -0.037903 & -0.4152 & 0.339367 \tabularnewline
7 & -0.169762 & -1.8597 & 0.032692 \tabularnewline
8 & -0.089849 & -0.9842 & 0.163488 \tabularnewline
9 & -0.040236 & -0.4408 & 0.330089 \tabularnewline
10 & 0.096084 & 1.0525 & 0.147332 \tabularnewline
11 & 0.158377 & 1.7349 & 0.042661 \tabularnewline
12 & -0.025335 & -0.2775 & 0.390923 \tabularnewline
13 & -0.334452 & -3.6637 & 0.000186 \tabularnewline
14 & -0.030766 & -0.337 & 0.368343 \tabularnewline
15 & 0.064342 & 0.7048 & 0.241141 \tabularnewline
16 & 0.019979 & 0.2189 & 0.413566 \tabularnewline
17 & -0.002378 & -0.026 & 0.489632 \tabularnewline
18 & 0.007741 & 0.0848 & 0.46628 \tabularnewline
19 & -0.062073 & -0.68 & 0.248916 \tabularnewline
20 & -0.037211 & -0.4076 & 0.342137 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296204&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.966416[/C][C]10.5866[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.034755[/C][C]-0.3807[/C][C]0.352041[/C][/ROW]
[ROW][C]3[/C][C]0.208419[/C][C]2.2831[/C][C]0.012092[/C][/ROW]
[ROW][C]4[/C][C]0.063766[/C][C]0.6985[/C][C]0.243101[/C][/ROW]
[ROW][C]5[/C][C]0.11739[/C][C]1.2859[/C][C]0.100469[/C][/ROW]
[ROW][C]6[/C][C]-0.037903[/C][C]-0.4152[/C][C]0.339367[/C][/ROW]
[ROW][C]7[/C][C]-0.169762[/C][C]-1.8597[/C][C]0.032692[/C][/ROW]
[ROW][C]8[/C][C]-0.089849[/C][C]-0.9842[/C][C]0.163488[/C][/ROW]
[ROW][C]9[/C][C]-0.040236[/C][C]-0.4408[/C][C]0.330089[/C][/ROW]
[ROW][C]10[/C][C]0.096084[/C][C]1.0525[/C][C]0.147332[/C][/ROW]
[ROW][C]11[/C][C]0.158377[/C][C]1.7349[/C][C]0.042661[/C][/ROW]
[ROW][C]12[/C][C]-0.025335[/C][C]-0.2775[/C][C]0.390923[/C][/ROW]
[ROW][C]13[/C][C]-0.334452[/C][C]-3.6637[/C][C]0.000186[/C][/ROW]
[ROW][C]14[/C][C]-0.030766[/C][C]-0.337[/C][C]0.368343[/C][/ROW]
[ROW][C]15[/C][C]0.064342[/C][C]0.7048[/C][C]0.241141[/C][/ROW]
[ROW][C]16[/C][C]0.019979[/C][C]0.2189[/C][C]0.413566[/C][/ROW]
[ROW][C]17[/C][C]-0.002378[/C][C]-0.026[/C][C]0.489632[/C][/ROW]
[ROW][C]18[/C][C]0.007741[/C][C]0.0848[/C][C]0.46628[/C][/ROW]
[ROW][C]19[/C][C]-0.062073[/C][C]-0.68[/C][C]0.248916[/C][/ROW]
[ROW][C]20[/C][C]-0.037211[/C][C]-0.4076[/C][C]0.342137[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296204&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296204&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.96641610.58660
2-0.034755-0.38070.352041
30.2084192.28310.012092
40.0637660.69850.243101
50.117391.28590.100469
6-0.037903-0.41520.339367
7-0.169762-1.85970.032692
8-0.089849-0.98420.163488
9-0.040236-0.44080.330089
100.0960841.05250.147332
110.1583771.73490.042661
12-0.025335-0.27750.390923
13-0.334452-3.66370.000186
14-0.030766-0.3370.368343
150.0643420.70480.241141
160.0199790.21890.413566
17-0.002378-0.0260.489632
180.0077410.08480.46628
19-0.062073-0.680.248916
20-0.037211-0.40760.342137



Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ; par8 = ;
R code (references can be found in the software module):
par8 <- ''
par7 <- '0.95'
par6 <- 'White Noise'
par5 <- '12'
par4 <- '0'
par3 <- '0'
par2 <- '1'
par1 <- 'Default'
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,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')