Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_autocorrelation.wasp
Title produced by software(Partial) Autocorrelation Function
Date of computationWed, 29 Dec 2010 15:58:07 +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/Dec/29/t12936382092gtqluga4ihxozy.htm/, Retrieved Fri, 03 May 2024 05:49:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=116927, Retrieved Fri, 03 May 2024 05:49:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact112
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Paper PAC coins] [2010-12-29 15:58:07] [be9f1751361e0e66b042227828c71db5] [Current]
Feedback Forum

Post a new message
Dataseries X:
34420
34070
33978
34484
34645
34410
34534
35019
35508
35488
35709
36534
36066
35724
35727
36281
36017
35780
36003
36285
36419
36413
36663
37451
37063
36613
36564
37064
36817
36621
36798
36967
36926
36975
37324
38159
37776
37465
37451
37944
37737
37603
37813
37960
37934
37975
38241
39176
39137
38797
38730
39031
38851
38727
39291
39407
39326
39326
39617
40458
40425
40092
39939
40174
40065
39922
40107
40163
40116
40118
40416
41215
40852
40497
40430
40766
40626
40442
40590
40673
40660
40736
41082
41873
41507
41104
40963
41227
41063
40873
41016
41433
41345
41375
41597
42225
41937
41642
41551
41866
41744
41615
41764
41828
41786
41852
42183
42937
42635
42292
42202
42577
42600
42433
42584
42660
42659
42712
43039
43664
43397
43110
43005
43159
43066
42977
43139
43226
43242
43348
43605
44225
43983
43754
43632
43868
43864
43808
43954
44032
44090
44210
44435
44919
44785
44616
44496
44600
44463
44232
44248
44282
44311
44362
44617
45022
44882
44594
44502
44752
44690
44533
44604
44646
44652
44718
44928
45285
45183
44964
44875
45071
44985
44854
44925
44970
45011
45107
45306
45773
45625
45391
45325
45430
45321
45238
45246
45281
45297
45349
45536
45903
45716
45419
45237
45349
45260
45139
45154
45186
45262
45227
45313
45564
45392
45114
44996
45159
45107
44963
45005
45024
45025
45053
45143




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116927&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116927&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116927&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.98315314.41590
20.96467114.14490
30.94877713.91180
40.93496713.70930
50.91879713.47220
60.90203913.22650
70.88826113.02450
80.87566112.83970
90.86204212.640
100.84910312.45030
110.83914512.30430
120.83064912.17970
130.81519511.95310
140.7983511.70610
150.78403811.49630
160.7718711.31780
170.75636511.09050
180.74033410.85540
190.72750110.66730
200.7151710.48640
210.70085710.27660
220.68710210.07490
230.6762429.91570

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.983153 & 14.4159 & 0 \tabularnewline
2 & 0.964671 & 14.1449 & 0 \tabularnewline
3 & 0.948777 & 13.9118 & 0 \tabularnewline
4 & 0.934967 & 13.7093 & 0 \tabularnewline
5 & 0.918797 & 13.4722 & 0 \tabularnewline
6 & 0.902039 & 13.2265 & 0 \tabularnewline
7 & 0.888261 & 13.0245 & 0 \tabularnewline
8 & 0.875661 & 12.8397 & 0 \tabularnewline
9 & 0.862042 & 12.64 & 0 \tabularnewline
10 & 0.849103 & 12.4503 & 0 \tabularnewline
11 & 0.839145 & 12.3043 & 0 \tabularnewline
12 & 0.830649 & 12.1797 & 0 \tabularnewline
13 & 0.815195 & 11.9531 & 0 \tabularnewline
14 & 0.79835 & 11.7061 & 0 \tabularnewline
15 & 0.784038 & 11.4963 & 0 \tabularnewline
16 & 0.77187 & 11.3178 & 0 \tabularnewline
17 & 0.756365 & 11.0905 & 0 \tabularnewline
18 & 0.740334 & 10.8554 & 0 \tabularnewline
19 & 0.727501 & 10.6673 & 0 \tabularnewline
20 & 0.71517 & 10.4864 & 0 \tabularnewline
21 & 0.700857 & 10.2766 & 0 \tabularnewline
22 & 0.687102 & 10.0749 & 0 \tabularnewline
23 & 0.676242 & 9.9157 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116927&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.983153[/C][C]14.4159[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.964671[/C][C]14.1449[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.948777[/C][C]13.9118[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.934967[/C][C]13.7093[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.918797[/C][C]13.4722[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.902039[/C][C]13.2265[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.888261[/C][C]13.0245[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.875661[/C][C]12.8397[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.862042[/C][C]12.64[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.849103[/C][C]12.4503[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.839145[/C][C]12.3043[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.830649[/C][C]12.1797[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.815195[/C][C]11.9531[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.79835[/C][C]11.7061[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.784038[/C][C]11.4963[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.77187[/C][C]11.3178[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.756365[/C][C]11.0905[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.740334[/C][C]10.8554[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.727501[/C][C]10.6673[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.71517[/C][C]10.4864[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.700857[/C][C]10.2766[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0.687102[/C][C]10.0749[/C][C]0[/C][/ROW]
[ROW][C]23[/C][C]0.676242[/C][C]9.9157[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116927&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116927&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.98315314.41590
20.96467114.14490
30.94877713.91180
40.93496713.70930
50.91879713.47220
60.90203913.22650
70.88826113.02450
80.87566112.83970
90.86204212.640
100.84910312.45030
110.83914512.30430
120.83064912.17970
130.81519511.95310
140.7983511.70610
150.78403811.49630
160.7718711.31780
170.75636511.09050
180.74033410.85540
190.72750110.66730
200.7151710.48640
210.70085710.27660
220.68710210.07490
230.6762429.91570







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.98315314.41590
2-0.057447-0.84230.200268
30.0706531.0360.150688
40.046770.68580.246794
5-0.078441-1.15020.125676
6-0.010135-0.14860.441
70.0760661.11530.132973
80.0095260.13970.444525
9-0.025331-0.37140.355344
100.0319520.46850.319948
110.0698021.02350.153613
120.0256320.37580.353704
13-0.198975-2.91760.001951
14-0.013716-0.20110.420397
150.0419040.61440.269789
160.0208870.30630.379849
17-0.078142-1.14580.12658
180.0153870.22560.410856
190.0555860.81510.207972
20-0.031145-0.45670.324184
21-0.036683-0.53790.295609
220.0354090.51920.302077
230.0322980.47360.318139

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.983153 & 14.4159 & 0 \tabularnewline
2 & -0.057447 & -0.8423 & 0.200268 \tabularnewline
3 & 0.070653 & 1.036 & 0.150688 \tabularnewline
4 & 0.04677 & 0.6858 & 0.246794 \tabularnewline
5 & -0.078441 & -1.1502 & 0.125676 \tabularnewline
6 & -0.010135 & -0.1486 & 0.441 \tabularnewline
7 & 0.076066 & 1.1153 & 0.132973 \tabularnewline
8 & 0.009526 & 0.1397 & 0.444525 \tabularnewline
9 & -0.025331 & -0.3714 & 0.355344 \tabularnewline
10 & 0.031952 & 0.4685 & 0.319948 \tabularnewline
11 & 0.069802 & 1.0235 & 0.153613 \tabularnewline
12 & 0.025632 & 0.3758 & 0.353704 \tabularnewline
13 & -0.198975 & -2.9176 & 0.001951 \tabularnewline
14 & -0.013716 & -0.2011 & 0.420397 \tabularnewline
15 & 0.041904 & 0.6144 & 0.269789 \tabularnewline
16 & 0.020887 & 0.3063 & 0.379849 \tabularnewline
17 & -0.078142 & -1.1458 & 0.12658 \tabularnewline
18 & 0.015387 & 0.2256 & 0.410856 \tabularnewline
19 & 0.055586 & 0.8151 & 0.207972 \tabularnewline
20 & -0.031145 & -0.4567 & 0.324184 \tabularnewline
21 & -0.036683 & -0.5379 & 0.295609 \tabularnewline
22 & 0.035409 & 0.5192 & 0.302077 \tabularnewline
23 & 0.032298 & 0.4736 & 0.318139 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116927&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.983153[/C][C]14.4159[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.057447[/C][C]-0.8423[/C][C]0.200268[/C][/ROW]
[ROW][C]3[/C][C]0.070653[/C][C]1.036[/C][C]0.150688[/C][/ROW]
[ROW][C]4[/C][C]0.04677[/C][C]0.6858[/C][C]0.246794[/C][/ROW]
[ROW][C]5[/C][C]-0.078441[/C][C]-1.1502[/C][C]0.125676[/C][/ROW]
[ROW][C]6[/C][C]-0.010135[/C][C]-0.1486[/C][C]0.441[/C][/ROW]
[ROW][C]7[/C][C]0.076066[/C][C]1.1153[/C][C]0.132973[/C][/ROW]
[ROW][C]8[/C][C]0.009526[/C][C]0.1397[/C][C]0.444525[/C][/ROW]
[ROW][C]9[/C][C]-0.025331[/C][C]-0.3714[/C][C]0.355344[/C][/ROW]
[ROW][C]10[/C][C]0.031952[/C][C]0.4685[/C][C]0.319948[/C][/ROW]
[ROW][C]11[/C][C]0.069802[/C][C]1.0235[/C][C]0.153613[/C][/ROW]
[ROW][C]12[/C][C]0.025632[/C][C]0.3758[/C][C]0.353704[/C][/ROW]
[ROW][C]13[/C][C]-0.198975[/C][C]-2.9176[/C][C]0.001951[/C][/ROW]
[ROW][C]14[/C][C]-0.013716[/C][C]-0.2011[/C][C]0.420397[/C][/ROW]
[ROW][C]15[/C][C]0.041904[/C][C]0.6144[/C][C]0.269789[/C][/ROW]
[ROW][C]16[/C][C]0.020887[/C][C]0.3063[/C][C]0.379849[/C][/ROW]
[ROW][C]17[/C][C]-0.078142[/C][C]-1.1458[/C][C]0.12658[/C][/ROW]
[ROW][C]18[/C][C]0.015387[/C][C]0.2256[/C][C]0.410856[/C][/ROW]
[ROW][C]19[/C][C]0.055586[/C][C]0.8151[/C][C]0.207972[/C][/ROW]
[ROW][C]20[/C][C]-0.031145[/C][C]-0.4567[/C][C]0.324184[/C][/ROW]
[ROW][C]21[/C][C]-0.036683[/C][C]-0.5379[/C][C]0.295609[/C][/ROW]
[ROW][C]22[/C][C]0.035409[/C][C]0.5192[/C][C]0.302077[/C][/ROW]
[ROW][C]23[/C][C]0.032298[/C][C]0.4736[/C][C]0.318139[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116927&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116927&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.98315314.41590
2-0.057447-0.84230.200268
30.0706531.0360.150688
40.046770.68580.246794
5-0.078441-1.15020.125676
6-0.010135-0.14860.441
70.0760661.11530.132973
80.0095260.13970.444525
9-0.025331-0.37140.355344
100.0319520.46850.319948
110.0698021.02350.153613
120.0256320.37580.353704
13-0.198975-2.91760.001951
14-0.013716-0.20110.420397
150.0419040.61440.269789
160.0208870.30630.379849
17-0.078142-1.14580.12658
180.0153870.22560.410856
190.0555860.81510.207972
20-0.031145-0.45670.324184
21-0.036683-0.53790.295609
220.0354090.51920.302077
230.0322980.47360.318139



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