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 computationMon, 03 May 2010 18:20:01 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/May/03/t12729108530pxzl26fpwioxdh.htm/, Retrieved Tue, 23 Apr 2024 11:55:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75288, Retrieved Tue, 23 Apr 2024 11:55:22 +0000
QR Codes:

Original text written by user:jaren 56 tem 66
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W21
Estimated Impact111
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [opgave 6bis Fiere...] [2010-05-03 18:20:01] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
93.2
96
95.2
77.1
70.9
64.8
70.1
77.3
79.5
100.6
100.7
107.1
95.9
82.8
83.3
80
80.4
67.5
75.7
71.1
89.3
101.1
105.2
114.1
96.3
84.4
91.2
81.9
80.5
70.4
74.8
75.9
86.3
98.7
100.9
113.8
89.8
84.4
87.2
85.6
72
69.2
77.5
78.1
94.3
97.7
100.2
116.4
97.1
93
96
80.5
76.1
69.9
73.6
92.6
94.2
93.5
108.5
109.4
105.1
92.5
97.1
81.4
79.1
72.1
78.7
87.1
91.4
109.9
116.3
113
100
84.8
94.3
87.1
90.3
72.4
84.9
92.7
92.2
114.9
112.5
118.3
106
91.2
96.6
96.3
88.2
70.2
86.5
88.2
102.8
119.1
119.2
125.1
106.1
102.1
105.2
101
84.3
87.5
92.7
94.4
113
113.9
122.9
132.7
106.9
96.6
127.3
98.2
100.2
89.4
95.3
104.2
106.4
116.2
135.9
134
104.6
107.1
123.5
98.8
98.6
90.6
89.1
105.2
114
122.1
138
142.2




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75288&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75288&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75288&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.032166-0.36820.356675
20.0003570.00410.498374
30.05220.59750.275615
4-0.204416-2.33960.010407
5-0.104504-1.19610.116909
6-0.304948-3.49030.000329
7-0.206225-2.36040.009867
8-0.102455-1.17270.121532
90.0573750.65670.256266
10-0.128821-1.47440.071383

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.032166 & -0.3682 & 0.356675 \tabularnewline
2 & 0.000357 & 0.0041 & 0.498374 \tabularnewline
3 & 0.0522 & 0.5975 & 0.275615 \tabularnewline
4 & -0.204416 & -2.3396 & 0.010407 \tabularnewline
5 & -0.104504 & -1.1961 & 0.116909 \tabularnewline
6 & -0.304948 & -3.4903 & 0.000329 \tabularnewline
7 & -0.206225 & -2.3604 & 0.009867 \tabularnewline
8 & -0.102455 & -1.1727 & 0.121532 \tabularnewline
9 & 0.057375 & 0.6567 & 0.256266 \tabularnewline
10 & -0.128821 & -1.4744 & 0.071383 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75288&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.032166[/C][C]-0.3682[/C][C]0.356675[/C][/ROW]
[ROW][C]2[/C][C]0.000357[/C][C]0.0041[/C][C]0.498374[/C][/ROW]
[ROW][C]3[/C][C]0.0522[/C][C]0.5975[/C][C]0.275615[/C][/ROW]
[ROW][C]4[/C][C]-0.204416[/C][C]-2.3396[/C][C]0.010407[/C][/ROW]
[ROW][C]5[/C][C]-0.104504[/C][C]-1.1961[/C][C]0.116909[/C][/ROW]
[ROW][C]6[/C][C]-0.304948[/C][C]-3.4903[/C][C]0.000329[/C][/ROW]
[ROW][C]7[/C][C]-0.206225[/C][C]-2.3604[/C][C]0.009867[/C][/ROW]
[ROW][C]8[/C][C]-0.102455[/C][C]-1.1727[/C][C]0.121532[/C][/ROW]
[ROW][C]9[/C][C]0.057375[/C][C]0.6567[/C][C]0.256266[/C][/ROW]
[ROW][C]10[/C][C]-0.128821[/C][C]-1.4744[/C][C]0.071383[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75288&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75288&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
1-0.032166-0.36820.356675
20.0003570.00410.498374
30.05220.59750.275615
4-0.204416-2.33960.010407
5-0.104504-1.19610.116909
6-0.304948-3.49030.000329
7-0.206225-2.36040.009867
8-0.102455-1.17270.121532
90.0573750.65670.256266
10-0.128821-1.47440.071383







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.032166-0.36820.356675
2-0.000679-0.00780.496908
30.0522440.5980.275449
4-0.201816-2.30990.011229
5-0.12085-1.38320.084479
6-0.334063-3.82350.000101
7-0.270881-3.10040.001183
8-0.266784-3.05350.00137
9-0.086789-0.99330.161186
10-0.430591-4.92831e-06

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.032166 & -0.3682 & 0.356675 \tabularnewline
2 & -0.000679 & -0.0078 & 0.496908 \tabularnewline
3 & 0.052244 & 0.598 & 0.275449 \tabularnewline
4 & -0.201816 & -2.3099 & 0.011229 \tabularnewline
5 & -0.12085 & -1.3832 & 0.084479 \tabularnewline
6 & -0.334063 & -3.8235 & 0.000101 \tabularnewline
7 & -0.270881 & -3.1004 & 0.001183 \tabularnewline
8 & -0.266784 & -3.0535 & 0.00137 \tabularnewline
9 & -0.086789 & -0.9933 & 0.161186 \tabularnewline
10 & -0.430591 & -4.9283 & 1e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75288&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.032166[/C][C]-0.3682[/C][C]0.356675[/C][/ROW]
[ROW][C]2[/C][C]-0.000679[/C][C]-0.0078[/C][C]0.496908[/C][/ROW]
[ROW][C]3[/C][C]0.052244[/C][C]0.598[/C][C]0.275449[/C][/ROW]
[ROW][C]4[/C][C]-0.201816[/C][C]-2.3099[/C][C]0.011229[/C][/ROW]
[ROW][C]5[/C][C]-0.12085[/C][C]-1.3832[/C][C]0.084479[/C][/ROW]
[ROW][C]6[/C][C]-0.334063[/C][C]-3.8235[/C][C]0.000101[/C][/ROW]
[ROW][C]7[/C][C]-0.270881[/C][C]-3.1004[/C][C]0.001183[/C][/ROW]
[ROW][C]8[/C][C]-0.266784[/C][C]-3.0535[/C][C]0.00137[/C][/ROW]
[ROW][C]9[/C][C]-0.086789[/C][C]-0.9933[/C][C]0.161186[/C][/ROW]
[ROW][C]10[/C][C]-0.430591[/C][C]-4.9283[/C][C]1e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75288&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75288&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
1-0.032166-0.36820.356675
2-0.000679-0.00780.496908
30.0522440.5980.275449
4-0.201816-2.30990.011229
5-0.12085-1.38320.084479
6-0.334063-3.82350.000101
7-0.270881-3.10040.001183
8-0.266784-3.05350.00137
9-0.086789-0.99330.161186
10-0.430591-4.92831e-06



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