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 computationFri, 16 Nov 2012 09:28:19 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Nov/16/t1353076142zi4tkjhid0ehy1p.htm/, Retrieved Sat, 27 Apr 2024 10:50:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=189939, Retrieved Sat, 27 Apr 2024 10:50:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact60
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2012-11-16 14:28:19] [69132d78f983438ba71d240f1672d59b] [Current]
- R PD    [(Partial) Autocorrelation Function] [] [2012-11-16 14:30:53] [fffbdc2eb6bf36a612a50d50ad291a0a]
- R PD    [(Partial) Autocorrelation Function] [] [2012-11-16 14:36:52] [fffbdc2eb6bf36a612a50d50ad291a0a]
Feedback Forum

Post a new message
Dataseries X:
3,43
3,43
3,43
3,43
3,43
3,43
3,43
3,43
3,5
3,52
3,53
3,53
3,53
3,53
3,53
3,53
3,53
3,53
3,53
3,53
3,58
3,58
3,59
3,59
3,59
3,59
3,59
3,59
3,59
3,59
3,59
3,61
3,71
3,83
3,83
3,83
3,83
3,83
3,83
3,83
3,83
3,83
3,83
3,83
3,92
3,92
3,92
3,92
3,92
3,92
3,92
3,92
3,92
3,92
3,92
3,92
3,98
3,98
3,98
3,98
3,98
3,98
3,98
3,98
3,98
3,98
3,98
3,98
4,09
4,09
4,09
4,09




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189939&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189939&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189939&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 time3 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9576358.12580
20.9104587.72550
30.8621717.31580
40.8138846.9060
50.7772086.59480
60.7405326.28360
70.7038565.97240
80.667185.66120
90.6373655.40820
100.6094495.17131e-06
110.5820514.93892e-06
120.5503344.66977e-06
130.5094874.32312.4e-05
140.4661733.95568.8e-05
150.4226433.58620.000304
160.3791123.21690.000971
170.3419152.90120.002464
180.3047192.58560.005872

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.957635 & 8.1258 & 0 \tabularnewline
2 & 0.910458 & 7.7255 & 0 \tabularnewline
3 & 0.862171 & 7.3158 & 0 \tabularnewline
4 & 0.813884 & 6.906 & 0 \tabularnewline
5 & 0.777208 & 6.5948 & 0 \tabularnewline
6 & 0.740532 & 6.2836 & 0 \tabularnewline
7 & 0.703856 & 5.9724 & 0 \tabularnewline
8 & 0.66718 & 5.6612 & 0 \tabularnewline
9 & 0.637365 & 5.4082 & 0 \tabularnewline
10 & 0.609449 & 5.1713 & 1e-06 \tabularnewline
11 & 0.582051 & 4.9389 & 2e-06 \tabularnewline
12 & 0.550334 & 4.6697 & 7e-06 \tabularnewline
13 & 0.509487 & 4.3231 & 2.4e-05 \tabularnewline
14 & 0.466173 & 3.9556 & 8.8e-05 \tabularnewline
15 & 0.422643 & 3.5862 & 0.000304 \tabularnewline
16 & 0.379112 & 3.2169 & 0.000971 \tabularnewline
17 & 0.341915 & 2.9012 & 0.002464 \tabularnewline
18 & 0.304719 & 2.5856 & 0.005872 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189939&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.957635[/C][C]8.1258[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.910458[/C][C]7.7255[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.862171[/C][C]7.3158[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.813884[/C][C]6.906[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.777208[/C][C]6.5948[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.740532[/C][C]6.2836[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.703856[/C][C]5.9724[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.66718[/C][C]5.6612[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.637365[/C][C]5.4082[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.609449[/C][C]5.1713[/C][C]1e-06[/C][/ROW]
[ROW][C]11[/C][C]0.582051[/C][C]4.9389[/C][C]2e-06[/C][/ROW]
[ROW][C]12[/C][C]0.550334[/C][C]4.6697[/C][C]7e-06[/C][/ROW]
[ROW][C]13[/C][C]0.509487[/C][C]4.3231[/C][C]2.4e-05[/C][/ROW]
[ROW][C]14[/C][C]0.466173[/C][C]3.9556[/C][C]8.8e-05[/C][/ROW]
[ROW][C]15[/C][C]0.422643[/C][C]3.5862[/C][C]0.000304[/C][/ROW]
[ROW][C]16[/C][C]0.379112[/C][C]3.2169[/C][C]0.000971[/C][/ROW]
[ROW][C]17[/C][C]0.341915[/C][C]2.9012[/C][C]0.002464[/C][/ROW]
[ROW][C]18[/C][C]0.304719[/C][C]2.5856[/C][C]0.005872[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189939&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189939&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.9576358.12580
20.9104587.72550
30.8621717.31580
40.8138846.9060
50.7772086.59480
60.7405326.28360
70.7038565.97240
80.667185.66120
90.6373655.40820
100.6094495.17131e-06
110.5820514.93892e-06
120.5503344.66977e-06
130.5094874.32312.4e-05
140.4661733.95568.8e-05
150.4226433.58620.000304
160.3791123.21690.000971
170.3419152.90120.002464
180.3047192.58560.005872







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9576358.12580
2-0.079659-0.67590.250624
3-0.035008-0.29710.383641
4-0.024668-0.20930.417396
50.1145870.97230.167078
6-0.036689-0.31130.378229
7-0.0243-0.20620.418611
8-0.022854-0.19390.42339
90.0817910.6940.244952
10-0.008709-0.07390.47065
11-0.017424-0.14780.441439
12-0.07546-0.64030.262005
13-0.10227-0.86780.194196
14-0.041354-0.35090.363345
15-0.023644-0.20060.420778
16-0.043009-0.36490.358112
170.0314690.2670.395107
18-0.036693-0.31130.378218

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.957635 & 8.1258 & 0 \tabularnewline
2 & -0.079659 & -0.6759 & 0.250624 \tabularnewline
3 & -0.035008 & -0.2971 & 0.383641 \tabularnewline
4 & -0.024668 & -0.2093 & 0.417396 \tabularnewline
5 & 0.114587 & 0.9723 & 0.167078 \tabularnewline
6 & -0.036689 & -0.3113 & 0.378229 \tabularnewline
7 & -0.0243 & -0.2062 & 0.418611 \tabularnewline
8 & -0.022854 & -0.1939 & 0.42339 \tabularnewline
9 & 0.081791 & 0.694 & 0.244952 \tabularnewline
10 & -0.008709 & -0.0739 & 0.47065 \tabularnewline
11 & -0.017424 & -0.1478 & 0.441439 \tabularnewline
12 & -0.07546 & -0.6403 & 0.262005 \tabularnewline
13 & -0.10227 & -0.8678 & 0.194196 \tabularnewline
14 & -0.041354 & -0.3509 & 0.363345 \tabularnewline
15 & -0.023644 & -0.2006 & 0.420778 \tabularnewline
16 & -0.043009 & -0.3649 & 0.358112 \tabularnewline
17 & 0.031469 & 0.267 & 0.395107 \tabularnewline
18 & -0.036693 & -0.3113 & 0.378218 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189939&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.957635[/C][C]8.1258[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.079659[/C][C]-0.6759[/C][C]0.250624[/C][/ROW]
[ROW][C]3[/C][C]-0.035008[/C][C]-0.2971[/C][C]0.383641[/C][/ROW]
[ROW][C]4[/C][C]-0.024668[/C][C]-0.2093[/C][C]0.417396[/C][/ROW]
[ROW][C]5[/C][C]0.114587[/C][C]0.9723[/C][C]0.167078[/C][/ROW]
[ROW][C]6[/C][C]-0.036689[/C][C]-0.3113[/C][C]0.378229[/C][/ROW]
[ROW][C]7[/C][C]-0.0243[/C][C]-0.2062[/C][C]0.418611[/C][/ROW]
[ROW][C]8[/C][C]-0.022854[/C][C]-0.1939[/C][C]0.42339[/C][/ROW]
[ROW][C]9[/C][C]0.081791[/C][C]0.694[/C][C]0.244952[/C][/ROW]
[ROW][C]10[/C][C]-0.008709[/C][C]-0.0739[/C][C]0.47065[/C][/ROW]
[ROW][C]11[/C][C]-0.017424[/C][C]-0.1478[/C][C]0.441439[/C][/ROW]
[ROW][C]12[/C][C]-0.07546[/C][C]-0.6403[/C][C]0.262005[/C][/ROW]
[ROW][C]13[/C][C]-0.10227[/C][C]-0.8678[/C][C]0.194196[/C][/ROW]
[ROW][C]14[/C][C]-0.041354[/C][C]-0.3509[/C][C]0.363345[/C][/ROW]
[ROW][C]15[/C][C]-0.023644[/C][C]-0.2006[/C][C]0.420778[/C][/ROW]
[ROW][C]16[/C][C]-0.043009[/C][C]-0.3649[/C][C]0.358112[/C][/ROW]
[ROW][C]17[/C][C]0.031469[/C][C]0.267[/C][C]0.395107[/C][/ROW]
[ROW][C]18[/C][C]-0.036693[/C][C]-0.3113[/C][C]0.378218[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189939&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189939&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.9576358.12580
2-0.079659-0.67590.250624
3-0.035008-0.29710.383641
4-0.024668-0.20930.417396
50.1145870.97230.167078
6-0.036689-0.31130.378229
7-0.0243-0.20620.418611
8-0.022854-0.19390.42339
90.0817910.6940.244952
10-0.008709-0.07390.47065
11-0.017424-0.14780.441439
12-0.07546-0.64030.262005
13-0.10227-0.86780.194196
14-0.041354-0.35090.363345
15-0.023644-0.20060.420778
16-0.043009-0.36490.358112
170.0314690.2670.395107
18-0.036693-0.31130.378218



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 ; par8 = ;
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 (par8 != '') par8 <- as.numeric(par8)
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')