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 computationTue, 27 Nov 2007 13:24: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/2007/Nov/27/t1196194482or1ve8mfo3bfva7.htm/, Retrieved Sun, 05 May 2024 20:15:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=6947, Retrieved Sun, 05 May 2024 20:15:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact167
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Autocorrelation F...] [2007-11-27 20:24:08] [bebbf4ab6ac77d61a56e6916ab0650f9] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.48
1.48
1.48
1.48
1.48
1.48
1.48
1.48
1.48
1.48
1.48
1.57
1.58
1.58
1.58
1.58
1.59
1.60
1.60
1.61
1.61
1.61
1.62
1.63
1.63
1.64
1.64
1.64
1.64
1.64
1.65
1.65
1.65
1.65
1.65
1.66
1.66
1.67
1.68
1.68
1.68
1.68
1.69
1.70
1.70
1.71
1.72
1.73
1.74
1.74
1.75
1.75
1.75





Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational 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' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6947&T=0

[TABLE]
[ROW][C]Summary of compuational 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' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6947&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6947&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.28010
10.9390756.83660
20.8739466.36240
30.8069785.87490
40.7413495.39711e-06
50.6741434.90785e-06
60.6056494.40922.6e-05
70.5369163.90880.000133
80.4697853.42010.000606
90.401892.92580.002524
100.3332082.42580.009356
110.2666511.94120.028777
120.2329981.69620.047853
130.1993191.45110.076327
140.1638021.19250.119189
150.1253950.91290.182718
160.0893770.65070.259034

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 7.2801 & 0 \tabularnewline
1 & 0.939075 & 6.8366 & 0 \tabularnewline
2 & 0.873946 & 6.3624 & 0 \tabularnewline
3 & 0.806978 & 5.8749 & 0 \tabularnewline
4 & 0.741349 & 5.3971 & 1e-06 \tabularnewline
5 & 0.674143 & 4.9078 & 5e-06 \tabularnewline
6 & 0.605649 & 4.4092 & 2.6e-05 \tabularnewline
7 & 0.536916 & 3.9088 & 0.000133 \tabularnewline
8 & 0.469785 & 3.4201 & 0.000606 \tabularnewline
9 & 0.40189 & 2.9258 & 0.002524 \tabularnewline
10 & 0.333208 & 2.4258 & 0.009356 \tabularnewline
11 & 0.266651 & 1.9412 & 0.028777 \tabularnewline
12 & 0.232998 & 1.6962 & 0.047853 \tabularnewline
13 & 0.199319 & 1.4511 & 0.076327 \tabularnewline
14 & 0.163802 & 1.1925 & 0.119189 \tabularnewline
15 & 0.125395 & 0.9129 & 0.182718 \tabularnewline
16 & 0.089377 & 0.6507 & 0.259034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6947&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]0[/C][C]1[/C][C]7.2801[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.939075[/C][C]6.8366[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.873946[/C][C]6.3624[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.806978[/C][C]5.8749[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.741349[/C][C]5.3971[/C][C]1e-06[/C][/ROW]
[ROW][C]5[/C][C]0.674143[/C][C]4.9078[/C][C]5e-06[/C][/ROW]
[ROW][C]6[/C][C]0.605649[/C][C]4.4092[/C][C]2.6e-05[/C][/ROW]
[ROW][C]7[/C][C]0.536916[/C][C]3.9088[/C][C]0.000133[/C][/ROW]
[ROW][C]8[/C][C]0.469785[/C][C]3.4201[/C][C]0.000606[/C][/ROW]
[ROW][C]9[/C][C]0.40189[/C][C]2.9258[/C][C]0.002524[/C][/ROW]
[ROW][C]10[/C][C]0.333208[/C][C]2.4258[/C][C]0.009356[/C][/ROW]
[ROW][C]11[/C][C]0.266651[/C][C]1.9412[/C][C]0.028777[/C][/ROW]
[ROW][C]12[/C][C]0.232998[/C][C]1.6962[/C][C]0.047853[/C][/ROW]
[ROW][C]13[/C][C]0.199319[/C][C]1.4511[/C][C]0.076327[/C][/ROW]
[ROW][C]14[/C][C]0.163802[/C][C]1.1925[/C][C]0.119189[/C][/ROW]
[ROW][C]15[/C][C]0.125395[/C][C]0.9129[/C][C]0.182718[/C][/ROW]
[ROW][C]16[/C][C]0.089377[/C][C]0.6507[/C][C]0.259034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6947&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6947&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
017.28010
10.9390756.83660
20.8739466.36240
30.8069785.87490
40.7413495.39711e-06
50.6741434.90785e-06
60.6056494.40922.6e-05
70.5369163.90880.000133
80.4697853.42010.000606
90.401892.92580.002524
100.3332082.42580.009356
110.2666511.94120.028777
120.2329981.69620.047853
130.1993191.45110.076327
140.1638021.19250.119189
150.1253950.91290.182718
160.0893770.65070.259034







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9390756.83660
1-0.066999-0.48780.686135
2-0.049241-0.35850.639296
3-0.024713-0.17990.571047
4-0.051675-0.37620.645866
5-0.050654-0.36880.643113
6-0.043551-0.31710.623777
7-0.030934-0.22520.588657
8-0.053137-0.38680.64979
9-0.054975-0.40020.6547
10-0.032097-0.23370.591929
110.2308941.68090.049331
12-0.051337-0.37370.644954
13-0.058474-0.42570.663974
14-0.05442-0.39620.653219
15-0.021972-0.160.563239
160.0115560.08410.466636

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.939075 & 6.8366 & 0 \tabularnewline
1 & -0.066999 & -0.4878 & 0.686135 \tabularnewline
2 & -0.049241 & -0.3585 & 0.639296 \tabularnewline
3 & -0.024713 & -0.1799 & 0.571047 \tabularnewline
4 & -0.051675 & -0.3762 & 0.645866 \tabularnewline
5 & -0.050654 & -0.3688 & 0.643113 \tabularnewline
6 & -0.043551 & -0.3171 & 0.623777 \tabularnewline
7 & -0.030934 & -0.2252 & 0.588657 \tabularnewline
8 & -0.053137 & -0.3868 & 0.64979 \tabularnewline
9 & -0.054975 & -0.4002 & 0.6547 \tabularnewline
10 & -0.032097 & -0.2337 & 0.591929 \tabularnewline
11 & 0.230894 & 1.6809 & 0.049331 \tabularnewline
12 & -0.051337 & -0.3737 & 0.644954 \tabularnewline
13 & -0.058474 & -0.4257 & 0.663974 \tabularnewline
14 & -0.05442 & -0.3962 & 0.653219 \tabularnewline
15 & -0.021972 & -0.16 & 0.563239 \tabularnewline
16 & 0.011556 & 0.0841 & 0.466636 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6947&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]0[/C][C]0.939075[/C][C]6.8366[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]-0.066999[/C][C]-0.4878[/C][C]0.686135[/C][/ROW]
[ROW][C]2[/C][C]-0.049241[/C][C]-0.3585[/C][C]0.639296[/C][/ROW]
[ROW][C]3[/C][C]-0.024713[/C][C]-0.1799[/C][C]0.571047[/C][/ROW]
[ROW][C]4[/C][C]-0.051675[/C][C]-0.3762[/C][C]0.645866[/C][/ROW]
[ROW][C]5[/C][C]-0.050654[/C][C]-0.3688[/C][C]0.643113[/C][/ROW]
[ROW][C]6[/C][C]-0.043551[/C][C]-0.3171[/C][C]0.623777[/C][/ROW]
[ROW][C]7[/C][C]-0.030934[/C][C]-0.2252[/C][C]0.588657[/C][/ROW]
[ROW][C]8[/C][C]-0.053137[/C][C]-0.3868[/C][C]0.64979[/C][/ROW]
[ROW][C]9[/C][C]-0.054975[/C][C]-0.4002[/C][C]0.6547[/C][/ROW]
[ROW][C]10[/C][C]-0.032097[/C][C]-0.2337[/C][C]0.591929[/C][/ROW]
[ROW][C]11[/C][C]0.230894[/C][C]1.6809[/C][C]0.049331[/C][/ROW]
[ROW][C]12[/C][C]-0.051337[/C][C]-0.3737[/C][C]0.644954[/C][/ROW]
[ROW][C]13[/C][C]-0.058474[/C][C]-0.4257[/C][C]0.663974[/C][/ROW]
[ROW][C]14[/C][C]-0.05442[/C][C]-0.3962[/C][C]0.653219[/C][/ROW]
[ROW][C]15[/C][C]-0.021972[/C][C]-0.16[/C][C]0.563239[/C][/ROW]
[ROW][C]16[/C][C]0.011556[/C][C]0.0841[/C][C]0.466636[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6947&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6947&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
00.9390756.83660
1-0.066999-0.48780.686135
2-0.049241-0.35850.639296
3-0.024713-0.17990.571047
4-0.051675-0.37620.645866
5-0.050654-0.36880.643113
6-0.043551-0.31710.623777
7-0.030934-0.22520.588657
8-0.053137-0.38680.64979
9-0.054975-0.40020.6547
10-0.032097-0.23370.591929
110.2308941.68090.049331
12-0.051337-0.37370.644954
13-0.058474-0.42570.663974
14-0.05442-0.39620.653219
15-0.021972-0.160.563239
160.0115560.08410.466636



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
Parameters (R input):
par1 = Default ; 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 1:par1) {
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(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-1,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(mytstat,lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')