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, 24 Dec 2008 05:43:10 -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/2008/Dec/24/t1230122718wnct4zvkak83l32.htm/, Retrieved Sun, 19 May 2024 09:20:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=36531, Retrieved Sun, 19 May 2024 09:20:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact187
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Data Series] [Airline data] [2007-10-18 09:58:47] [42daae401fd3def69a25014f2252b4c2]
F RMPD  [Spectral Analysis] [Non Stationary Ti...] [2008-12-02 11:59:49] [74be16979710d4c4e7c6647856088456]
F RM D    [(Partial) Autocorrelation Function] [Non Stationary Ti...] [2008-12-02 12:22:21] [8ac58ef7b35dc5a117bc162cf16850e9]
-   PD        [(Partial) Autocorrelation Function] [autocorr2] [2008-12-24 12:43:10] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
143,9
142,4
136,1
131,7
125,9
131,4
133,8
136,2
133,3
131
127,3
138,8
143,6




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.4268191.53890.073902
2-0.185712-0.66960.257417
3-0.355336-1.28120.111257
4-0.202828-0.73130.238784
50.087520.31560.378673
60.1352610.48770.316945
7-0.112995-0.40740.345168
8-0.350408-1.26340.114315
9-0.285036-1.02770.161415
10-0.076898-0.27730.39297
110.2348210.84670.20625
120.1847920.66630.258443
13NANANA
14NANANA
15NANANA
16NANANA
17NANANA
18NANANA
19NANANA
20NANANA
21NANANA
22NANANA
23NANANA
24NANANA
25NANANA
26NANANA
27NANANA
28NANANA
29NANANA
30NANANA
31NANANA
32NANANA
33NANANA
34NANANA
35NANANA
36NANANA

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.426819 & 1.5389 & 0.073902 \tabularnewline
2 & -0.185712 & -0.6696 & 0.257417 \tabularnewline
3 & -0.355336 & -1.2812 & 0.111257 \tabularnewline
4 & -0.202828 & -0.7313 & 0.238784 \tabularnewline
5 & 0.08752 & 0.3156 & 0.378673 \tabularnewline
6 & 0.135261 & 0.4877 & 0.316945 \tabularnewline
7 & -0.112995 & -0.4074 & 0.345168 \tabularnewline
8 & -0.350408 & -1.2634 & 0.114315 \tabularnewline
9 & -0.285036 & -1.0277 & 0.161415 \tabularnewline
10 & -0.076898 & -0.2773 & 0.39297 \tabularnewline
11 & 0.234821 & 0.8467 & 0.20625 \tabularnewline
12 & 0.184792 & 0.6663 & 0.258443 \tabularnewline
13 & NA & NA & NA \tabularnewline
14 & NA & NA & NA \tabularnewline
15 & NA & NA & NA \tabularnewline
16 & NA & NA & NA \tabularnewline
17 & NA & NA & NA \tabularnewline
18 & NA & NA & NA \tabularnewline
19 & NA & NA & NA \tabularnewline
20 & NA & NA & NA \tabularnewline
21 & NA & NA & NA \tabularnewline
22 & NA & NA & NA \tabularnewline
23 & NA & NA & NA \tabularnewline
24 & NA & NA & NA \tabularnewline
25 & NA & NA & NA \tabularnewline
26 & NA & NA & NA \tabularnewline
27 & NA & NA & NA \tabularnewline
28 & NA & NA & NA \tabularnewline
29 & NA & NA & NA \tabularnewline
30 & NA & NA & NA \tabularnewline
31 & NA & NA & NA \tabularnewline
32 & NA & NA & NA \tabularnewline
33 & NA & NA & NA \tabularnewline
34 & NA & NA & NA \tabularnewline
35 & NA & NA & NA \tabularnewline
36 & NA & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36531&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.426819[/C][C]1.5389[/C][C]0.073902[/C][/ROW]
[ROW][C]2[/C][C]-0.185712[/C][C]-0.6696[/C][C]0.257417[/C][/ROW]
[ROW][C]3[/C][C]-0.355336[/C][C]-1.2812[/C][C]0.111257[/C][/ROW]
[ROW][C]4[/C][C]-0.202828[/C][C]-0.7313[/C][C]0.238784[/C][/ROW]
[ROW][C]5[/C][C]0.08752[/C][C]0.3156[/C][C]0.378673[/C][/ROW]
[ROW][C]6[/C][C]0.135261[/C][C]0.4877[/C][C]0.316945[/C][/ROW]
[ROW][C]7[/C][C]-0.112995[/C][C]-0.4074[/C][C]0.345168[/C][/ROW]
[ROW][C]8[/C][C]-0.350408[/C][C]-1.2634[/C][C]0.114315[/C][/ROW]
[ROW][C]9[/C][C]-0.285036[/C][C]-1.0277[/C][C]0.161415[/C][/ROW]
[ROW][C]10[/C][C]-0.076898[/C][C]-0.2773[/C][C]0.39297[/C][/ROW]
[ROW][C]11[/C][C]0.234821[/C][C]0.8467[/C][C]0.20625[/C][/ROW]
[ROW][C]12[/C][C]0.184792[/C][C]0.6663[/C][C]0.258443[/C][/ROW]
[ROW][C]13[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]14[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]15[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]16[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]17[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]18[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]19[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]20[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]21[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]22[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]23[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]24[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]25[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]26[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]27[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]28[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]29[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]30[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]31[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]32[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]33[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]34[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]35[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]36[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36531&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36531&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.4268191.53890.073902
2-0.185712-0.66960.257417
3-0.355336-1.28120.111257
4-0.202828-0.73130.238784
50.087520.31560.378673
60.1352610.48770.316945
7-0.112995-0.40740.345168
8-0.350408-1.26340.114315
9-0.285036-1.02770.161415
10-0.076898-0.27730.39297
110.2348210.84670.20625
120.1847920.66630.258443
13NANANA
14NANANA
15NANANA
16NANANA
17NANANA
18NANANA
19NANANA
20NANANA
21NANANA
22NANANA
23NANANA
24NANANA
25NANANA
26NANANA
27NANANA
28NANANA
29NANANA
30NANANA
31NANANA
32NANANA
33NANANA
34NANANA
35NANANA
36NANANA







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4268191.53890.073902
2-0.449834-1.62190.064407
3-0.07422-0.26760.396602
4-0.058784-0.2120.417716
50.1100010.39660.349043
6-0.108313-0.39050.351235
7-0.214923-0.77490.226127
8-0.230495-0.83110.21047
9-0.093316-0.33650.370949
10-0.184764-0.66620.258474
110.1372110.49470.314526
12-0.262135-0.94510.180912
13NANANA
14NANANA
15NANANA
16NANANA
17NANANA
18NANANA
19NANANA
20NANANA
21NANANA
22NANANA
23NANANA
24NANANA
25NANANA
26NANANA
27NANANA
28NANANA
29NANANA
30NANANA
31NANANA
32NANANA
33NANANA
34NANANA
35NANANA
36NANANA

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.426819 & 1.5389 & 0.073902 \tabularnewline
2 & -0.449834 & -1.6219 & 0.064407 \tabularnewline
3 & -0.07422 & -0.2676 & 0.396602 \tabularnewline
4 & -0.058784 & -0.212 & 0.417716 \tabularnewline
5 & 0.110001 & 0.3966 & 0.349043 \tabularnewline
6 & -0.108313 & -0.3905 & 0.351235 \tabularnewline
7 & -0.214923 & -0.7749 & 0.226127 \tabularnewline
8 & -0.230495 & -0.8311 & 0.21047 \tabularnewline
9 & -0.093316 & -0.3365 & 0.370949 \tabularnewline
10 & -0.184764 & -0.6662 & 0.258474 \tabularnewline
11 & 0.137211 & 0.4947 & 0.314526 \tabularnewline
12 & -0.262135 & -0.9451 & 0.180912 \tabularnewline
13 & NA & NA & NA \tabularnewline
14 & NA & NA & NA \tabularnewline
15 & NA & NA & NA \tabularnewline
16 & NA & NA & NA \tabularnewline
17 & NA & NA & NA \tabularnewline
18 & NA & NA & NA \tabularnewline
19 & NA & NA & NA \tabularnewline
20 & NA & NA & NA \tabularnewline
21 & NA & NA & NA \tabularnewline
22 & NA & NA & NA \tabularnewline
23 & NA & NA & NA \tabularnewline
24 & NA & NA & NA \tabularnewline
25 & NA & NA & NA \tabularnewline
26 & NA & NA & NA \tabularnewline
27 & NA & NA & NA \tabularnewline
28 & NA & NA & NA \tabularnewline
29 & NA & NA & NA \tabularnewline
30 & NA & NA & NA \tabularnewline
31 & NA & NA & NA \tabularnewline
32 & NA & NA & NA \tabularnewline
33 & NA & NA & NA \tabularnewline
34 & NA & NA & NA \tabularnewline
35 & NA & NA & NA \tabularnewline
36 & NA & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36531&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.426819[/C][C]1.5389[/C][C]0.073902[/C][/ROW]
[ROW][C]2[/C][C]-0.449834[/C][C]-1.6219[/C][C]0.064407[/C][/ROW]
[ROW][C]3[/C][C]-0.07422[/C][C]-0.2676[/C][C]0.396602[/C][/ROW]
[ROW][C]4[/C][C]-0.058784[/C][C]-0.212[/C][C]0.417716[/C][/ROW]
[ROW][C]5[/C][C]0.110001[/C][C]0.3966[/C][C]0.349043[/C][/ROW]
[ROW][C]6[/C][C]-0.108313[/C][C]-0.3905[/C][C]0.351235[/C][/ROW]
[ROW][C]7[/C][C]-0.214923[/C][C]-0.7749[/C][C]0.226127[/C][/ROW]
[ROW][C]8[/C][C]-0.230495[/C][C]-0.8311[/C][C]0.21047[/C][/ROW]
[ROW][C]9[/C][C]-0.093316[/C][C]-0.3365[/C][C]0.370949[/C][/ROW]
[ROW][C]10[/C][C]-0.184764[/C][C]-0.6662[/C][C]0.258474[/C][/ROW]
[ROW][C]11[/C][C]0.137211[/C][C]0.4947[/C][C]0.314526[/C][/ROW]
[ROW][C]12[/C][C]-0.262135[/C][C]-0.9451[/C][C]0.180912[/C][/ROW]
[ROW][C]13[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]14[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]15[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]16[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]17[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]18[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]19[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]20[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]21[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]22[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]23[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]24[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]25[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]26[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]27[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]28[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]29[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]30[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]31[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]32[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]33[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]34[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]35[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]36[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36531&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36531&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.4268191.53890.073902
2-0.449834-1.62190.064407
3-0.07422-0.26760.396602
4-0.058784-0.2120.417716
50.1100010.39660.349043
6-0.108313-0.39050.351235
7-0.214923-0.77490.226127
8-0.230495-0.83110.21047
9-0.093316-0.33650.370949
10-0.184764-0.66620.258474
110.1372110.49470.314526
12-0.262135-0.94510.180912
13NANANA
14NANANA
15NANANA
16NANANA
17NANANA
18NANANA
19NANANA
20NANANA
21NANANA
22NANANA
23NANANA
24NANANA
25NANANA
26NANANA
27NANANA
28NANANA
29NANANA
30NANANA
31NANANA
32NANANA
33NANANA
34NANANA
35NANANA
36NANANA



Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
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 (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='lags',ylab='ACF')
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')