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, 30 Nov 2015 14:32:02 +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/2015/Nov/30/t1448894064naum8tspmu7vf1l.htm/, Retrieved Mon, 13 May 2024 23:32:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=284600, Retrieved Mon, 13 May 2024 23:32:56 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsd=0 en D=1
Estimated Impact90
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2015-11-30 14:32:02] [f6bae6d252fa79c7f404cd3700ec66e0] [Current]
Feedback Forum

Post a new message
Dataseries X:
501
488
504
578
545
632
728
725
585
542
480
530
518
489
528
599
572
659
739
758
602
587
497
558
555
523
532
623
598
683
774
780
609
604
531
592
578
543
565
648
615
697
785
830
645
643
551
606
585
553
576
665
656
720
826
838
652
661
584
644
623
553
599
657
680
759
878
881
705
684
577
656
645
593
617
686
679
773
906
934
713
710
600
676
645
602
601
709
706
817
930
983
745
735
620
698
665
626
649
740
729
824
937
994
781
759
643
728
691
649
656
735
748
837
995
1040
809
793
692
763
723
655
658
761
768
885
1067
1038
812
790
692
782
758
709
715
788
794
893
1046
1075
812
822
714
802
748
731
748
827
788
937
1076
1125
840
864
717
813
811
732
745
844
833
935
1110
1124
868
860
762
877
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1415921.76850.039467
20.0155570.19430.423096
3-0.268403-3.35240.000503
4-0.190018-2.37330.009423
5-0.254215-3.17510.000902
60.0495840.61930.26831
70.056260.70270.241648
80.0971071.21290.113508
90.0056560.07060.471888
100.0688520.860.195564
11-0.039229-0.490.312421
12-0.315574-3.94156.1e-05
13-0.050274-0.62790.265485
140.0348140.43480.332144
150.0798710.99760.160011
160.0777760.97140.166422
170.1118591.39710.08218
18-0.151149-1.88790.030451
190.0372470.46520.321214
200.0011960.01490.49405
210.0721990.90180.184287
22-0.112754-1.40830.080516
23-0.011178-0.13960.444573
24-0.064522-0.80590.21077

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.141592 & 1.7685 & 0.039467 \tabularnewline
2 & 0.015557 & 0.1943 & 0.423096 \tabularnewline
3 & -0.268403 & -3.3524 & 0.000503 \tabularnewline
4 & -0.190018 & -2.3733 & 0.009423 \tabularnewline
5 & -0.254215 & -3.1751 & 0.000902 \tabularnewline
6 & 0.049584 & 0.6193 & 0.26831 \tabularnewline
7 & 0.05626 & 0.7027 & 0.241648 \tabularnewline
8 & 0.097107 & 1.2129 & 0.113508 \tabularnewline
9 & 0.005656 & 0.0706 & 0.471888 \tabularnewline
10 & 0.068852 & 0.86 & 0.195564 \tabularnewline
11 & -0.039229 & -0.49 & 0.312421 \tabularnewline
12 & -0.315574 & -3.9415 & 6.1e-05 \tabularnewline
13 & -0.050274 & -0.6279 & 0.265485 \tabularnewline
14 & 0.034814 & 0.4348 & 0.332144 \tabularnewline
15 & 0.079871 & 0.9976 & 0.160011 \tabularnewline
16 & 0.077776 & 0.9714 & 0.166422 \tabularnewline
17 & 0.111859 & 1.3971 & 0.08218 \tabularnewline
18 & -0.151149 & -1.8879 & 0.030451 \tabularnewline
19 & 0.037247 & 0.4652 & 0.321214 \tabularnewline
20 & 0.001196 & 0.0149 & 0.49405 \tabularnewline
21 & 0.072199 & 0.9018 & 0.184287 \tabularnewline
22 & -0.112754 & -1.4083 & 0.080516 \tabularnewline
23 & -0.011178 & -0.1396 & 0.444573 \tabularnewline
24 & -0.064522 & -0.8059 & 0.21077 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284600&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.141592[/C][C]1.7685[/C][C]0.039467[/C][/ROW]
[ROW][C]2[/C][C]0.015557[/C][C]0.1943[/C][C]0.423096[/C][/ROW]
[ROW][C]3[/C][C]-0.268403[/C][C]-3.3524[/C][C]0.000503[/C][/ROW]
[ROW][C]4[/C][C]-0.190018[/C][C]-2.3733[/C][C]0.009423[/C][/ROW]
[ROW][C]5[/C][C]-0.254215[/C][C]-3.1751[/C][C]0.000902[/C][/ROW]
[ROW][C]6[/C][C]0.049584[/C][C]0.6193[/C][C]0.26831[/C][/ROW]
[ROW][C]7[/C][C]0.05626[/C][C]0.7027[/C][C]0.241648[/C][/ROW]
[ROW][C]8[/C][C]0.097107[/C][C]1.2129[/C][C]0.113508[/C][/ROW]
[ROW][C]9[/C][C]0.005656[/C][C]0.0706[/C][C]0.471888[/C][/ROW]
[ROW][C]10[/C][C]0.068852[/C][C]0.86[/C][C]0.195564[/C][/ROW]
[ROW][C]11[/C][C]-0.039229[/C][C]-0.49[/C][C]0.312421[/C][/ROW]
[ROW][C]12[/C][C]-0.315574[/C][C]-3.9415[/C][C]6.1e-05[/C][/ROW]
[ROW][C]13[/C][C]-0.050274[/C][C]-0.6279[/C][C]0.265485[/C][/ROW]
[ROW][C]14[/C][C]0.034814[/C][C]0.4348[/C][C]0.332144[/C][/ROW]
[ROW][C]15[/C][C]0.079871[/C][C]0.9976[/C][C]0.160011[/C][/ROW]
[ROW][C]16[/C][C]0.077776[/C][C]0.9714[/C][C]0.166422[/C][/ROW]
[ROW][C]17[/C][C]0.111859[/C][C]1.3971[/C][C]0.08218[/C][/ROW]
[ROW][C]18[/C][C]-0.151149[/C][C]-1.8879[/C][C]0.030451[/C][/ROW]
[ROW][C]19[/C][C]0.037247[/C][C]0.4652[/C][C]0.321214[/C][/ROW]
[ROW][C]20[/C][C]0.001196[/C][C]0.0149[/C][C]0.49405[/C][/ROW]
[ROW][C]21[/C][C]0.072199[/C][C]0.9018[/C][C]0.184287[/C][/ROW]
[ROW][C]22[/C][C]-0.112754[/C][C]-1.4083[/C][C]0.080516[/C][/ROW]
[ROW][C]23[/C][C]-0.011178[/C][C]-0.1396[/C][C]0.444573[/C][/ROW]
[ROW][C]24[/C][C]-0.064522[/C][C]-0.8059[/C][C]0.21077[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284600&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284600&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.1415921.76850.039467
20.0155570.19430.423096
3-0.268403-3.35240.000503
4-0.190018-2.37330.009423
5-0.254215-3.17510.000902
60.0495840.61930.26831
70.056260.70270.241648
80.0971071.21290.113508
90.0056560.07060.471888
100.0688520.860.195564
11-0.039229-0.490.312421
12-0.315574-3.94156.1e-05
13-0.050274-0.62790.265485
140.0348140.43480.332144
150.0798710.99760.160011
160.0777760.97140.166422
170.1118591.39710.08218
18-0.151149-1.88790.030451
190.0372470.46520.321214
200.0011960.01490.49405
210.0721990.90180.184287
22-0.112754-1.40830.080516
23-0.011178-0.13960.444573
24-0.064522-0.80590.21077







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1415921.76850.039467
2-0.004584-0.05720.47721
3-0.275496-3.44090.000372
4-0.125569-1.56840.059413
5-0.226368-2.82730.002655
60.0384570.48030.315834
7-0.031249-0.39030.348424
8-0.055534-0.69360.244476
9-0.053741-0.67120.251537
100.0401240.50120.308486
11-0.017887-0.22340.411756
12-0.374746-4.68063e-06
130.039490.49320.311274
140.0284480.35530.361415
15-0.092648-1.15720.124486
16-0.051642-0.6450.259933
17-0.036593-0.45710.324135
18-0.169049-2.11140.018165
190.1082171.35160.089226
200.0088390.11040.456116
21-0.060449-0.7550.225691
22-0.095738-1.19580.116801
23-0.03769-0.47080.319238
24-0.156159-1.95040.026459

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.141592 & 1.7685 & 0.039467 \tabularnewline
2 & -0.004584 & -0.0572 & 0.47721 \tabularnewline
3 & -0.275496 & -3.4409 & 0.000372 \tabularnewline
4 & -0.125569 & -1.5684 & 0.059413 \tabularnewline
5 & -0.226368 & -2.8273 & 0.002655 \tabularnewline
6 & 0.038457 & 0.4803 & 0.315834 \tabularnewline
7 & -0.031249 & -0.3903 & 0.348424 \tabularnewline
8 & -0.055534 & -0.6936 & 0.244476 \tabularnewline
9 & -0.053741 & -0.6712 & 0.251537 \tabularnewline
10 & 0.040124 & 0.5012 & 0.308486 \tabularnewline
11 & -0.017887 & -0.2234 & 0.411756 \tabularnewline
12 & -0.374746 & -4.6806 & 3e-06 \tabularnewline
13 & 0.03949 & 0.4932 & 0.311274 \tabularnewline
14 & 0.028448 & 0.3553 & 0.361415 \tabularnewline
15 & -0.092648 & -1.1572 & 0.124486 \tabularnewline
16 & -0.051642 & -0.645 & 0.259933 \tabularnewline
17 & -0.036593 & -0.4571 & 0.324135 \tabularnewline
18 & -0.169049 & -2.1114 & 0.018165 \tabularnewline
19 & 0.108217 & 1.3516 & 0.089226 \tabularnewline
20 & 0.008839 & 0.1104 & 0.456116 \tabularnewline
21 & -0.060449 & -0.755 & 0.225691 \tabularnewline
22 & -0.095738 & -1.1958 & 0.116801 \tabularnewline
23 & -0.03769 & -0.4708 & 0.319238 \tabularnewline
24 & -0.156159 & -1.9504 & 0.026459 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284600&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.141592[/C][C]1.7685[/C][C]0.039467[/C][/ROW]
[ROW][C]2[/C][C]-0.004584[/C][C]-0.0572[/C][C]0.47721[/C][/ROW]
[ROW][C]3[/C][C]-0.275496[/C][C]-3.4409[/C][C]0.000372[/C][/ROW]
[ROW][C]4[/C][C]-0.125569[/C][C]-1.5684[/C][C]0.059413[/C][/ROW]
[ROW][C]5[/C][C]-0.226368[/C][C]-2.8273[/C][C]0.002655[/C][/ROW]
[ROW][C]6[/C][C]0.038457[/C][C]0.4803[/C][C]0.315834[/C][/ROW]
[ROW][C]7[/C][C]-0.031249[/C][C]-0.3903[/C][C]0.348424[/C][/ROW]
[ROW][C]8[/C][C]-0.055534[/C][C]-0.6936[/C][C]0.244476[/C][/ROW]
[ROW][C]9[/C][C]-0.053741[/C][C]-0.6712[/C][C]0.251537[/C][/ROW]
[ROW][C]10[/C][C]0.040124[/C][C]0.5012[/C][C]0.308486[/C][/ROW]
[ROW][C]11[/C][C]-0.017887[/C][C]-0.2234[/C][C]0.411756[/C][/ROW]
[ROW][C]12[/C][C]-0.374746[/C][C]-4.6806[/C][C]3e-06[/C][/ROW]
[ROW][C]13[/C][C]0.03949[/C][C]0.4932[/C][C]0.311274[/C][/ROW]
[ROW][C]14[/C][C]0.028448[/C][C]0.3553[/C][C]0.361415[/C][/ROW]
[ROW][C]15[/C][C]-0.092648[/C][C]-1.1572[/C][C]0.124486[/C][/ROW]
[ROW][C]16[/C][C]-0.051642[/C][C]-0.645[/C][C]0.259933[/C][/ROW]
[ROW][C]17[/C][C]-0.036593[/C][C]-0.4571[/C][C]0.324135[/C][/ROW]
[ROW][C]18[/C][C]-0.169049[/C][C]-2.1114[/C][C]0.018165[/C][/ROW]
[ROW][C]19[/C][C]0.108217[/C][C]1.3516[/C][C]0.089226[/C][/ROW]
[ROW][C]20[/C][C]0.008839[/C][C]0.1104[/C][C]0.456116[/C][/ROW]
[ROW][C]21[/C][C]-0.060449[/C][C]-0.755[/C][C]0.225691[/C][/ROW]
[ROW][C]22[/C][C]-0.095738[/C][C]-1.1958[/C][C]0.116801[/C][/ROW]
[ROW][C]23[/C][C]-0.03769[/C][C]-0.4708[/C][C]0.319238[/C][/ROW]
[ROW][C]24[/C][C]-0.156159[/C][C]-1.9504[/C][C]0.026459[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284600&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284600&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.1415921.76850.039467
2-0.004584-0.05720.47721
3-0.275496-3.44090.000372
4-0.125569-1.56840.059413
5-0.226368-2.82730.002655
60.0384570.48030.315834
7-0.031249-0.39030.348424
8-0.055534-0.69360.244476
9-0.053741-0.67120.251537
100.0401240.50120.308486
11-0.017887-0.22340.411756
12-0.374746-4.68063e-06
130.039490.49320.311274
140.0284480.35530.361415
15-0.092648-1.15720.124486
16-0.051642-0.6450.259933
17-0.036593-0.45710.324135
18-0.169049-2.11140.018165
190.1082171.35160.089226
200.0088390.11040.456116
21-0.060449-0.7550.225691
22-0.095738-1.19580.116801
23-0.03769-0.47080.319238
24-0.156159-1.95040.026459



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):
par8 <- ''
par7 <- '0.95'
par6 <- 'White Noise'
par5 <- '12'
par4 <- '0'
par3 <- '1'
par2 <- '1'
par1 <- 'Default'
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)
x <- na.omit(x)
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')