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, 23 Oct 2015 09:59:41 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2015/Oct/23/t1445590801ezb5mhjz3syj7ff.htm/, Retrieved Tue, 14 May 2024 10:44:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=282850, Retrieved Tue, 14 May 2024 10:44:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact127
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Werkloosheid] [2015-10-23 08:59:41] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
46626
46018
42408
42483
40113
41381
62348
63611
58389
46175
40555
37909
37866
34418
31736
29533
27604
30575
51345
52455
43367
37077
33016
33117
32279
30369
28983
27864
24591
29528
46549
47932
41584
37295
34666
36773
39591
39833
39280
37742
35602
40096
57284
59961
53802
47364
44964
48612
45570
45118
41921
40167
37315
39206
57075
58664
51705
45527
41057
40867
41484
39738
37254
35177
32846
34079
51287
52800
48443
42223
38796
38952
42343
42023
39340
37149
35431
36537
49626
58677
56009
50069
46470
45603
46729
46989
44666
42920
40125
40941
57748
61246
59809
52682
48394
47436
49750
48172
44960
41831
38672
39704
56207
59254
57374
51309
47083
45092




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.7473587.76680
20.3391913.5250.000311
30.0682670.70950.239786
40.0013350.01390.494478
50.0559730.58170.280995
60.0894810.92990.177245
70.0252770.26270.396645
8-0.070827-0.73610.231646
9-0.066726-0.69340.244762
100.1291791.34250.09113
110.4588034.7683e-06
120.6514336.76990
130.4305134.4741e-05
140.0704410.7320.232863
15-0.163677-1.7010.045912
16-0.225991-2.34860.010333
17-0.177915-1.8490.0336
18-0.150819-1.56740.059978
19-0.204835-2.12870.017776
20-0.290677-3.02080.001574

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.747358 & 7.7668 & 0 \tabularnewline
2 & 0.339191 & 3.525 & 0.000311 \tabularnewline
3 & 0.068267 & 0.7095 & 0.239786 \tabularnewline
4 & 0.001335 & 0.0139 & 0.494478 \tabularnewline
5 & 0.055973 & 0.5817 & 0.280995 \tabularnewline
6 & 0.089481 & 0.9299 & 0.177245 \tabularnewline
7 & 0.025277 & 0.2627 & 0.396645 \tabularnewline
8 & -0.070827 & -0.7361 & 0.231646 \tabularnewline
9 & -0.066726 & -0.6934 & 0.244762 \tabularnewline
10 & 0.129179 & 1.3425 & 0.09113 \tabularnewline
11 & 0.458803 & 4.768 & 3e-06 \tabularnewline
12 & 0.651433 & 6.7699 & 0 \tabularnewline
13 & 0.430513 & 4.474 & 1e-05 \tabularnewline
14 & 0.070441 & 0.732 & 0.232863 \tabularnewline
15 & -0.163677 & -1.701 & 0.045912 \tabularnewline
16 & -0.225991 & -2.3486 & 0.010333 \tabularnewline
17 & -0.177915 & -1.849 & 0.0336 \tabularnewline
18 & -0.150819 & -1.5674 & 0.059978 \tabularnewline
19 & -0.204835 & -2.1287 & 0.017776 \tabularnewline
20 & -0.290677 & -3.0208 & 0.001574 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=282850&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.747358[/C][C]7.7668[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.339191[/C][C]3.525[/C][C]0.000311[/C][/ROW]
[ROW][C]3[/C][C]0.068267[/C][C]0.7095[/C][C]0.239786[/C][/ROW]
[ROW][C]4[/C][C]0.001335[/C][C]0.0139[/C][C]0.494478[/C][/ROW]
[ROW][C]5[/C][C]0.055973[/C][C]0.5817[/C][C]0.280995[/C][/ROW]
[ROW][C]6[/C][C]0.089481[/C][C]0.9299[/C][C]0.177245[/C][/ROW]
[ROW][C]7[/C][C]0.025277[/C][C]0.2627[/C][C]0.396645[/C][/ROW]
[ROW][C]8[/C][C]-0.070827[/C][C]-0.7361[/C][C]0.231646[/C][/ROW]
[ROW][C]9[/C][C]-0.066726[/C][C]-0.6934[/C][C]0.244762[/C][/ROW]
[ROW][C]10[/C][C]0.129179[/C][C]1.3425[/C][C]0.09113[/C][/ROW]
[ROW][C]11[/C][C]0.458803[/C][C]4.768[/C][C]3e-06[/C][/ROW]
[ROW][C]12[/C][C]0.651433[/C][C]6.7699[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.430513[/C][C]4.474[/C][C]1e-05[/C][/ROW]
[ROW][C]14[/C][C]0.070441[/C][C]0.732[/C][C]0.232863[/C][/ROW]
[ROW][C]15[/C][C]-0.163677[/C][C]-1.701[/C][C]0.045912[/C][/ROW]
[ROW][C]16[/C][C]-0.225991[/C][C]-2.3486[/C][C]0.010333[/C][/ROW]
[ROW][C]17[/C][C]-0.177915[/C][C]-1.849[/C][C]0.0336[/C][/ROW]
[ROW][C]18[/C][C]-0.150819[/C][C]-1.5674[/C][C]0.059978[/C][/ROW]
[ROW][C]19[/C][C]-0.204835[/C][C]-2.1287[/C][C]0.017776[/C][/ROW]
[ROW][C]20[/C][C]-0.290677[/C][C]-3.0208[/C][C]0.001574[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=282850&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=282850&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.7473587.76680
20.3391913.5250.000311
30.0682670.70950.239786
40.0013350.01390.494478
50.0559730.58170.280995
60.0894810.92990.177245
70.0252770.26270.396645
8-0.070827-0.73610.231646
9-0.066726-0.69340.244762
100.1291791.34250.09113
110.4588034.7683e-06
120.6514336.76990
130.4305134.4741e-05
140.0704410.7320.232863
15-0.163677-1.7010.045912
16-0.225991-2.34860.010333
17-0.177915-1.8490.0336
18-0.150819-1.56740.059978
19-0.204835-2.12870.017776
20-0.290677-3.02080.001574







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7473587.76680
2-0.496886-5.16381e-06
30.180961.88060.031361
40.0646480.67180.251558
50.0494550.5140.304168
6-0.076676-0.79680.213647
7-0.102772-1.0680.143944
80.0158340.16450.434803
90.1545971.60660.055529
100.3367183.49930.000339
110.3926214.08024.3e-05
120.0101040.1050.458285
13-0.63551-6.60440
140.1458871.51610.066208
15-0.029821-0.30990.378616
16-0.19283-2.00390.02379
17-0.06733-0.69970.242805
18-0.07353-0.76410.223224
190.0361680.37590.353874
20-0.05051-0.52490.300357

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.747358 & 7.7668 & 0 \tabularnewline
2 & -0.496886 & -5.1638 & 1e-06 \tabularnewline
3 & 0.18096 & 1.8806 & 0.031361 \tabularnewline
4 & 0.064648 & 0.6718 & 0.251558 \tabularnewline
5 & 0.049455 & 0.514 & 0.304168 \tabularnewline
6 & -0.076676 & -0.7968 & 0.213647 \tabularnewline
7 & -0.102772 & -1.068 & 0.143944 \tabularnewline
8 & 0.015834 & 0.1645 & 0.434803 \tabularnewline
9 & 0.154597 & 1.6066 & 0.055529 \tabularnewline
10 & 0.336718 & 3.4993 & 0.000339 \tabularnewline
11 & 0.392621 & 4.0802 & 4.3e-05 \tabularnewline
12 & 0.010104 & 0.105 & 0.458285 \tabularnewline
13 & -0.63551 & -6.6044 & 0 \tabularnewline
14 & 0.145887 & 1.5161 & 0.066208 \tabularnewline
15 & -0.029821 & -0.3099 & 0.378616 \tabularnewline
16 & -0.19283 & -2.0039 & 0.02379 \tabularnewline
17 & -0.06733 & -0.6997 & 0.242805 \tabularnewline
18 & -0.07353 & -0.7641 & 0.223224 \tabularnewline
19 & 0.036168 & 0.3759 & 0.353874 \tabularnewline
20 & -0.05051 & -0.5249 & 0.300357 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=282850&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.747358[/C][C]7.7668[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.496886[/C][C]-5.1638[/C][C]1e-06[/C][/ROW]
[ROW][C]3[/C][C]0.18096[/C][C]1.8806[/C][C]0.031361[/C][/ROW]
[ROW][C]4[/C][C]0.064648[/C][C]0.6718[/C][C]0.251558[/C][/ROW]
[ROW][C]5[/C][C]0.049455[/C][C]0.514[/C][C]0.304168[/C][/ROW]
[ROW][C]6[/C][C]-0.076676[/C][C]-0.7968[/C][C]0.213647[/C][/ROW]
[ROW][C]7[/C][C]-0.102772[/C][C]-1.068[/C][C]0.143944[/C][/ROW]
[ROW][C]8[/C][C]0.015834[/C][C]0.1645[/C][C]0.434803[/C][/ROW]
[ROW][C]9[/C][C]0.154597[/C][C]1.6066[/C][C]0.055529[/C][/ROW]
[ROW][C]10[/C][C]0.336718[/C][C]3.4993[/C][C]0.000339[/C][/ROW]
[ROW][C]11[/C][C]0.392621[/C][C]4.0802[/C][C]4.3e-05[/C][/ROW]
[ROW][C]12[/C][C]0.010104[/C][C]0.105[/C][C]0.458285[/C][/ROW]
[ROW][C]13[/C][C]-0.63551[/C][C]-6.6044[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.145887[/C][C]1.5161[/C][C]0.066208[/C][/ROW]
[ROW][C]15[/C][C]-0.029821[/C][C]-0.3099[/C][C]0.378616[/C][/ROW]
[ROW][C]16[/C][C]-0.19283[/C][C]-2.0039[/C][C]0.02379[/C][/ROW]
[ROW][C]17[/C][C]-0.06733[/C][C]-0.6997[/C][C]0.242805[/C][/ROW]
[ROW][C]18[/C][C]-0.07353[/C][C]-0.7641[/C][C]0.223224[/C][/ROW]
[ROW][C]19[/C][C]0.036168[/C][C]0.3759[/C][C]0.353874[/C][/ROW]
[ROW][C]20[/C][C]-0.05051[/C][C]-0.5249[/C][C]0.300357[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=282850&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=282850&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.7473587.76680
2-0.496886-5.16381e-06
30.180961.88060.031361
40.0646480.67180.251558
50.0494550.5140.304168
6-0.076676-0.79680.213647
7-0.102772-1.0680.143944
80.0158340.16450.434803
90.1545971.60660.055529
100.3367183.49930.000339
110.3926214.08024.3e-05
120.0101040.1050.458285
13-0.63551-6.60440
140.1458871.51610.066208
15-0.029821-0.30990.378616
16-0.19283-2.00390.02379
17-0.06733-0.69970.242805
18-0.07353-0.76410.223224
190.0361680.37590.353874
20-0.05051-0.52490.300357



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):
par8 <- ''
par7 <- '0.95'
par6 <- 'White Noise'
par5 <- '12'
par4 <- '0'
par3 <- '0'
par2 <- '1'
par1 <- 'Default'
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')