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 computationMon, 05 Dec 2011 12:52:58 -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/05/t1323107650irsk0edlg1yckh9.htm/, Retrieved Fri, 03 May 2024 12:18:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=151119, Retrieved Fri, 03 May 2024 12:18:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact75
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Aantal niet-werke...] [2011-12-05 17:52:58] [4352eab26b4a512b718de67a19830b91] [Current]
Feedback Forum

Post a new message
Dataseries X:
547612
563280
581302
572273
518654
520579
530577
540324
547970
555654
551174
548604
563668
586111
604378
600991
544686
537034
551531
563250
574761
580112
575093
557560
564478
580523
596594
586570
536214
523597
536535
536322
532638
528222
516141
501866
506174
517945
533590
528379
477580
469357
490243
492622
507561
516922
514258
509846
527070
541657
564591
555362
498662
511038
525919
531673
548854
560576
557274
565742
587625
619916
625809
619567
572942
572775
574205
579799
590072
593408
597141
595404
612117
628232
628884
620735
569028
567456
573100
584428
589379
590865
595454
594167
611324
612613
610763
593530
542722
536662
543599
555332
560854
562325
554788
547344
565464
577992
579714
569323
506971
500857
509127
509933
517009
519164
512238
509239
518585
522975
525192
516847
455626
454724
461251
470439
474605
476049
471067
470984
502831
512927
509673
484015
431328
436087
442867
447988
460070
467037
460170
464196
485025




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151119&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'George Udny Yule' @ yule.wessa.net







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2579112.96320.001806
2-0.244884-2.81350.002825
3-0.329586-3.78670.000115
4-0.245914-2.82530.002729
50.0864730.99350.161141
60.2410222.76910.003215
70.0892521.02540.153518
8-0.263314-3.02520.001493
9-0.317993-3.65350.000186
10-0.219545-2.52240.006422
110.2591452.97740.00173
120.8337919.57950
130.1825752.09760.018922
14-0.243341-2.79580.002975
15-0.310857-3.57150.000248
16-0.220237-2.53030.006285
170.0768890.88340.189317
180.1914722.19980.014779
190.0551890.63410.263564
20-0.268434-3.08410.001244
21-0.295533-3.39540.000453

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.257911 & 2.9632 & 0.001806 \tabularnewline
2 & -0.244884 & -2.8135 & 0.002825 \tabularnewline
3 & -0.329586 & -3.7867 & 0.000115 \tabularnewline
4 & -0.245914 & -2.8253 & 0.002729 \tabularnewline
5 & 0.086473 & 0.9935 & 0.161141 \tabularnewline
6 & 0.241022 & 2.7691 & 0.003215 \tabularnewline
7 & 0.089252 & 1.0254 & 0.153518 \tabularnewline
8 & -0.263314 & -3.0252 & 0.001493 \tabularnewline
9 & -0.317993 & -3.6535 & 0.000186 \tabularnewline
10 & -0.219545 & -2.5224 & 0.006422 \tabularnewline
11 & 0.259145 & 2.9774 & 0.00173 \tabularnewline
12 & 0.833791 & 9.5795 & 0 \tabularnewline
13 & 0.182575 & 2.0976 & 0.018922 \tabularnewline
14 & -0.243341 & -2.7958 & 0.002975 \tabularnewline
15 & -0.310857 & -3.5715 & 0.000248 \tabularnewline
16 & -0.220237 & -2.5303 & 0.006285 \tabularnewline
17 & 0.076889 & 0.8834 & 0.189317 \tabularnewline
18 & 0.191472 & 2.1998 & 0.014779 \tabularnewline
19 & 0.055189 & 0.6341 & 0.263564 \tabularnewline
20 & -0.268434 & -3.0841 & 0.001244 \tabularnewline
21 & -0.295533 & -3.3954 & 0.000453 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151119&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.257911[/C][C]2.9632[/C][C]0.001806[/C][/ROW]
[ROW][C]2[/C][C]-0.244884[/C][C]-2.8135[/C][C]0.002825[/C][/ROW]
[ROW][C]3[/C][C]-0.329586[/C][C]-3.7867[/C][C]0.000115[/C][/ROW]
[ROW][C]4[/C][C]-0.245914[/C][C]-2.8253[/C][C]0.002729[/C][/ROW]
[ROW][C]5[/C][C]0.086473[/C][C]0.9935[/C][C]0.161141[/C][/ROW]
[ROW][C]6[/C][C]0.241022[/C][C]2.7691[/C][C]0.003215[/C][/ROW]
[ROW][C]7[/C][C]0.089252[/C][C]1.0254[/C][C]0.153518[/C][/ROW]
[ROW][C]8[/C][C]-0.263314[/C][C]-3.0252[/C][C]0.001493[/C][/ROW]
[ROW][C]9[/C][C]-0.317993[/C][C]-3.6535[/C][C]0.000186[/C][/ROW]
[ROW][C]10[/C][C]-0.219545[/C][C]-2.5224[/C][C]0.006422[/C][/ROW]
[ROW][C]11[/C][C]0.259145[/C][C]2.9774[/C][C]0.00173[/C][/ROW]
[ROW][C]12[/C][C]0.833791[/C][C]9.5795[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.182575[/C][C]2.0976[/C][C]0.018922[/C][/ROW]
[ROW][C]14[/C][C]-0.243341[/C][C]-2.7958[/C][C]0.002975[/C][/ROW]
[ROW][C]15[/C][C]-0.310857[/C][C]-3.5715[/C][C]0.000248[/C][/ROW]
[ROW][C]16[/C][C]-0.220237[/C][C]-2.5303[/C][C]0.006285[/C][/ROW]
[ROW][C]17[/C][C]0.076889[/C][C]0.8834[/C][C]0.189317[/C][/ROW]
[ROW][C]18[/C][C]0.191472[/C][C]2.1998[/C][C]0.014779[/C][/ROW]
[ROW][C]19[/C][C]0.055189[/C][C]0.6341[/C][C]0.263564[/C][/ROW]
[ROW][C]20[/C][C]-0.268434[/C][C]-3.0841[/C][C]0.001244[/C][/ROW]
[ROW][C]21[/C][C]-0.295533[/C][C]-3.3954[/C][C]0.000453[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151119&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151119&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.2579112.96320.001806
2-0.244884-2.81350.002825
3-0.329586-3.78670.000115
4-0.245914-2.82530.002729
50.0864730.99350.161141
60.2410222.76910.003215
70.0892521.02540.153518
8-0.263314-3.02520.001493
9-0.317993-3.65350.000186
10-0.219545-2.52240.006422
110.2591452.97740.00173
120.8337919.57950
130.1825752.09760.018922
14-0.243341-2.79580.002975
15-0.310857-3.57150.000248
16-0.220237-2.53030.006285
170.0768890.88340.189317
180.1914722.19980.014779
190.0551890.63410.263564
20-0.268434-3.08410.001244
21-0.295533-3.39540.000453







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2579112.96320.001806
2-0.333592-3.83279.8e-05
3-0.192046-2.20640.014541
4-0.212331-2.43950.008018
50.0795040.91340.181341
60.0387130.44480.328604
7-0.047268-0.54310.294
8-0.285837-3.2840.000655
9-0.153691-1.76580.039872
10-0.282867-3.24990.000732
110.2015372.31550.011064
120.7236388.3140
13-0.218365-2.50880.006662
140.0883391.01490.155996
150.0110830.12730.449435
16-0.025274-0.29040.385993
17-0.044751-0.51410.304005
18-0.174261-2.00210.023661
19-0.051259-0.58890.27846
20-0.028403-0.32630.372347
21-0.04612-0.52990.298543

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.257911 & 2.9632 & 0.001806 \tabularnewline
2 & -0.333592 & -3.8327 & 9.8e-05 \tabularnewline
3 & -0.192046 & -2.2064 & 0.014541 \tabularnewline
4 & -0.212331 & -2.4395 & 0.008018 \tabularnewline
5 & 0.079504 & 0.9134 & 0.181341 \tabularnewline
6 & 0.038713 & 0.4448 & 0.328604 \tabularnewline
7 & -0.047268 & -0.5431 & 0.294 \tabularnewline
8 & -0.285837 & -3.284 & 0.000655 \tabularnewline
9 & -0.153691 & -1.7658 & 0.039872 \tabularnewline
10 & -0.282867 & -3.2499 & 0.000732 \tabularnewline
11 & 0.201537 & 2.3155 & 0.011064 \tabularnewline
12 & 0.723638 & 8.314 & 0 \tabularnewline
13 & -0.218365 & -2.5088 & 0.006662 \tabularnewline
14 & 0.088339 & 1.0149 & 0.155996 \tabularnewline
15 & 0.011083 & 0.1273 & 0.449435 \tabularnewline
16 & -0.025274 & -0.2904 & 0.385993 \tabularnewline
17 & -0.044751 & -0.5141 & 0.304005 \tabularnewline
18 & -0.174261 & -2.0021 & 0.023661 \tabularnewline
19 & -0.051259 & -0.5889 & 0.27846 \tabularnewline
20 & -0.028403 & -0.3263 & 0.372347 \tabularnewline
21 & -0.04612 & -0.5299 & 0.298543 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151119&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.257911[/C][C]2.9632[/C][C]0.001806[/C][/ROW]
[ROW][C]2[/C][C]-0.333592[/C][C]-3.8327[/C][C]9.8e-05[/C][/ROW]
[ROW][C]3[/C][C]-0.192046[/C][C]-2.2064[/C][C]0.014541[/C][/ROW]
[ROW][C]4[/C][C]-0.212331[/C][C]-2.4395[/C][C]0.008018[/C][/ROW]
[ROW][C]5[/C][C]0.079504[/C][C]0.9134[/C][C]0.181341[/C][/ROW]
[ROW][C]6[/C][C]0.038713[/C][C]0.4448[/C][C]0.328604[/C][/ROW]
[ROW][C]7[/C][C]-0.047268[/C][C]-0.5431[/C][C]0.294[/C][/ROW]
[ROW][C]8[/C][C]-0.285837[/C][C]-3.284[/C][C]0.000655[/C][/ROW]
[ROW][C]9[/C][C]-0.153691[/C][C]-1.7658[/C][C]0.039872[/C][/ROW]
[ROW][C]10[/C][C]-0.282867[/C][C]-3.2499[/C][C]0.000732[/C][/ROW]
[ROW][C]11[/C][C]0.201537[/C][C]2.3155[/C][C]0.011064[/C][/ROW]
[ROW][C]12[/C][C]0.723638[/C][C]8.314[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.218365[/C][C]-2.5088[/C][C]0.006662[/C][/ROW]
[ROW][C]14[/C][C]0.088339[/C][C]1.0149[/C][C]0.155996[/C][/ROW]
[ROW][C]15[/C][C]0.011083[/C][C]0.1273[/C][C]0.449435[/C][/ROW]
[ROW][C]16[/C][C]-0.025274[/C][C]-0.2904[/C][C]0.385993[/C][/ROW]
[ROW][C]17[/C][C]-0.044751[/C][C]-0.5141[/C][C]0.304005[/C][/ROW]
[ROW][C]18[/C][C]-0.174261[/C][C]-2.0021[/C][C]0.023661[/C][/ROW]
[ROW][C]19[/C][C]-0.051259[/C][C]-0.5889[/C][C]0.27846[/C][/ROW]
[ROW][C]20[/C][C]-0.028403[/C][C]-0.3263[/C][C]0.372347[/C][/ROW]
[ROW][C]21[/C][C]-0.04612[/C][C]-0.5299[/C][C]0.298543[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151119&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151119&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.2579112.96320.001806
2-0.333592-3.83279.8e-05
3-0.192046-2.20640.014541
4-0.212331-2.43950.008018
50.0795040.91340.181341
60.0387130.44480.328604
7-0.047268-0.54310.294
8-0.285837-3.2840.000655
9-0.153691-1.76580.039872
10-0.282867-3.24990.000732
110.2015372.31550.011064
120.7236388.3140
13-0.218365-2.50880.006662
140.0883391.01490.155996
150.0110830.12730.449435
16-0.025274-0.29040.385993
17-0.044751-0.51410.304005
18-0.174261-2.00210.023661
19-0.051259-0.58890.27846
20-0.028403-0.32630.372347
21-0.04612-0.52990.298543



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