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 computationTue, 15 Dec 2009 14:04:33 -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/2009/Dec/15/t12609111254yrq4vzui4fbyza.htm/, Retrieved Wed, 08 May 2024 12:10:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=68164, Retrieved Wed, 08 May 2024 12:10:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact105
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [(Partial) Autocorrelation Function] [] [2009-11-26 17:34:55] [69bbb86d5181c362d5647cae31af3dc7]
-    D    [(Partial) Autocorrelation Function] [] [2009-12-15 21:04:33] [8cd69d0f4298074aa572ca2f9b39b6ae] [Current]
Feedback Forum

Post a new message
Dataseries X:
564
581
597
587
536
524
537
536
533
528
516
502
506
518
534
528
478
469
490
493
508
517
514
510
527
542
565
555
499
511
526
532
549
561
557
566
588
620
626
620
573
573
574
580
590
593
597
595
612
628
629
621
569
567
573
584
589
591
595
594




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 0 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68164&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]0 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68164&T=0

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.135430.92850.178956
20.2409851.65210.052589
30.335812.30220.0129
40.222561.52580.066881
50.0638040.43740.331906
60.1856621.27280.104668
70.0187850.12880.44904
80.1406430.96420.16994
90.0131490.09010.464277
10-0.086975-0.59630.276928
110.2830141.94020.029181
12-0.157775-1.08160.142463
13-0.077121-0.52870.299746
140.0968430.66390.254991
150.0717890.49220.312449
16-0.103472-0.70940.240799
170.0757410.51930.303011

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.13543 & 0.9285 & 0.178956 \tabularnewline
2 & 0.240985 & 1.6521 & 0.052589 \tabularnewline
3 & 0.33581 & 2.3022 & 0.0129 \tabularnewline
4 & 0.22256 & 1.5258 & 0.066881 \tabularnewline
5 & 0.063804 & 0.4374 & 0.331906 \tabularnewline
6 & 0.185662 & 1.2728 & 0.104668 \tabularnewline
7 & 0.018785 & 0.1288 & 0.44904 \tabularnewline
8 & 0.140643 & 0.9642 & 0.16994 \tabularnewline
9 & 0.013149 & 0.0901 & 0.464277 \tabularnewline
10 & -0.086975 & -0.5963 & 0.276928 \tabularnewline
11 & 0.283014 & 1.9402 & 0.029181 \tabularnewline
12 & -0.157775 & -1.0816 & 0.142463 \tabularnewline
13 & -0.077121 & -0.5287 & 0.299746 \tabularnewline
14 & 0.096843 & 0.6639 & 0.254991 \tabularnewline
15 & 0.071789 & 0.4922 & 0.312449 \tabularnewline
16 & -0.103472 & -0.7094 & 0.240799 \tabularnewline
17 & 0.075741 & 0.5193 & 0.303011 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68164&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.13543[/C][C]0.9285[/C][C]0.178956[/C][/ROW]
[ROW][C]2[/C][C]0.240985[/C][C]1.6521[/C][C]0.052589[/C][/ROW]
[ROW][C]3[/C][C]0.33581[/C][C]2.3022[/C][C]0.0129[/C][/ROW]
[ROW][C]4[/C][C]0.22256[/C][C]1.5258[/C][C]0.066881[/C][/ROW]
[ROW][C]5[/C][C]0.063804[/C][C]0.4374[/C][C]0.331906[/C][/ROW]
[ROW][C]6[/C][C]0.185662[/C][C]1.2728[/C][C]0.104668[/C][/ROW]
[ROW][C]7[/C][C]0.018785[/C][C]0.1288[/C][C]0.44904[/C][/ROW]
[ROW][C]8[/C][C]0.140643[/C][C]0.9642[/C][C]0.16994[/C][/ROW]
[ROW][C]9[/C][C]0.013149[/C][C]0.0901[/C][C]0.464277[/C][/ROW]
[ROW][C]10[/C][C]-0.086975[/C][C]-0.5963[/C][C]0.276928[/C][/ROW]
[ROW][C]11[/C][C]0.283014[/C][C]1.9402[/C][C]0.029181[/C][/ROW]
[ROW][C]12[/C][C]-0.157775[/C][C]-1.0816[/C][C]0.142463[/C][/ROW]
[ROW][C]13[/C][C]-0.077121[/C][C]-0.5287[/C][C]0.299746[/C][/ROW]
[ROW][C]14[/C][C]0.096843[/C][C]0.6639[/C][C]0.254991[/C][/ROW]
[ROW][C]15[/C][C]0.071789[/C][C]0.4922[/C][C]0.312449[/C][/ROW]
[ROW][C]16[/C][C]-0.103472[/C][C]-0.7094[/C][C]0.240799[/C][/ROW]
[ROW][C]17[/C][C]0.075741[/C][C]0.5193[/C][C]0.303011[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68164&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68164&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.135430.92850.178956
20.2409851.65210.052589
30.335812.30220.0129
40.222561.52580.066881
50.0638040.43740.331906
60.1856621.27280.104668
70.0187850.12880.44904
80.1406430.96420.16994
90.0131490.09010.464277
10-0.086975-0.59630.276928
110.2830141.94020.029181
12-0.157775-1.08160.142463
13-0.077121-0.52870.299746
140.0968430.66390.254991
150.0717890.49220.312449
16-0.103472-0.70940.240799
170.0757410.51930.303011







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.135430.92850.178956
20.2268041.55490.063341
30.3005482.06050.022457
40.1446330.99160.163247
5-0.098278-0.67380.251883
60.018880.12940.448784
7-0.108703-0.74520.229922
80.1027220.70420.242382
9-0.034444-0.23610.407177
10-0.159775-1.09540.139469
110.3221872.20880.01605
12-0.24632-1.68870.048952
13-0.065444-0.44870.327868
140.0548410.3760.354314
150.1291570.88550.190209
160.0170910.11720.453612
17-0.088068-0.60380.274451

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.13543 & 0.9285 & 0.178956 \tabularnewline
2 & 0.226804 & 1.5549 & 0.063341 \tabularnewline
3 & 0.300548 & 2.0605 & 0.022457 \tabularnewline
4 & 0.144633 & 0.9916 & 0.163247 \tabularnewline
5 & -0.098278 & -0.6738 & 0.251883 \tabularnewline
6 & 0.01888 & 0.1294 & 0.448784 \tabularnewline
7 & -0.108703 & -0.7452 & 0.229922 \tabularnewline
8 & 0.102722 & 0.7042 & 0.242382 \tabularnewline
9 & -0.034444 & -0.2361 & 0.407177 \tabularnewline
10 & -0.159775 & -1.0954 & 0.139469 \tabularnewline
11 & 0.322187 & 2.2088 & 0.01605 \tabularnewline
12 & -0.24632 & -1.6887 & 0.048952 \tabularnewline
13 & -0.065444 & -0.4487 & 0.327868 \tabularnewline
14 & 0.054841 & 0.376 & 0.354314 \tabularnewline
15 & 0.129157 & 0.8855 & 0.190209 \tabularnewline
16 & 0.017091 & 0.1172 & 0.453612 \tabularnewline
17 & -0.088068 & -0.6038 & 0.274451 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68164&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.13543[/C][C]0.9285[/C][C]0.178956[/C][/ROW]
[ROW][C]2[/C][C]0.226804[/C][C]1.5549[/C][C]0.063341[/C][/ROW]
[ROW][C]3[/C][C]0.300548[/C][C]2.0605[/C][C]0.022457[/C][/ROW]
[ROW][C]4[/C][C]0.144633[/C][C]0.9916[/C][C]0.163247[/C][/ROW]
[ROW][C]5[/C][C]-0.098278[/C][C]-0.6738[/C][C]0.251883[/C][/ROW]
[ROW][C]6[/C][C]0.01888[/C][C]0.1294[/C][C]0.448784[/C][/ROW]
[ROW][C]7[/C][C]-0.108703[/C][C]-0.7452[/C][C]0.229922[/C][/ROW]
[ROW][C]8[/C][C]0.102722[/C][C]0.7042[/C][C]0.242382[/C][/ROW]
[ROW][C]9[/C][C]-0.034444[/C][C]-0.2361[/C][C]0.407177[/C][/ROW]
[ROW][C]10[/C][C]-0.159775[/C][C]-1.0954[/C][C]0.139469[/C][/ROW]
[ROW][C]11[/C][C]0.322187[/C][C]2.2088[/C][C]0.01605[/C][/ROW]
[ROW][C]12[/C][C]-0.24632[/C][C]-1.6887[/C][C]0.048952[/C][/ROW]
[ROW][C]13[/C][C]-0.065444[/C][C]-0.4487[/C][C]0.327868[/C][/ROW]
[ROW][C]14[/C][C]0.054841[/C][C]0.376[/C][C]0.354314[/C][/ROW]
[ROW][C]15[/C][C]0.129157[/C][C]0.8855[/C][C]0.190209[/C][/ROW]
[ROW][C]16[/C][C]0.017091[/C][C]0.1172[/C][C]0.453612[/C][/ROW]
[ROW][C]17[/C][C]-0.088068[/C][C]-0.6038[/C][C]0.274451[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68164&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68164&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.135430.92850.178956
20.2268041.55490.063341
30.3005482.06050.022457
40.1446330.99160.163247
5-0.098278-0.67380.251883
60.018880.12940.448784
7-0.108703-0.74520.229922
80.1027220.70420.242382
9-0.034444-0.23610.407177
10-0.159775-1.09540.139469
110.3221872.20880.01605
12-0.24632-1.68870.048952
13-0.065444-0.44870.327868
140.0548410.3760.354314
150.1291570.88550.190209
160.0170910.11720.453612
17-0.088068-0.60380.274451



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = Default ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
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 (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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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 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')