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, 04 Dec 2010 10:56:02 +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/2010/Dec/04/t12914600545zxyqprr66hwhlw.htm/, Retrieved Sun, 05 May 2024 03:16:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105087, Retrieved Sun, 05 May 2024 03:16:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact178
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
-  MPD  [Univariate Data Series] [CPI] [2010-12-04 10:34:06] [6bc4f9343b7ea3ef5a59412d1f72bb2b]
- RMPD      [(Partial) Autocorrelation Function] [ACF CPI] [2010-12-04 10:56:02] [b6992a7b26e556359948e164e4227eba] [Current]
- RMP         [Spectral Analysis] [Spectraal CPI] [2010-12-04 10:58:57] [6bc4f9343b7ea3ef5a59412d1f72bb2b]
- RMP         [Variance Reduction Matrix] [VRM CPI] [2010-12-04 11:01:10] [6bc4f9343b7ea3ef5a59412d1f72bb2b]
Feedback Forum

Post a new message
Dataseries X:
115.65
116.00
115.92
116.10
116.44
116.65
117.45
117.58
117.43
117.24
117.25
117.29
117.83
118.22
118.11
118.23
118.15
118.23
119.03
119.38
118.97
118.78
118.97
118.94
119.86
120.09
120.13
120.15
119.90
120.00
120.84
121.17
120.81
121.00
121.12
121.29
122.09
121.88
121.31
121.33
121.45
121.67
122.78
122.84
122.34
122.37
122.72
122.68
122.78
123.08
122.92
123.51
124.18
124.05
124.36
123.87
123.84
123.85
123.83
123.84
124.27
124.56
124.57
124.87
125.08
124.86
124.89
124.58
124.83
124.97
125.19
125.42
125.74
126.07
126.35
126.69
126.85
127.12
127.43
127.49
128.05
127.85
128.35
128.29
128.38
128.80
129.18
130.14
130.77
131.19
131.32
131.41
131.61
131.69
131.94
131.70
132.54
132.74
133.02
132.76
133.05
132.74
133.16
133.10
133.37
133.15
133.18
133.29
133.76
134.51
134.82
134.71
134.52
134.86
135.11
135.28
135.61
135.22
135.47
135.42
135.85
136.27
136.30
136.85
137.05
137.03
137.45
137.49
137.55
138.04
138.03
137.75
138.27
138.99
139.74
139.70
139.97
140.21
140.78
140.80
140.64
140.42
140.85
140.96
141.04
141.71
141.60
142.11
142.59
142.56
143.00
143.18
143.15
143.10
143.45
143.59
143.92
144.66
144.34
144.82
144.49
144.41
144.99
144.95
145.00
145.66
146.68
147.38
147.94
149.12
149.95
150.19
151.16
151.74
152.56
152.09
152.46
152.66
152.38
152.59
152.88
153.29
152.35
152.49
152.20
151.57
151.55
151.79
151.52
151.76
151.92
152.20
152.75
153.49
153.78
154.10
154.62
154.65
154.81
154.92
155.40
155.63
155.76




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

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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.98518214.03670
20.97033113.82510
30.95529213.61080
40.94041313.39880
50.92559813.18770
60.91074512.97610
70.89601412.76620
80.88147612.55910
90.86698312.35260
100.85235712.14420
110.83811411.94130
120.82406211.74110
130.81016911.54310
140.7965211.34870
150.78286511.15410
160.76892110.95540
170.75499610.7570
180.74087510.55580
190.7264410.35020
200.71179910.14160
210.6968189.92810
220.6807229.69880
230.6647599.47140

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.985182 & 14.0367 & 0 \tabularnewline
2 & 0.970331 & 13.8251 & 0 \tabularnewline
3 & 0.955292 & 13.6108 & 0 \tabularnewline
4 & 0.940413 & 13.3988 & 0 \tabularnewline
5 & 0.925598 & 13.1877 & 0 \tabularnewline
6 & 0.910745 & 12.9761 & 0 \tabularnewline
7 & 0.896014 & 12.7662 & 0 \tabularnewline
8 & 0.881476 & 12.5591 & 0 \tabularnewline
9 & 0.866983 & 12.3526 & 0 \tabularnewline
10 & 0.852357 & 12.1442 & 0 \tabularnewline
11 & 0.838114 & 11.9413 & 0 \tabularnewline
12 & 0.824062 & 11.7411 & 0 \tabularnewline
13 & 0.810169 & 11.5431 & 0 \tabularnewline
14 & 0.79652 & 11.3487 & 0 \tabularnewline
15 & 0.782865 & 11.1541 & 0 \tabularnewline
16 & 0.768921 & 10.9554 & 0 \tabularnewline
17 & 0.754996 & 10.757 & 0 \tabularnewline
18 & 0.740875 & 10.5558 & 0 \tabularnewline
19 & 0.72644 & 10.3502 & 0 \tabularnewline
20 & 0.711799 & 10.1416 & 0 \tabularnewline
21 & 0.696818 & 9.9281 & 0 \tabularnewline
22 & 0.680722 & 9.6988 & 0 \tabularnewline
23 & 0.664759 & 9.4714 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105087&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.985182[/C][C]14.0367[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.970331[/C][C]13.8251[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.955292[/C][C]13.6108[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.940413[/C][C]13.3988[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.925598[/C][C]13.1877[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.910745[/C][C]12.9761[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.896014[/C][C]12.7662[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.881476[/C][C]12.5591[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.866983[/C][C]12.3526[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.852357[/C][C]12.1442[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.838114[/C][C]11.9413[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.824062[/C][C]11.7411[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.810169[/C][C]11.5431[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.79652[/C][C]11.3487[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.782865[/C][C]11.1541[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.768921[/C][C]10.9554[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.754996[/C][C]10.757[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.740875[/C][C]10.5558[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.72644[/C][C]10.3502[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.711799[/C][C]10.1416[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.696818[/C][C]9.9281[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0.680722[/C][C]9.6988[/C][C]0[/C][/ROW]
[ROW][C]23[/C][C]0.664759[/C][C]9.4714[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105087&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105087&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.98518214.03670
20.97033113.82510
30.95529213.61080
40.94041313.39880
50.92559813.18770
60.91074512.97610
70.89601412.76620
80.88147612.55910
90.86698312.35260
100.85235712.14420
110.83811411.94130
120.82406211.74110
130.81016911.54310
140.7965211.34870
150.78286511.15410
160.76892110.95540
170.75499610.7570
180.74087510.55580
190.7264410.35020
200.71179910.14160
210.6968189.92810
220.6807229.69880
230.6647599.47140







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.98518214.03670
2-0.008629-0.12290.451139
3-0.013871-0.19760.421764
4-0.002262-0.03220.487158
5-0.005471-0.0780.468972
6-0.009064-0.12910.448689
7-0.003607-0.05140.479532
8-0.001166-0.01660.493378
9-0.006285-0.08950.46437
10-0.01235-0.1760.430249
110.0052050.07420.470477
12-0.00116-0.01650.493413
13-0.002567-0.03660.485432
140.0007160.01020.495933
15-0.007734-0.11020.456181
16-0.017594-0.25070.401162
17-0.007066-0.10070.459952
18-0.014251-0.2030.419652
19-0.018765-0.26740.39473
20-0.015268-0.21750.414007
21-0.019754-0.28150.389325
22-0.046815-0.6670.252762
23-0.004988-0.07110.471708

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.985182 & 14.0367 & 0 \tabularnewline
2 & -0.008629 & -0.1229 & 0.451139 \tabularnewline
3 & -0.013871 & -0.1976 & 0.421764 \tabularnewline
4 & -0.002262 & -0.0322 & 0.487158 \tabularnewline
5 & -0.005471 & -0.078 & 0.468972 \tabularnewline
6 & -0.009064 & -0.1291 & 0.448689 \tabularnewline
7 & -0.003607 & -0.0514 & 0.479532 \tabularnewline
8 & -0.001166 & -0.0166 & 0.493378 \tabularnewline
9 & -0.006285 & -0.0895 & 0.46437 \tabularnewline
10 & -0.01235 & -0.176 & 0.430249 \tabularnewline
11 & 0.005205 & 0.0742 & 0.470477 \tabularnewline
12 & -0.00116 & -0.0165 & 0.493413 \tabularnewline
13 & -0.002567 & -0.0366 & 0.485432 \tabularnewline
14 & 0.000716 & 0.0102 & 0.495933 \tabularnewline
15 & -0.007734 & -0.1102 & 0.456181 \tabularnewline
16 & -0.017594 & -0.2507 & 0.401162 \tabularnewline
17 & -0.007066 & -0.1007 & 0.459952 \tabularnewline
18 & -0.014251 & -0.203 & 0.419652 \tabularnewline
19 & -0.018765 & -0.2674 & 0.39473 \tabularnewline
20 & -0.015268 & -0.2175 & 0.414007 \tabularnewline
21 & -0.019754 & -0.2815 & 0.389325 \tabularnewline
22 & -0.046815 & -0.667 & 0.252762 \tabularnewline
23 & -0.004988 & -0.0711 & 0.471708 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105087&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.985182[/C][C]14.0367[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.008629[/C][C]-0.1229[/C][C]0.451139[/C][/ROW]
[ROW][C]3[/C][C]-0.013871[/C][C]-0.1976[/C][C]0.421764[/C][/ROW]
[ROW][C]4[/C][C]-0.002262[/C][C]-0.0322[/C][C]0.487158[/C][/ROW]
[ROW][C]5[/C][C]-0.005471[/C][C]-0.078[/C][C]0.468972[/C][/ROW]
[ROW][C]6[/C][C]-0.009064[/C][C]-0.1291[/C][C]0.448689[/C][/ROW]
[ROW][C]7[/C][C]-0.003607[/C][C]-0.0514[/C][C]0.479532[/C][/ROW]
[ROW][C]8[/C][C]-0.001166[/C][C]-0.0166[/C][C]0.493378[/C][/ROW]
[ROW][C]9[/C][C]-0.006285[/C][C]-0.0895[/C][C]0.46437[/C][/ROW]
[ROW][C]10[/C][C]-0.01235[/C][C]-0.176[/C][C]0.430249[/C][/ROW]
[ROW][C]11[/C][C]0.005205[/C][C]0.0742[/C][C]0.470477[/C][/ROW]
[ROW][C]12[/C][C]-0.00116[/C][C]-0.0165[/C][C]0.493413[/C][/ROW]
[ROW][C]13[/C][C]-0.002567[/C][C]-0.0366[/C][C]0.485432[/C][/ROW]
[ROW][C]14[/C][C]0.000716[/C][C]0.0102[/C][C]0.495933[/C][/ROW]
[ROW][C]15[/C][C]-0.007734[/C][C]-0.1102[/C][C]0.456181[/C][/ROW]
[ROW][C]16[/C][C]-0.017594[/C][C]-0.2507[/C][C]0.401162[/C][/ROW]
[ROW][C]17[/C][C]-0.007066[/C][C]-0.1007[/C][C]0.459952[/C][/ROW]
[ROW][C]18[/C][C]-0.014251[/C][C]-0.203[/C][C]0.419652[/C][/ROW]
[ROW][C]19[/C][C]-0.018765[/C][C]-0.2674[/C][C]0.39473[/C][/ROW]
[ROW][C]20[/C][C]-0.015268[/C][C]-0.2175[/C][C]0.414007[/C][/ROW]
[ROW][C]21[/C][C]-0.019754[/C][C]-0.2815[/C][C]0.389325[/C][/ROW]
[ROW][C]22[/C][C]-0.046815[/C][C]-0.667[/C][C]0.252762[/C][/ROW]
[ROW][C]23[/C][C]-0.004988[/C][C]-0.0711[/C][C]0.471708[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105087&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105087&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.98518214.03670
2-0.008629-0.12290.451139
3-0.013871-0.19760.421764
4-0.002262-0.03220.487158
5-0.005471-0.0780.468972
6-0.009064-0.12910.448689
7-0.003607-0.05140.479532
8-0.001166-0.01660.493378
9-0.006285-0.08950.46437
10-0.01235-0.1760.430249
110.0052050.07420.470477
12-0.00116-0.01650.493413
13-0.002567-0.03660.485432
140.0007160.01020.495933
15-0.007734-0.11020.456181
16-0.017594-0.25070.401162
17-0.007066-0.10070.459952
18-0.014251-0.2030.419652
19-0.018765-0.26740.39473
20-0.015268-0.21750.414007
21-0.019754-0.28150.389325
22-0.046815-0.6670.252762
23-0.004988-0.07110.471708



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 ;
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 (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF')
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')