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 computationThu, 26 Nov 2009 08:16:52 -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/Nov/26/t1259248681ejd75kx8acz5sjx.htm/, Retrieved Mon, 29 Apr 2024 00:03:57 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=60078, Retrieved Mon, 29 Apr 2024 00:03:57 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact142
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Explorative Data Analysis] [Run Sequence gebo...] [2008-12-12 13:32:37] [76963dc1903f0f612b6153510a3818cf]
- R  D  [Univariate Explorative Data Analysis] [Run Sequence gebo...] [2008-12-17 12:14:40] [76963dc1903f0f612b6153510a3818cf]
-         [Univariate Explorative Data Analysis] [Run Sequence Plot...] [2008-12-22 18:19:51] [1ce0d16c8f4225c977b42c8fa93bc163]
- RMP       [(Partial) Autocorrelation Function] [Identifying Integ...] [2009-11-22 12:16:10] [b98453cac15ba1066b407e146608df68]
-   PD          [(Partial) Autocorrelation Function] [] [2009-11-26 15:16:52] [bcaf453a09027aa0f995cb78bdc3c98a] [Current]
Feedback Forum

Post a new message
Dataseries X:
9.3
8.7
8.2
8.3
8.5
8.6
8.5
8.2
8.1
7.9
8.6
8.7
8.7
8.5
8.4
8.5
8.7
8.7
8.6
8.5
8.3
8
8.2
8.1
8.1
8
7.9
7.9
8
8
7.9
8
7.7
7.2
7.5
7.3
7
7
7
7.2
7.3
7.1
6.8
6.4
6.1
6.5
7.7
7.9
7.5
6.9
6.6
6.9
7.7
8
8
7.7
7.3
7.4
8.1
8.3
8.2




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.842666.58140
20.6362264.96913e-06
30.5291874.13315.5e-05
40.5483334.28263.3e-05
50.6388534.98963e-06
60.6839045.34151e-06
70.6049174.72457e-06
80.4595833.58950.000331
90.3386872.64520.005184
100.3173572.47860.007985
110.3363082.62670.005444
120.3466422.70740.004393
130.2624322.04970.022352
140.1642051.28250.102262
150.0920370.71880.237494
160.0480620.37540.354343
170.0170240.1330.447331
18-0.019578-0.15290.439486
19-0.080082-0.62550.267002
20-0.146691-1.14570.128198
21-0.193526-1.51150.067914
22-0.209451-1.63590.053509
23-0.220702-1.72370.044911
24-0.237888-1.8580.034001

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.84266 & 6.5814 & 0 \tabularnewline
2 & 0.636226 & 4.9691 & 3e-06 \tabularnewline
3 & 0.529187 & 4.1331 & 5.5e-05 \tabularnewline
4 & 0.548333 & 4.2826 & 3.3e-05 \tabularnewline
5 & 0.638853 & 4.9896 & 3e-06 \tabularnewline
6 & 0.683904 & 5.3415 & 1e-06 \tabularnewline
7 & 0.604917 & 4.7245 & 7e-06 \tabularnewline
8 & 0.459583 & 3.5895 & 0.000331 \tabularnewline
9 & 0.338687 & 2.6452 & 0.005184 \tabularnewline
10 & 0.317357 & 2.4786 & 0.007985 \tabularnewline
11 & 0.336308 & 2.6267 & 0.005444 \tabularnewline
12 & 0.346642 & 2.7074 & 0.004393 \tabularnewline
13 & 0.262432 & 2.0497 & 0.022352 \tabularnewline
14 & 0.164205 & 1.2825 & 0.102262 \tabularnewline
15 & 0.092037 & 0.7188 & 0.237494 \tabularnewline
16 & 0.048062 & 0.3754 & 0.354343 \tabularnewline
17 & 0.017024 & 0.133 & 0.447331 \tabularnewline
18 & -0.019578 & -0.1529 & 0.439486 \tabularnewline
19 & -0.080082 & -0.6255 & 0.267002 \tabularnewline
20 & -0.146691 & -1.1457 & 0.128198 \tabularnewline
21 & -0.193526 & -1.5115 & 0.067914 \tabularnewline
22 & -0.209451 & -1.6359 & 0.053509 \tabularnewline
23 & -0.220702 & -1.7237 & 0.044911 \tabularnewline
24 & -0.237888 & -1.858 & 0.034001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60078&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.84266[/C][C]6.5814[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.636226[/C][C]4.9691[/C][C]3e-06[/C][/ROW]
[ROW][C]3[/C][C]0.529187[/C][C]4.1331[/C][C]5.5e-05[/C][/ROW]
[ROW][C]4[/C][C]0.548333[/C][C]4.2826[/C][C]3.3e-05[/C][/ROW]
[ROW][C]5[/C][C]0.638853[/C][C]4.9896[/C][C]3e-06[/C][/ROW]
[ROW][C]6[/C][C]0.683904[/C][C]5.3415[/C][C]1e-06[/C][/ROW]
[ROW][C]7[/C][C]0.604917[/C][C]4.7245[/C][C]7e-06[/C][/ROW]
[ROW][C]8[/C][C]0.459583[/C][C]3.5895[/C][C]0.000331[/C][/ROW]
[ROW][C]9[/C][C]0.338687[/C][C]2.6452[/C][C]0.005184[/C][/ROW]
[ROW][C]10[/C][C]0.317357[/C][C]2.4786[/C][C]0.007985[/C][/ROW]
[ROW][C]11[/C][C]0.336308[/C][C]2.6267[/C][C]0.005444[/C][/ROW]
[ROW][C]12[/C][C]0.346642[/C][C]2.7074[/C][C]0.004393[/C][/ROW]
[ROW][C]13[/C][C]0.262432[/C][C]2.0497[/C][C]0.022352[/C][/ROW]
[ROW][C]14[/C][C]0.164205[/C][C]1.2825[/C][C]0.102262[/C][/ROW]
[ROW][C]15[/C][C]0.092037[/C][C]0.7188[/C][C]0.237494[/C][/ROW]
[ROW][C]16[/C][C]0.048062[/C][C]0.3754[/C][C]0.354343[/C][/ROW]
[ROW][C]17[/C][C]0.017024[/C][C]0.133[/C][C]0.447331[/C][/ROW]
[ROW][C]18[/C][C]-0.019578[/C][C]-0.1529[/C][C]0.439486[/C][/ROW]
[ROW][C]19[/C][C]-0.080082[/C][C]-0.6255[/C][C]0.267002[/C][/ROW]
[ROW][C]20[/C][C]-0.146691[/C][C]-1.1457[/C][C]0.128198[/C][/ROW]
[ROW][C]21[/C][C]-0.193526[/C][C]-1.5115[/C][C]0.067914[/C][/ROW]
[ROW][C]22[/C][C]-0.209451[/C][C]-1.6359[/C][C]0.053509[/C][/ROW]
[ROW][C]23[/C][C]-0.220702[/C][C]-1.7237[/C][C]0.044911[/C][/ROW]
[ROW][C]24[/C][C]-0.237888[/C][C]-1.858[/C][C]0.034001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60078&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60078&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.842666.58140
20.6362264.96913e-06
30.5291874.13315.5e-05
40.5483334.28263.3e-05
50.6388534.98963e-06
60.6839045.34151e-06
70.6049174.72457e-06
80.4595833.58950.000331
90.3386872.64520.005184
100.3173572.47860.007985
110.3363082.62670.005444
120.3466422.70740.004393
130.2624322.04970.022352
140.1642051.28250.102262
150.0920370.71880.237494
160.0480620.37540.354343
170.0170240.1330.447331
18-0.019578-0.15290.439486
19-0.080082-0.62550.267002
20-0.146691-1.14570.128198
21-0.193526-1.51150.067914
22-0.209451-1.63590.053509
23-0.220702-1.72370.044911
24-0.237888-1.8580.034001







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.842666.58140
2-0.254719-1.98940.025572
30.2624232.04960.022356
40.2808672.19360.016041
50.2693422.10360.019771
60.0516830.40370.343939
7-0.161316-1.25990.106249
8-0.116504-0.90990.183222
9-0.127042-0.99220.162503
100.0184760.14430.44287
11-0.146335-1.14290.12877
120.0157510.1230.451247
13-0.232271-1.81410.037291
140.1353961.05750.147232
15-0.069247-0.54080.295294
16-0.084446-0.65950.256015
17-0.10991-0.85840.197009
18-0.054208-0.42340.336754
19-0.028882-0.22560.411142
20-0.088359-0.69010.246371
210.0271340.21190.416438
22-0.032114-0.25080.401399
230.0863060.67410.251407
24-0.010248-0.080.468235

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.84266 & 6.5814 & 0 \tabularnewline
2 & -0.254719 & -1.9894 & 0.025572 \tabularnewline
3 & 0.262423 & 2.0496 & 0.022356 \tabularnewline
4 & 0.280867 & 2.1936 & 0.016041 \tabularnewline
5 & 0.269342 & 2.1036 & 0.019771 \tabularnewline
6 & 0.051683 & 0.4037 & 0.343939 \tabularnewline
7 & -0.161316 & -1.2599 & 0.106249 \tabularnewline
8 & -0.116504 & -0.9099 & 0.183222 \tabularnewline
9 & -0.127042 & -0.9922 & 0.162503 \tabularnewline
10 & 0.018476 & 0.1443 & 0.44287 \tabularnewline
11 & -0.146335 & -1.1429 & 0.12877 \tabularnewline
12 & 0.015751 & 0.123 & 0.451247 \tabularnewline
13 & -0.232271 & -1.8141 & 0.037291 \tabularnewline
14 & 0.135396 & 1.0575 & 0.147232 \tabularnewline
15 & -0.069247 & -0.5408 & 0.295294 \tabularnewline
16 & -0.084446 & -0.6595 & 0.256015 \tabularnewline
17 & -0.10991 & -0.8584 & 0.197009 \tabularnewline
18 & -0.054208 & -0.4234 & 0.336754 \tabularnewline
19 & -0.028882 & -0.2256 & 0.411142 \tabularnewline
20 & -0.088359 & -0.6901 & 0.246371 \tabularnewline
21 & 0.027134 & 0.2119 & 0.416438 \tabularnewline
22 & -0.032114 & -0.2508 & 0.401399 \tabularnewline
23 & 0.086306 & 0.6741 & 0.251407 \tabularnewline
24 & -0.010248 & -0.08 & 0.468235 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60078&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.84266[/C][C]6.5814[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.254719[/C][C]-1.9894[/C][C]0.025572[/C][/ROW]
[ROW][C]3[/C][C]0.262423[/C][C]2.0496[/C][C]0.022356[/C][/ROW]
[ROW][C]4[/C][C]0.280867[/C][C]2.1936[/C][C]0.016041[/C][/ROW]
[ROW][C]5[/C][C]0.269342[/C][C]2.1036[/C][C]0.019771[/C][/ROW]
[ROW][C]6[/C][C]0.051683[/C][C]0.4037[/C][C]0.343939[/C][/ROW]
[ROW][C]7[/C][C]-0.161316[/C][C]-1.2599[/C][C]0.106249[/C][/ROW]
[ROW][C]8[/C][C]-0.116504[/C][C]-0.9099[/C][C]0.183222[/C][/ROW]
[ROW][C]9[/C][C]-0.127042[/C][C]-0.9922[/C][C]0.162503[/C][/ROW]
[ROW][C]10[/C][C]0.018476[/C][C]0.1443[/C][C]0.44287[/C][/ROW]
[ROW][C]11[/C][C]-0.146335[/C][C]-1.1429[/C][C]0.12877[/C][/ROW]
[ROW][C]12[/C][C]0.015751[/C][C]0.123[/C][C]0.451247[/C][/ROW]
[ROW][C]13[/C][C]-0.232271[/C][C]-1.8141[/C][C]0.037291[/C][/ROW]
[ROW][C]14[/C][C]0.135396[/C][C]1.0575[/C][C]0.147232[/C][/ROW]
[ROW][C]15[/C][C]-0.069247[/C][C]-0.5408[/C][C]0.295294[/C][/ROW]
[ROW][C]16[/C][C]-0.084446[/C][C]-0.6595[/C][C]0.256015[/C][/ROW]
[ROW][C]17[/C][C]-0.10991[/C][C]-0.8584[/C][C]0.197009[/C][/ROW]
[ROW][C]18[/C][C]-0.054208[/C][C]-0.4234[/C][C]0.336754[/C][/ROW]
[ROW][C]19[/C][C]-0.028882[/C][C]-0.2256[/C][C]0.411142[/C][/ROW]
[ROW][C]20[/C][C]-0.088359[/C][C]-0.6901[/C][C]0.246371[/C][/ROW]
[ROW][C]21[/C][C]0.027134[/C][C]0.2119[/C][C]0.416438[/C][/ROW]
[ROW][C]22[/C][C]-0.032114[/C][C]-0.2508[/C][C]0.401399[/C][/ROW]
[ROW][C]23[/C][C]0.086306[/C][C]0.6741[/C][C]0.251407[/C][/ROW]
[ROW][C]24[/C][C]-0.010248[/C][C]-0.08[/C][C]0.468235[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60078&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60078&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.842666.58140
2-0.254719-1.98940.025572
30.2624232.04960.022356
40.2808672.19360.016041
50.2693422.10360.019771
60.0516830.40370.343939
7-0.161316-1.25990.106249
8-0.116504-0.90990.183222
9-0.127042-0.99220.162503
100.0184760.14430.44287
11-0.146335-1.14290.12877
120.0157510.1230.451247
13-0.232271-1.81410.037291
140.1353961.05750.147232
15-0.069247-0.54080.295294
16-0.084446-0.65950.256015
17-0.10991-0.85840.197009
18-0.054208-0.42340.336754
19-0.028882-0.22560.411142
20-0.088359-0.69010.246371
210.0271340.21190.416438
22-0.032114-0.25080.401399
230.0863060.67410.251407
24-0.010248-0.080.468235



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