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 computationSat, 03 Dec 2011 08:59:15 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/03/t132292076526hyaclptmf4w5x.htm/, Retrieved Sun, 28 Apr 2024 20:24:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=150456, Retrieved Sun, 28 Apr 2024 20:24:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact92
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2011-12-03 13:59:15] [ce4468323d272130d499477f5e05a6d2] [Current]
Feedback Forum

Post a new message
Dataseries X:
276986
260633
291551
275383
275302
231693
238829
274215
277808
299060
286629
232313
294053
267510
309739
280733
287298
235672
256449
288997
290789
321898
291834
241380
295469
258200
306102
281480
283101
237414
274834
299340
300383
340862
318794
265740
322656
281563
323461
312579
310784
262785
273754
320036
310336
342206
320052
265582
326988
300713
346414
317325
326208
270657
278158
324584
321801
343542
354040
278179
330246
307344
375874
335309
339271
280264
293689
341161
345097
368712
369403
288384
340981
319072
374214
344529
337271
281016
282224
320984
325426
366276
380296
300727
359326
327610
383563
352405
329351
294486
333454
334339
358000
396057
386976
307155
363909
344700
397561
376791
337085
299252
323136
329091
346991
461999
436533
360372
415467
382110
432197
424254
386728
354508
375765
367986
402378
426516
433313
338461
416834
381099
445673
412408
393997
348241
380134
373688
393588
434192
430731
344468
411891
370497
437305
411270
385495
341273
384217
373223
415771
448634
454341
350297
419104
398027
456059
430052
399757
362731
384896
385349
432289
468891
442702
370178
439400
393900
468700
438800
430100
366300
391000
380900
431400
465400
471500
387500
446400
421500
504800
492071
421253
396682
428000
421900
465600
525793
499855
435287
479499
473027
554410
489574
462157
420331




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150456&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'Gertrude Mary Cox' @ cox.wessa.net







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5050656.66230
20.4785646.31270
30.3265194.30711.4e-05
40.2756443.6360.000182
50.1706142.25060.012833
60.1876912.47580.007125
70.159542.10450.018386
80.1069451.41070.080059
90.0088560.11680.453569
10-0.105636-1.39340.082632
11-0.087061-1.14840.126186
12-0.32429-4.27771.6e-05
13-0.105208-1.38780.083488
14-0.117482-1.54970.061516
150.0576950.7610.223829
16-0.048326-0.63750.26233
17-0.076118-1.00410.158371
18-0.067674-0.89270.18663
19-0.07844-1.03470.151124
20-0.113887-1.50230.06742
21-0.059222-0.78120.217876
22-0.01285-0.16950.432798

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.505065 & 6.6623 & 0 \tabularnewline
2 & 0.478564 & 6.3127 & 0 \tabularnewline
3 & 0.326519 & 4.3071 & 1.4e-05 \tabularnewline
4 & 0.275644 & 3.636 & 0.000182 \tabularnewline
5 & 0.170614 & 2.2506 & 0.012833 \tabularnewline
6 & 0.187691 & 2.4758 & 0.007125 \tabularnewline
7 & 0.15954 & 2.1045 & 0.018386 \tabularnewline
8 & 0.106945 & 1.4107 & 0.080059 \tabularnewline
9 & 0.008856 & 0.1168 & 0.453569 \tabularnewline
10 & -0.105636 & -1.3934 & 0.082632 \tabularnewline
11 & -0.087061 & -1.1484 & 0.126186 \tabularnewline
12 & -0.32429 & -4.2777 & 1.6e-05 \tabularnewline
13 & -0.105208 & -1.3878 & 0.083488 \tabularnewline
14 & -0.117482 & -1.5497 & 0.061516 \tabularnewline
15 & 0.057695 & 0.761 & 0.223829 \tabularnewline
16 & -0.048326 & -0.6375 & 0.26233 \tabularnewline
17 & -0.076118 & -1.0041 & 0.158371 \tabularnewline
18 & -0.067674 & -0.8927 & 0.18663 \tabularnewline
19 & -0.07844 & -1.0347 & 0.151124 \tabularnewline
20 & -0.113887 & -1.5023 & 0.06742 \tabularnewline
21 & -0.059222 & -0.7812 & 0.217876 \tabularnewline
22 & -0.01285 & -0.1695 & 0.432798 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150456&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.505065[/C][C]6.6623[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.478564[/C][C]6.3127[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.326519[/C][C]4.3071[/C][C]1.4e-05[/C][/ROW]
[ROW][C]4[/C][C]0.275644[/C][C]3.636[/C][C]0.000182[/C][/ROW]
[ROW][C]5[/C][C]0.170614[/C][C]2.2506[/C][C]0.012833[/C][/ROW]
[ROW][C]6[/C][C]0.187691[/C][C]2.4758[/C][C]0.007125[/C][/ROW]
[ROW][C]7[/C][C]0.15954[/C][C]2.1045[/C][C]0.018386[/C][/ROW]
[ROW][C]8[/C][C]0.106945[/C][C]1.4107[/C][C]0.080059[/C][/ROW]
[ROW][C]9[/C][C]0.008856[/C][C]0.1168[/C][C]0.453569[/C][/ROW]
[ROW][C]10[/C][C]-0.105636[/C][C]-1.3934[/C][C]0.082632[/C][/ROW]
[ROW][C]11[/C][C]-0.087061[/C][C]-1.1484[/C][C]0.126186[/C][/ROW]
[ROW][C]12[/C][C]-0.32429[/C][C]-4.2777[/C][C]1.6e-05[/C][/ROW]
[ROW][C]13[/C][C]-0.105208[/C][C]-1.3878[/C][C]0.083488[/C][/ROW]
[ROW][C]14[/C][C]-0.117482[/C][C]-1.5497[/C][C]0.061516[/C][/ROW]
[ROW][C]15[/C][C]0.057695[/C][C]0.761[/C][C]0.223829[/C][/ROW]
[ROW][C]16[/C][C]-0.048326[/C][C]-0.6375[/C][C]0.26233[/C][/ROW]
[ROW][C]17[/C][C]-0.076118[/C][C]-1.0041[/C][C]0.158371[/C][/ROW]
[ROW][C]18[/C][C]-0.067674[/C][C]-0.8927[/C][C]0.18663[/C][/ROW]
[ROW][C]19[/C][C]-0.07844[/C][C]-1.0347[/C][C]0.151124[/C][/ROW]
[ROW][C]20[/C][C]-0.113887[/C][C]-1.5023[/C][C]0.06742[/C][/ROW]
[ROW][C]21[/C][C]-0.059222[/C][C]-0.7812[/C][C]0.217876[/C][/ROW]
[ROW][C]22[/C][C]-0.01285[/C][C]-0.1695[/C][C]0.432798[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150456&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150456&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.5050656.66230
20.4785646.31270
30.3265194.30711.4e-05
40.2756443.6360.000182
50.1706142.25060.012833
60.1876912.47580.007125
70.159542.10450.018386
80.1069451.41070.080059
90.0088560.11680.453569
10-0.105636-1.39340.082632
11-0.087061-1.14840.126186
12-0.32429-4.27771.6e-05
13-0.105208-1.38780.083488
14-0.117482-1.54970.061516
150.0576950.7610.223829
16-0.048326-0.63750.26233
17-0.076118-1.00410.158371
18-0.067674-0.89270.18663
19-0.07844-1.03470.151124
20-0.113887-1.50230.06742
21-0.059222-0.78120.217876
22-0.01285-0.16950.432798







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5050656.66230
20.3000013.95735.5e-05
30.0085630.1130.455097
40.0215360.28410.388346
5-0.047699-0.62920.265022
60.0717210.94610.172715
70.0489740.6460.25956
8-0.04921-0.64910.258558
9-0.128562-1.69580.045852
10-0.17816-2.35010.009945
110.0315660.41640.338821
12-0.307423-4.05523.8e-05
130.2369253.12530.001041
140.1010941.33350.092052
150.2212972.91910.001987
16-0.100666-1.32790.09298
17-0.208386-2.74880.003306
180.0776271.0240.153636
19-0.010752-0.14180.443688
20-0.040106-0.5290.298729
21-0.069782-0.92050.179295
22-0.049429-0.6520.257627

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.505065 & 6.6623 & 0 \tabularnewline
2 & 0.300001 & 3.9573 & 5.5e-05 \tabularnewline
3 & 0.008563 & 0.113 & 0.455097 \tabularnewline
4 & 0.021536 & 0.2841 & 0.388346 \tabularnewline
5 & -0.047699 & -0.6292 & 0.265022 \tabularnewline
6 & 0.071721 & 0.9461 & 0.172715 \tabularnewline
7 & 0.048974 & 0.646 & 0.25956 \tabularnewline
8 & -0.04921 & -0.6491 & 0.258558 \tabularnewline
9 & -0.128562 & -1.6958 & 0.045852 \tabularnewline
10 & -0.17816 & -2.3501 & 0.009945 \tabularnewline
11 & 0.031566 & 0.4164 & 0.338821 \tabularnewline
12 & -0.307423 & -4.0552 & 3.8e-05 \tabularnewline
13 & 0.236925 & 3.1253 & 0.001041 \tabularnewline
14 & 0.101094 & 1.3335 & 0.092052 \tabularnewline
15 & 0.221297 & 2.9191 & 0.001987 \tabularnewline
16 & -0.100666 & -1.3279 & 0.09298 \tabularnewline
17 & -0.208386 & -2.7488 & 0.003306 \tabularnewline
18 & 0.077627 & 1.024 & 0.153636 \tabularnewline
19 & -0.010752 & -0.1418 & 0.443688 \tabularnewline
20 & -0.040106 & -0.529 & 0.298729 \tabularnewline
21 & -0.069782 & -0.9205 & 0.179295 \tabularnewline
22 & -0.049429 & -0.652 & 0.257627 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150456&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.505065[/C][C]6.6623[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.300001[/C][C]3.9573[/C][C]5.5e-05[/C][/ROW]
[ROW][C]3[/C][C]0.008563[/C][C]0.113[/C][C]0.455097[/C][/ROW]
[ROW][C]4[/C][C]0.021536[/C][C]0.2841[/C][C]0.388346[/C][/ROW]
[ROW][C]5[/C][C]-0.047699[/C][C]-0.6292[/C][C]0.265022[/C][/ROW]
[ROW][C]6[/C][C]0.071721[/C][C]0.9461[/C][C]0.172715[/C][/ROW]
[ROW][C]7[/C][C]0.048974[/C][C]0.646[/C][C]0.25956[/C][/ROW]
[ROW][C]8[/C][C]-0.04921[/C][C]-0.6491[/C][C]0.258558[/C][/ROW]
[ROW][C]9[/C][C]-0.128562[/C][C]-1.6958[/C][C]0.045852[/C][/ROW]
[ROW][C]10[/C][C]-0.17816[/C][C]-2.3501[/C][C]0.009945[/C][/ROW]
[ROW][C]11[/C][C]0.031566[/C][C]0.4164[/C][C]0.338821[/C][/ROW]
[ROW][C]12[/C][C]-0.307423[/C][C]-4.0552[/C][C]3.8e-05[/C][/ROW]
[ROW][C]13[/C][C]0.236925[/C][C]3.1253[/C][C]0.001041[/C][/ROW]
[ROW][C]14[/C][C]0.101094[/C][C]1.3335[/C][C]0.092052[/C][/ROW]
[ROW][C]15[/C][C]0.221297[/C][C]2.9191[/C][C]0.001987[/C][/ROW]
[ROW][C]16[/C][C]-0.100666[/C][C]-1.3279[/C][C]0.09298[/C][/ROW]
[ROW][C]17[/C][C]-0.208386[/C][C]-2.7488[/C][C]0.003306[/C][/ROW]
[ROW][C]18[/C][C]0.077627[/C][C]1.024[/C][C]0.153636[/C][/ROW]
[ROW][C]19[/C][C]-0.010752[/C][C]-0.1418[/C][C]0.443688[/C][/ROW]
[ROW][C]20[/C][C]-0.040106[/C][C]-0.529[/C][C]0.298729[/C][/ROW]
[ROW][C]21[/C][C]-0.069782[/C][C]-0.9205[/C][C]0.179295[/C][/ROW]
[ROW][C]22[/C][C]-0.049429[/C][C]-0.652[/C][C]0.257627[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150456&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150456&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.5050656.66230
20.3000013.95735.5e-05
30.0085630.1130.455097
40.0215360.28410.388346
5-0.047699-0.62920.265022
60.0717210.94610.172715
70.0489740.6460.25956
8-0.04921-0.64910.258558
9-0.128562-1.69580.045852
10-0.17816-2.35010.009945
110.0315660.41640.338821
12-0.307423-4.05523.8e-05
130.2369253.12530.001041
140.1010941.33350.092052
150.2212972.91910.001987
16-0.100666-1.32790.09298
17-0.208386-2.74880.003306
180.0776271.0240.153636
19-0.010752-0.14180.443688
20-0.040106-0.5290.298729
21-0.069782-0.92050.179295
22-0.049429-0.6520.257627



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