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 computationThu, 06 Dec 2007 06:51:21 -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/Dec/06/t1196948354s31thrno7jcmm5m.htm/, Retrieved Fri, 03 May 2024 06:37:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2609, Retrieved Fri, 03 May 2024 06:37:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsinne devriendt
Estimated Impact196
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Vraag 2 workshop ...] [2007-12-06 13:51:21] [011cc8cdd02d5893b5258ac3f5e21d83] [Current]
Feedback Forum

Post a new message
Dataseries X:
1,6
1,59
1,6
1,6
1,59
1,59
1,58
1,59
1,59
1,58
1,58
1,58
1,57
1,57
1,57
1,57
1,58
1,58
1,57
1,58
1,57
1,57
1,57
1,57
1,57
1,57
1,59
1,6
1,6
1,6
1,6
1,61
1,61
1,62
1,62
1,62
1,62
1,62
1,62
1,61
1,59
1,58
1,56
1,56
1,54
1,55
1,56
1,57
1,58
1,59
1,6
1,6
1,61
1,61
1,62
1,61
1,6
1,6
1,6
1,61
1,62
1,63
1,63
1,66
1,66
1,66
1,65
1,65
1,64
1,64
1,65
1,64




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=2609&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=2609&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2609&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
018.48530
10.9312397.90180
20.8405527.13230
30.7279416.17680
40.6043675.12821e-06
50.4734844.01767.1e-05
60.3480832.95360.00212
70.2336451.98250.025618
80.1335441.13320.130454
90.0608490.51630.303606
100.0166770.14150.443931
11-0.012878-0.10930.543355
12-0.040327-0.34220.633396
13-0.063564-0.53940.704347
14-0.075558-0.64110.738264
15-0.093034-0.78940.783772
16-0.110511-0.93770.824237
17-0.141335-1.19930.882821

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 8.4853 & 0 \tabularnewline
1 & 0.931239 & 7.9018 & 0 \tabularnewline
2 & 0.840552 & 7.1323 & 0 \tabularnewline
3 & 0.727941 & 6.1768 & 0 \tabularnewline
4 & 0.604367 & 5.1282 & 1e-06 \tabularnewline
5 & 0.473484 & 4.0176 & 7.1e-05 \tabularnewline
6 & 0.348083 & 2.9536 & 0.00212 \tabularnewline
7 & 0.233645 & 1.9825 & 0.025618 \tabularnewline
8 & 0.133544 & 1.1332 & 0.130454 \tabularnewline
9 & 0.060849 & 0.5163 & 0.303606 \tabularnewline
10 & 0.016677 & 0.1415 & 0.443931 \tabularnewline
11 & -0.012878 & -0.1093 & 0.543355 \tabularnewline
12 & -0.040327 & -0.3422 & 0.633396 \tabularnewline
13 & -0.063564 & -0.5394 & 0.704347 \tabularnewline
14 & -0.075558 & -0.6411 & 0.738264 \tabularnewline
15 & -0.093034 & -0.7894 & 0.783772 \tabularnewline
16 & -0.110511 & -0.9377 & 0.824237 \tabularnewline
17 & -0.141335 & -1.1993 & 0.882821 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2609&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]8.4853[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.931239[/C][C]7.9018[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.840552[/C][C]7.1323[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.727941[/C][C]6.1768[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.604367[/C][C]5.1282[/C][C]1e-06[/C][/ROW]
[ROW][C]5[/C][C]0.473484[/C][C]4.0176[/C][C]7.1e-05[/C][/ROW]
[ROW][C]6[/C][C]0.348083[/C][C]2.9536[/C][C]0.00212[/C][/ROW]
[ROW][C]7[/C][C]0.233645[/C][C]1.9825[/C][C]0.025618[/C][/ROW]
[ROW][C]8[/C][C]0.133544[/C][C]1.1332[/C][C]0.130454[/C][/ROW]
[ROW][C]9[/C][C]0.060849[/C][C]0.5163[/C][C]0.303606[/C][/ROW]
[ROW][C]10[/C][C]0.016677[/C][C]0.1415[/C][C]0.443931[/C][/ROW]
[ROW][C]11[/C][C]-0.012878[/C][C]-0.1093[/C][C]0.543355[/C][/ROW]
[ROW][C]12[/C][C]-0.040327[/C][C]-0.3422[/C][C]0.633396[/C][/ROW]
[ROW][C]13[/C][C]-0.063564[/C][C]-0.5394[/C][C]0.704347[/C][/ROW]
[ROW][C]14[/C][C]-0.075558[/C][C]-0.6411[/C][C]0.738264[/C][/ROW]
[ROW][C]15[/C][C]-0.093034[/C][C]-0.7894[/C][C]0.783772[/C][/ROW]
[ROW][C]16[/C][C]-0.110511[/C][C]-0.9377[/C][C]0.824237[/C][/ROW]
[ROW][C]17[/C][C]-0.141335[/C][C]-1.1993[/C][C]0.882821[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2609&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2609&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
018.48530
10.9312397.90180
20.8405527.13230
30.7279416.17680
40.6043675.12821e-06
50.4734844.01767.1e-05
60.3480832.95360.00212
70.2336451.98250.025618
80.1335441.13320.130454
90.0608490.51630.303606
100.0166770.14150.443931
11-0.012878-0.10930.543355
12-0.040327-0.34220.633396
13-0.063564-0.53940.704347
14-0.075558-0.64110.738264
15-0.093034-0.78940.783772
16-0.110511-0.93770.824237
17-0.141335-1.19930.882821







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9312397.90180
1-0.20071-1.70310.953567
2-0.196255-1.66530.949899
3-0.113351-0.96180.830319
4-0.103167-0.87540.807867
5-0.021692-0.18410.572759
6-0.002491-0.02110.508402
7-0.002262-0.01920.507629
80.092580.78560.21735
90.0872450.74030.230764
10-0.036504-0.30970.621176
11-0.119968-1.0180.843947
12-0.064548-0.54770.707206
130.0376550.31950.375132
14-0.081408-0.69080.754033
15-0.021192-0.17980.571102
16-0.116863-0.99160.837648
17-0.045323-0.38460.649158

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.931239 & 7.9018 & 0 \tabularnewline
1 & -0.20071 & -1.7031 & 0.953567 \tabularnewline
2 & -0.196255 & -1.6653 & 0.949899 \tabularnewline
3 & -0.113351 & -0.9618 & 0.830319 \tabularnewline
4 & -0.103167 & -0.8754 & 0.807867 \tabularnewline
5 & -0.021692 & -0.1841 & 0.572759 \tabularnewline
6 & -0.002491 & -0.0211 & 0.508402 \tabularnewline
7 & -0.002262 & -0.0192 & 0.507629 \tabularnewline
8 & 0.09258 & 0.7856 & 0.21735 \tabularnewline
9 & 0.087245 & 0.7403 & 0.230764 \tabularnewline
10 & -0.036504 & -0.3097 & 0.621176 \tabularnewline
11 & -0.119968 & -1.018 & 0.843947 \tabularnewline
12 & -0.064548 & -0.5477 & 0.707206 \tabularnewline
13 & 0.037655 & 0.3195 & 0.375132 \tabularnewline
14 & -0.081408 & -0.6908 & 0.754033 \tabularnewline
15 & -0.021192 & -0.1798 & 0.571102 \tabularnewline
16 & -0.116863 & -0.9916 & 0.837648 \tabularnewline
17 & -0.045323 & -0.3846 & 0.649158 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2609&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.931239[/C][C]7.9018[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]-0.20071[/C][C]-1.7031[/C][C]0.953567[/C][/ROW]
[ROW][C]2[/C][C]-0.196255[/C][C]-1.6653[/C][C]0.949899[/C][/ROW]
[ROW][C]3[/C][C]-0.113351[/C][C]-0.9618[/C][C]0.830319[/C][/ROW]
[ROW][C]4[/C][C]-0.103167[/C][C]-0.8754[/C][C]0.807867[/C][/ROW]
[ROW][C]5[/C][C]-0.021692[/C][C]-0.1841[/C][C]0.572759[/C][/ROW]
[ROW][C]6[/C][C]-0.002491[/C][C]-0.0211[/C][C]0.508402[/C][/ROW]
[ROW][C]7[/C][C]-0.002262[/C][C]-0.0192[/C][C]0.507629[/C][/ROW]
[ROW][C]8[/C][C]0.09258[/C][C]0.7856[/C][C]0.21735[/C][/ROW]
[ROW][C]9[/C][C]0.087245[/C][C]0.7403[/C][C]0.230764[/C][/ROW]
[ROW][C]10[/C][C]-0.036504[/C][C]-0.3097[/C][C]0.621176[/C][/ROW]
[ROW][C]11[/C][C]-0.119968[/C][C]-1.018[/C][C]0.843947[/C][/ROW]
[ROW][C]12[/C][C]-0.064548[/C][C]-0.5477[/C][C]0.707206[/C][/ROW]
[ROW][C]13[/C][C]0.037655[/C][C]0.3195[/C][C]0.375132[/C][/ROW]
[ROW][C]14[/C][C]-0.081408[/C][C]-0.6908[/C][C]0.754033[/C][/ROW]
[ROW][C]15[/C][C]-0.021192[/C][C]-0.1798[/C][C]0.571102[/C][/ROW]
[ROW][C]16[/C][C]-0.116863[/C][C]-0.9916[/C][C]0.837648[/C][/ROW]
[ROW][C]17[/C][C]-0.045323[/C][C]-0.3846[/C][C]0.649158[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2609&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2609&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.9312397.90180
1-0.20071-1.70310.953567
2-0.196255-1.66530.949899
3-0.113351-0.96180.830319
4-0.103167-0.87540.807867
5-0.021692-0.18410.572759
6-0.002491-0.02110.508402
7-0.002262-0.01920.507629
80.092580.78560.21735
90.0872450.74030.230764
10-0.036504-0.30970.621176
11-0.119968-1.0180.843947
12-0.064548-0.54770.707206
130.0376550.31950.375132
14-0.081408-0.69080.754033
15-0.021192-0.17980.571102
16-0.116863-0.99160.837648
17-0.045323-0.38460.649158



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')