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, 23 Dec 2008 10:02:17 -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/2008/Dec/23/t12300517827ua9c7d9soifxo9.htm/, Retrieved Sat, 18 May 2024 21:19:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=36356, Retrieved Sat, 18 May 2024 21:19:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact137
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Variance Reduction Matrix] [] [2008-12-23 15:10:07] [74be16979710d4c4e7c6647856088456]
- RMP   [Spectral Analysis] [] [2008-12-23 16:32:35] [74be16979710d4c4e7c6647856088456]
-   P     [Spectral Analysis] [] [2008-12-23 16:40:41] [74be16979710d4c4e7c6647856088456]
- RMPD        [(Partial) Autocorrelation Function] [] [2008-12-23 17:02:17] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
513
503
471
471
476
475
470
461
455
456
517
525
523
519
509
512
519
517
510
509
501
507
569
580
578
565
547
555
562
561
555
544
537
543
594
611
613
611
594
595
591
589
584
573
567
569
621
629
628
612
595
597
593
590
580
574
573
573
620
626
620
588
566
557
561
549
532
526
511
499
555
565
542
527




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9103917.83150
20.7802116.71160
30.6733635.79250
40.6110325.25631e-06
50.5790254.9812e-06
60.5409944.65387e-06
70.4757944.09295.4e-05
80.4000453.44130.000478
90.3765033.23880.000899
100.4009823.44940.000466
110.456193.92439.7e-05
120.4791024.12144.9e-05
130.3838953.30240.000739
140.2617182.25140.013665
150.1592681.37010.087403
160.1021370.87860.191226
170.0745220.64110.261731
180.0416010.35790.36073

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.910391 & 7.8315 & 0 \tabularnewline
2 & 0.780211 & 6.7116 & 0 \tabularnewline
3 & 0.673363 & 5.7925 & 0 \tabularnewline
4 & 0.611032 & 5.2563 & 1e-06 \tabularnewline
5 & 0.579025 & 4.981 & 2e-06 \tabularnewline
6 & 0.540994 & 4.6538 & 7e-06 \tabularnewline
7 & 0.475794 & 4.0929 & 5.4e-05 \tabularnewline
8 & 0.400045 & 3.4413 & 0.000478 \tabularnewline
9 & 0.376503 & 3.2388 & 0.000899 \tabularnewline
10 & 0.400982 & 3.4494 & 0.000466 \tabularnewline
11 & 0.45619 & 3.9243 & 9.7e-05 \tabularnewline
12 & 0.479102 & 4.1214 & 4.9e-05 \tabularnewline
13 & 0.383895 & 3.3024 & 0.000739 \tabularnewline
14 & 0.261718 & 2.2514 & 0.013665 \tabularnewline
15 & 0.159268 & 1.3701 & 0.087403 \tabularnewline
16 & 0.102137 & 0.8786 & 0.191226 \tabularnewline
17 & 0.074522 & 0.6411 & 0.261731 \tabularnewline
18 & 0.041601 & 0.3579 & 0.36073 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36356&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.910391[/C][C]7.8315[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.780211[/C][C]6.7116[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.673363[/C][C]5.7925[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.611032[/C][C]5.2563[/C][C]1e-06[/C][/ROW]
[ROW][C]5[/C][C]0.579025[/C][C]4.981[/C][C]2e-06[/C][/ROW]
[ROW][C]6[/C][C]0.540994[/C][C]4.6538[/C][C]7e-06[/C][/ROW]
[ROW][C]7[/C][C]0.475794[/C][C]4.0929[/C][C]5.4e-05[/C][/ROW]
[ROW][C]8[/C][C]0.400045[/C][C]3.4413[/C][C]0.000478[/C][/ROW]
[ROW][C]9[/C][C]0.376503[/C][C]3.2388[/C][C]0.000899[/C][/ROW]
[ROW][C]10[/C][C]0.400982[/C][C]3.4494[/C][C]0.000466[/C][/ROW]
[ROW][C]11[/C][C]0.45619[/C][C]3.9243[/C][C]9.7e-05[/C][/ROW]
[ROW][C]12[/C][C]0.479102[/C][C]4.1214[/C][C]4.9e-05[/C][/ROW]
[ROW][C]13[/C][C]0.383895[/C][C]3.3024[/C][C]0.000739[/C][/ROW]
[ROW][C]14[/C][C]0.261718[/C][C]2.2514[/C][C]0.013665[/C][/ROW]
[ROW][C]15[/C][C]0.159268[/C][C]1.3701[/C][C]0.087403[/C][/ROW]
[ROW][C]16[/C][C]0.102137[/C][C]0.8786[/C][C]0.191226[/C][/ROW]
[ROW][C]17[/C][C]0.074522[/C][C]0.6411[/C][C]0.261731[/C][/ROW]
[ROW][C]18[/C][C]0.041601[/C][C]0.3579[/C][C]0.36073[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36356&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36356&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.9103917.83150
20.7802116.71160
30.6733635.79250
40.6110325.25631e-06
50.5790254.9812e-06
60.5409944.65387e-06
70.4757944.09295.4e-05
80.4000453.44130.000478
90.3765033.23880.000899
100.4009823.44940.000466
110.456193.92439.7e-05
120.4791024.12144.9e-05
130.3838953.30240.000739
140.2617182.25140.013665
150.1592681.37010.087403
160.1021370.87860.191226
170.0745220.64110.261731
180.0416010.35790.36073







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9103917.83150
2-0.283906-2.44220.008492
30.1262711.08620.140452
40.1390171.19590.117783
50.061810.53170.298261
6-0.073836-0.63520.26364
7-0.107784-0.92720.178421
8-0.01049-0.09020.464172
90.2835082.43880.008567
100.1012640.87110.193258
110.1545371.32940.093904
12-0.132742-1.14190.12859
13-0.598544-5.14891e-06
140.1033250.88880.188487
15-0.080224-0.69010.24614
160.0293490.25250.400689
170.1220061.04950.148673
18-0.072599-0.62450.267102

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.910391 & 7.8315 & 0 \tabularnewline
2 & -0.283906 & -2.4422 & 0.008492 \tabularnewline
3 & 0.126271 & 1.0862 & 0.140452 \tabularnewline
4 & 0.139017 & 1.1959 & 0.117783 \tabularnewline
5 & 0.06181 & 0.5317 & 0.298261 \tabularnewline
6 & -0.073836 & -0.6352 & 0.26364 \tabularnewline
7 & -0.107784 & -0.9272 & 0.178421 \tabularnewline
8 & -0.01049 & -0.0902 & 0.464172 \tabularnewline
9 & 0.283508 & 2.4388 & 0.008567 \tabularnewline
10 & 0.101264 & 0.8711 & 0.193258 \tabularnewline
11 & 0.154537 & 1.3294 & 0.093904 \tabularnewline
12 & -0.132742 & -1.1419 & 0.12859 \tabularnewline
13 & -0.598544 & -5.1489 & 1e-06 \tabularnewline
14 & 0.103325 & 0.8888 & 0.188487 \tabularnewline
15 & -0.080224 & -0.6901 & 0.24614 \tabularnewline
16 & 0.029349 & 0.2525 & 0.400689 \tabularnewline
17 & 0.122006 & 1.0495 & 0.148673 \tabularnewline
18 & -0.072599 & -0.6245 & 0.267102 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36356&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.910391[/C][C]7.8315[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.283906[/C][C]-2.4422[/C][C]0.008492[/C][/ROW]
[ROW][C]3[/C][C]0.126271[/C][C]1.0862[/C][C]0.140452[/C][/ROW]
[ROW][C]4[/C][C]0.139017[/C][C]1.1959[/C][C]0.117783[/C][/ROW]
[ROW][C]5[/C][C]0.06181[/C][C]0.5317[/C][C]0.298261[/C][/ROW]
[ROW][C]6[/C][C]-0.073836[/C][C]-0.6352[/C][C]0.26364[/C][/ROW]
[ROW][C]7[/C][C]-0.107784[/C][C]-0.9272[/C][C]0.178421[/C][/ROW]
[ROW][C]8[/C][C]-0.01049[/C][C]-0.0902[/C][C]0.464172[/C][/ROW]
[ROW][C]9[/C][C]0.283508[/C][C]2.4388[/C][C]0.008567[/C][/ROW]
[ROW][C]10[/C][C]0.101264[/C][C]0.8711[/C][C]0.193258[/C][/ROW]
[ROW][C]11[/C][C]0.154537[/C][C]1.3294[/C][C]0.093904[/C][/ROW]
[ROW][C]12[/C][C]-0.132742[/C][C]-1.1419[/C][C]0.12859[/C][/ROW]
[ROW][C]13[/C][C]-0.598544[/C][C]-5.1489[/C][C]1e-06[/C][/ROW]
[ROW][C]14[/C][C]0.103325[/C][C]0.8888[/C][C]0.188487[/C][/ROW]
[ROW][C]15[/C][C]-0.080224[/C][C]-0.6901[/C][C]0.24614[/C][/ROW]
[ROW][C]16[/C][C]0.029349[/C][C]0.2525[/C][C]0.400689[/C][/ROW]
[ROW][C]17[/C][C]0.122006[/C][C]1.0495[/C][C]0.148673[/C][/ROW]
[ROW][C]18[/C][C]-0.072599[/C][C]-0.6245[/C][C]0.267102[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36356&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36356&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.9103917.83150
2-0.283906-2.44220.008492
30.1262711.08620.140452
40.1390171.19590.117783
50.061810.53170.298261
6-0.073836-0.63520.26364
7-0.107784-0.92720.178421
8-0.01049-0.09020.464172
90.2835082.43880.008567
100.1012640.87110.193258
110.1545371.32940.093904
12-0.132742-1.14190.12859
13-0.598544-5.14891e-06
140.1033250.88880.188487
15-0.080224-0.69010.24614
160.0293490.25250.400689
170.1220061.04950.148673
18-0.072599-0.62450.267102



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
Parameters (R input):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
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 (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='lags',ylab='ACF')
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')