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, 22 Dec 2009 06:29:08 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/22/t1261488939qvuce064kimb654.htm/, Retrieved Sat, 04 May 2024 05:41:21 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=70439, Retrieved Sat, 04 May 2024 05:41:21 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact158
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [ACF, PACF] [2009-12-22 13:29:08] [b08f24ccf7d7e0757793cda532be96b3] [Current]
Feedback Forum

Post a new message
Dataseries X:
83.87
84.23
84.61
84.82
85.04
85.06
84.93
84.98
85.23
85.30
85.33
85.55
85.70
85.88
86.04
86.07
86.31
86.38
86.35
86.55
86.70
86.74
86.85
86.95
86.80
87.01
87.17
87.43
87.66
87.68
87.59
87.65
87.72
87.70
87.71
87.80
87.62
87.84
88.17
88.47
88.58
88.57
88.55
88.68
88.79
88.85
88.95
89.27
89.09
89.42
89.72
89.85
89.96
90.25
90.20
90.27
90.78
90.79
90.98
91.25
90.75
91.01
91.50
92.09
92.56
92.66
92.38
92.38
92.66
92.69
92.59
92.98
92.98
93.15
93.65
94.06
94.24
94.24
94.11
94.16
94.43
94.67
94.60
95.00
94.84
95.26
95.81
95.92
95.85
95.90
95.80
96.00
96.34
96.43
96.48
96.75
96.51
96.69
97.28
97.69
98.08
98.09
97.92
98.06
98.23
98.57
98.53
98.92
98.42
98.73
99.32
99.73
100.00
100.08
100.02
100.26
100.71
100.95
100.75
101.03
100.64
100.93
101.41
102.07
102.42
102.53
102.43
102.60
102.65
102.74
102.82
103.21
102.75
103.09
103.71
104.30
104.58
104.71
104.44
104.57
104.95
105.49
106.03
106.48
106.25
106.70
107.60
108.05
108.72
109.17
109.08
109.04
109.34
109.37
108.96
108.77
108.11
108.67
109.05
109.43
109.62
109.85
109.34
109.65
109.69
109.91
110.09




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70439&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.98231912.69440
20.96476212.46750
30.94761612.24590
40.93054712.02530
50.91399811.81150
60.89641811.58430
70.87824111.34940
80.86000111.11370
90.8423810.8860
100.82513110.6630
110.80843710.44730
120.79061810.2170
130.771739.97290
140.7521259.71960
150.7325039.4660
160.7130839.21510
170.6936988.96460
180.6738868.70850
190.6539298.45060
200.6347778.20310
210.6162657.96390
220.5988967.73940

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.982319 & 12.6944 & 0 \tabularnewline
2 & 0.964762 & 12.4675 & 0 \tabularnewline
3 & 0.947616 & 12.2459 & 0 \tabularnewline
4 & 0.930547 & 12.0253 & 0 \tabularnewline
5 & 0.913998 & 11.8115 & 0 \tabularnewline
6 & 0.896418 & 11.5843 & 0 \tabularnewline
7 & 0.878241 & 11.3494 & 0 \tabularnewline
8 & 0.860001 & 11.1137 & 0 \tabularnewline
9 & 0.84238 & 10.886 & 0 \tabularnewline
10 & 0.825131 & 10.663 & 0 \tabularnewline
11 & 0.808437 & 10.4473 & 0 \tabularnewline
12 & 0.790618 & 10.217 & 0 \tabularnewline
13 & 0.77173 & 9.9729 & 0 \tabularnewline
14 & 0.752125 & 9.7196 & 0 \tabularnewline
15 & 0.732503 & 9.466 & 0 \tabularnewline
16 & 0.713083 & 9.2151 & 0 \tabularnewline
17 & 0.693698 & 8.9646 & 0 \tabularnewline
18 & 0.673886 & 8.7085 & 0 \tabularnewline
19 & 0.653929 & 8.4506 & 0 \tabularnewline
20 & 0.634777 & 8.2031 & 0 \tabularnewline
21 & 0.616265 & 7.9639 & 0 \tabularnewline
22 & 0.598896 & 7.7394 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70439&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.982319[/C][C]12.6944[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.964762[/C][C]12.4675[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.947616[/C][C]12.2459[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.930547[/C][C]12.0253[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.913998[/C][C]11.8115[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.896418[/C][C]11.5843[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.878241[/C][C]11.3494[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.860001[/C][C]11.1137[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.84238[/C][C]10.886[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.825131[/C][C]10.663[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.808437[/C][C]10.4473[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.790618[/C][C]10.217[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.77173[/C][C]9.9729[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.752125[/C][C]9.7196[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.732503[/C][C]9.466[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.713083[/C][C]9.2151[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.693698[/C][C]8.9646[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.673886[/C][C]8.7085[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.653929[/C][C]8.4506[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.634777[/C][C]8.2031[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.616265[/C][C]7.9639[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0.598896[/C][C]7.7394[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70439&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70439&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.98231912.69440
20.96476212.46750
30.94761612.24590
40.93054712.02530
50.91399811.81150
60.89641811.58430
70.87824111.34940
80.86000111.11370
90.8423810.8860
100.82513110.6630
110.80843710.44730
120.79061810.2170
130.771739.97290
140.7521259.71960
150.7325039.4660
160.7130839.21510
170.6936988.96460
180.6738868.70850
190.6539298.45060
200.6347778.20310
210.6162657.96390
220.5988967.73940







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.98231912.69440
2-0.005398-0.06980.472234
30.0028080.03630.485546
4-0.006538-0.08450.466382
50.006180.07990.468223
6-0.037943-0.49030.312272
7-0.026175-0.33830.3678
8-0.012203-0.15770.437441
90.0075790.09790.461048
100.0001920.00250.499009
110.0072460.09360.462753
12-0.040126-0.51850.302383
13-0.039455-0.50990.305409
14-0.032781-0.42360.33619
15-0.013366-0.17270.431536
16-0.008441-0.10910.456634
17-0.009745-0.12590.449967
18-0.021268-0.27480.391886
19-0.013224-0.17090.432258
200.0108980.14080.444087
210.0053010.06850.472732
220.0192760.24910.401796

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.982319 & 12.6944 & 0 \tabularnewline
2 & -0.005398 & -0.0698 & 0.472234 \tabularnewline
3 & 0.002808 & 0.0363 & 0.485546 \tabularnewline
4 & -0.006538 & -0.0845 & 0.466382 \tabularnewline
5 & 0.00618 & 0.0799 & 0.468223 \tabularnewline
6 & -0.037943 & -0.4903 & 0.312272 \tabularnewline
7 & -0.026175 & -0.3383 & 0.3678 \tabularnewline
8 & -0.012203 & -0.1577 & 0.437441 \tabularnewline
9 & 0.007579 & 0.0979 & 0.461048 \tabularnewline
10 & 0.000192 & 0.0025 & 0.499009 \tabularnewline
11 & 0.007246 & 0.0936 & 0.462753 \tabularnewline
12 & -0.040126 & -0.5185 & 0.302383 \tabularnewline
13 & -0.039455 & -0.5099 & 0.305409 \tabularnewline
14 & -0.032781 & -0.4236 & 0.33619 \tabularnewline
15 & -0.013366 & -0.1727 & 0.431536 \tabularnewline
16 & -0.008441 & -0.1091 & 0.456634 \tabularnewline
17 & -0.009745 & -0.1259 & 0.449967 \tabularnewline
18 & -0.021268 & -0.2748 & 0.391886 \tabularnewline
19 & -0.013224 & -0.1709 & 0.432258 \tabularnewline
20 & 0.010898 & 0.1408 & 0.444087 \tabularnewline
21 & 0.005301 & 0.0685 & 0.472732 \tabularnewline
22 & 0.019276 & 0.2491 & 0.401796 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70439&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.982319[/C][C]12.6944[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.005398[/C][C]-0.0698[/C][C]0.472234[/C][/ROW]
[ROW][C]3[/C][C]0.002808[/C][C]0.0363[/C][C]0.485546[/C][/ROW]
[ROW][C]4[/C][C]-0.006538[/C][C]-0.0845[/C][C]0.466382[/C][/ROW]
[ROW][C]5[/C][C]0.00618[/C][C]0.0799[/C][C]0.468223[/C][/ROW]
[ROW][C]6[/C][C]-0.037943[/C][C]-0.4903[/C][C]0.312272[/C][/ROW]
[ROW][C]7[/C][C]-0.026175[/C][C]-0.3383[/C][C]0.3678[/C][/ROW]
[ROW][C]8[/C][C]-0.012203[/C][C]-0.1577[/C][C]0.437441[/C][/ROW]
[ROW][C]9[/C][C]0.007579[/C][C]0.0979[/C][C]0.461048[/C][/ROW]
[ROW][C]10[/C][C]0.000192[/C][C]0.0025[/C][C]0.499009[/C][/ROW]
[ROW][C]11[/C][C]0.007246[/C][C]0.0936[/C][C]0.462753[/C][/ROW]
[ROW][C]12[/C][C]-0.040126[/C][C]-0.5185[/C][C]0.302383[/C][/ROW]
[ROW][C]13[/C][C]-0.039455[/C][C]-0.5099[/C][C]0.305409[/C][/ROW]
[ROW][C]14[/C][C]-0.032781[/C][C]-0.4236[/C][C]0.33619[/C][/ROW]
[ROW][C]15[/C][C]-0.013366[/C][C]-0.1727[/C][C]0.431536[/C][/ROW]
[ROW][C]16[/C][C]-0.008441[/C][C]-0.1091[/C][C]0.456634[/C][/ROW]
[ROW][C]17[/C][C]-0.009745[/C][C]-0.1259[/C][C]0.449967[/C][/ROW]
[ROW][C]18[/C][C]-0.021268[/C][C]-0.2748[/C][C]0.391886[/C][/ROW]
[ROW][C]19[/C][C]-0.013224[/C][C]-0.1709[/C][C]0.432258[/C][/ROW]
[ROW][C]20[/C][C]0.010898[/C][C]0.1408[/C][C]0.444087[/C][/ROW]
[ROW][C]21[/C][C]0.005301[/C][C]0.0685[/C][C]0.472732[/C][/ROW]
[ROW][C]22[/C][C]0.019276[/C][C]0.2491[/C][C]0.401796[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70439&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70439&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.98231912.69440
2-0.005398-0.06980.472234
30.0028080.03630.485546
4-0.006538-0.08450.466382
50.006180.07990.468223
6-0.037943-0.49030.312272
7-0.026175-0.33830.3678
8-0.012203-0.15770.437441
90.0075790.09790.461048
100.0001920.00250.499009
110.0072460.09360.462753
12-0.040126-0.51850.302383
13-0.039455-0.50990.305409
14-0.032781-0.42360.33619
15-0.013366-0.17270.431536
16-0.008441-0.10910.456634
17-0.009745-0.12590.449967
18-0.021268-0.27480.391886
19-0.013224-0.17090.432258
200.0108980.14080.444087
210.0053010.06850.472732
220.0192760.24910.401796



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
Parameters (R input):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = MA ; 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')