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 computationThu, 29 Nov 2012 06:48:09 -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/2012/Nov/29/t1354189829ifo13v7ju2k4nl1.htm/, Retrieved Thu, 31 Oct 2024 23:47:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=194272, Retrieved Thu, 31 Oct 2024 23:47:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact151
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [(Partial) Autocorrelation Function] [Unemployment] [2010-11-29 09:05:21] [b98453cac15ba1066b407e146608df68]
- R  D      [(Partial) Autocorrelation Function] [WS9 autocorrelation] [2012-11-29 11:48:09] [b5e957cef4f8312b4131adee035e148e] [Current]
-   P         [(Partial) Autocorrelation Function] [WS9 autocorrelati...] [2012-11-29 11:53:47] [677a26acc722ccb2eb1c0d7cc83e1e7a]
-   P           [(Partial) Autocorrelation Function] [WS9 autocorrelati...] [2012-11-29 11:55:46] [677a26acc722ccb2eb1c0d7cc83e1e7a]
- RMP         [Variance Reduction Matrix] [WS9 variance redu...] [2012-11-29 12:13:30] [677a26acc722ccb2eb1c0d7cc83e1e7a]
- RMP         [Standard Deviation-Mean Plot] [WS9 stationarity ...] [2012-11-29 12:28:35] [677a26acc722ccb2eb1c0d7cc83e1e7a]
- RMP         [ARIMA Backward Selection] [WS9 ARIMA backwar...] [2012-11-29 13:11:57] [677a26acc722ccb2eb1c0d7cc83e1e7a]
- R P           [ARIMA Backward Selection] [paper ARIMA backw...] [2012-12-11 11:31:28] [677a26acc722ccb2eb1c0d7cc83e1e7a]
Feedback Forum

Post a new message
Dataseries X:
655362
873127
1107897
1555964
1671159
1493308
2957796
2638691
1305669
1280496
921900
867888
652586
913831
1108544
1555827
1699283
1509458
3268975
2425016
1312703
1365498
934453
775019
651142
843192
1146766
1652601
1465906
1652734
2922334
2702805
1458956
1410363
1019279
936574
708917
885295
1099663
1576220
1487870
1488635
2882530
2677026
1404398
1344370
936865
872705
628151
953712
1160384
1400618
1661511
1495347
2918786
2775677
1407026
1370199
964526
850851
683118
847224
1073256
1514326
1503734
1507712
2865698
2788128
1391596
1366378
946295
859626




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=194272&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=194272&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=194272&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.5803234.92423e-06
20.1692921.43650.077597
3-0.022645-0.19210.424084
4-0.334884-2.84160.002917
5-0.557729-4.73255e-06
6-0.653629-5.54620
7-0.526616-4.46851.4e-05
8-0.269955-2.29060.012457
90.0043880.03720.4852
100.1702591.44470.076441
110.5059584.29322.7e-05
120.8235586.98810
130.4912064.1684.2e-05
140.1497161.27040.104019
15-0.009742-0.08270.467173
16-0.271984-2.30790.011942
17-0.452441-3.83910.000131
18-0.533287-4.52511.2e-05

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.580323 & 4.9242 & 3e-06 \tabularnewline
2 & 0.169292 & 1.4365 & 0.077597 \tabularnewline
3 & -0.022645 & -0.1921 & 0.424084 \tabularnewline
4 & -0.334884 & -2.8416 & 0.002917 \tabularnewline
5 & -0.557729 & -4.7325 & 5e-06 \tabularnewline
6 & -0.653629 & -5.5462 & 0 \tabularnewline
7 & -0.526616 & -4.4685 & 1.4e-05 \tabularnewline
8 & -0.269955 & -2.2906 & 0.012457 \tabularnewline
9 & 0.004388 & 0.0372 & 0.4852 \tabularnewline
10 & 0.170259 & 1.4447 & 0.076441 \tabularnewline
11 & 0.505958 & 4.2932 & 2.7e-05 \tabularnewline
12 & 0.823558 & 6.9881 & 0 \tabularnewline
13 & 0.491206 & 4.168 & 4.2e-05 \tabularnewline
14 & 0.149716 & 1.2704 & 0.104019 \tabularnewline
15 & -0.009742 & -0.0827 & 0.467173 \tabularnewline
16 & -0.271984 & -2.3079 & 0.011942 \tabularnewline
17 & -0.452441 & -3.8391 & 0.000131 \tabularnewline
18 & -0.533287 & -4.5251 & 1.2e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=194272&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.580323[/C][C]4.9242[/C][C]3e-06[/C][/ROW]
[ROW][C]2[/C][C]0.169292[/C][C]1.4365[/C][C]0.077597[/C][/ROW]
[ROW][C]3[/C][C]-0.022645[/C][C]-0.1921[/C][C]0.424084[/C][/ROW]
[ROW][C]4[/C][C]-0.334884[/C][C]-2.8416[/C][C]0.002917[/C][/ROW]
[ROW][C]5[/C][C]-0.557729[/C][C]-4.7325[/C][C]5e-06[/C][/ROW]
[ROW][C]6[/C][C]-0.653629[/C][C]-5.5462[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]-0.526616[/C][C]-4.4685[/C][C]1.4e-05[/C][/ROW]
[ROW][C]8[/C][C]-0.269955[/C][C]-2.2906[/C][C]0.012457[/C][/ROW]
[ROW][C]9[/C][C]0.004388[/C][C]0.0372[/C][C]0.4852[/C][/ROW]
[ROW][C]10[/C][C]0.170259[/C][C]1.4447[/C][C]0.076441[/C][/ROW]
[ROW][C]11[/C][C]0.505958[/C][C]4.2932[/C][C]2.7e-05[/C][/ROW]
[ROW][C]12[/C][C]0.823558[/C][C]6.9881[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.491206[/C][C]4.168[/C][C]4.2e-05[/C][/ROW]
[ROW][C]14[/C][C]0.149716[/C][C]1.2704[/C][C]0.104019[/C][/ROW]
[ROW][C]15[/C][C]-0.009742[/C][C]-0.0827[/C][C]0.467173[/C][/ROW]
[ROW][C]16[/C][C]-0.271984[/C][C]-2.3079[/C][C]0.011942[/C][/ROW]
[ROW][C]17[/C][C]-0.452441[/C][C]-3.8391[/C][C]0.000131[/C][/ROW]
[ROW][C]18[/C][C]-0.533287[/C][C]-4.5251[/C][C]1.2e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=194272&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=194272&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.5803234.92423e-06
20.1692921.43650.077597
3-0.022645-0.19210.424084
4-0.334884-2.84160.002917
5-0.557729-4.73255e-06
6-0.653629-5.54620
7-0.526616-4.46851.4e-05
8-0.269955-2.29060.012457
90.0043880.03720.4852
100.1702591.44470.076441
110.5059584.29322.7e-05
120.8235586.98810
130.4912064.1684.2e-05
140.1497161.27040.104019
15-0.009742-0.08270.467173
16-0.271984-2.30790.011942
17-0.452441-3.83910.000131
18-0.533287-4.52511.2e-05







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5803234.92423e-06
2-0.252529-2.14280.017756
30.001370.01160.49538
4-0.444964-3.77560.000163
5-0.239114-2.02890.023081
6-0.455135-3.86190.000122
7-0.155908-1.32290.095024
8-0.296482-2.51570.007055
9-0.137955-1.17060.122813
10-0.570015-4.83674e-06
110.2425912.05850.021583
120.2444862.07450.020803
13-0.384684-3.26420.000841
14-0.140458-1.19180.118622
15-0.111465-0.94580.173704
16-0.001189-0.01010.49599
170.0018820.0160.493652
180.0133290.11310.455132

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.580323 & 4.9242 & 3e-06 \tabularnewline
2 & -0.252529 & -2.1428 & 0.017756 \tabularnewline
3 & 0.00137 & 0.0116 & 0.49538 \tabularnewline
4 & -0.444964 & -3.7756 & 0.000163 \tabularnewline
5 & -0.239114 & -2.0289 & 0.023081 \tabularnewline
6 & -0.455135 & -3.8619 & 0.000122 \tabularnewline
7 & -0.155908 & -1.3229 & 0.095024 \tabularnewline
8 & -0.296482 & -2.5157 & 0.007055 \tabularnewline
9 & -0.137955 & -1.1706 & 0.122813 \tabularnewline
10 & -0.570015 & -4.8367 & 4e-06 \tabularnewline
11 & 0.242591 & 2.0585 & 0.021583 \tabularnewline
12 & 0.244486 & 2.0745 & 0.020803 \tabularnewline
13 & -0.384684 & -3.2642 & 0.000841 \tabularnewline
14 & -0.140458 & -1.1918 & 0.118622 \tabularnewline
15 & -0.111465 & -0.9458 & 0.173704 \tabularnewline
16 & -0.001189 & -0.0101 & 0.49599 \tabularnewline
17 & 0.001882 & 0.016 & 0.493652 \tabularnewline
18 & 0.013329 & 0.1131 & 0.455132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=194272&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.580323[/C][C]4.9242[/C][C]3e-06[/C][/ROW]
[ROW][C]2[/C][C]-0.252529[/C][C]-2.1428[/C][C]0.017756[/C][/ROW]
[ROW][C]3[/C][C]0.00137[/C][C]0.0116[/C][C]0.49538[/C][/ROW]
[ROW][C]4[/C][C]-0.444964[/C][C]-3.7756[/C][C]0.000163[/C][/ROW]
[ROW][C]5[/C][C]-0.239114[/C][C]-2.0289[/C][C]0.023081[/C][/ROW]
[ROW][C]6[/C][C]-0.455135[/C][C]-3.8619[/C][C]0.000122[/C][/ROW]
[ROW][C]7[/C][C]-0.155908[/C][C]-1.3229[/C][C]0.095024[/C][/ROW]
[ROW][C]8[/C][C]-0.296482[/C][C]-2.5157[/C][C]0.007055[/C][/ROW]
[ROW][C]9[/C][C]-0.137955[/C][C]-1.1706[/C][C]0.122813[/C][/ROW]
[ROW][C]10[/C][C]-0.570015[/C][C]-4.8367[/C][C]4e-06[/C][/ROW]
[ROW][C]11[/C][C]0.242591[/C][C]2.0585[/C][C]0.021583[/C][/ROW]
[ROW][C]12[/C][C]0.244486[/C][C]2.0745[/C][C]0.020803[/C][/ROW]
[ROW][C]13[/C][C]-0.384684[/C][C]-3.2642[/C][C]0.000841[/C][/ROW]
[ROW][C]14[/C][C]-0.140458[/C][C]-1.1918[/C][C]0.118622[/C][/ROW]
[ROW][C]15[/C][C]-0.111465[/C][C]-0.9458[/C][C]0.173704[/C][/ROW]
[ROW][C]16[/C][C]-0.001189[/C][C]-0.0101[/C][C]0.49599[/C][/ROW]
[ROW][C]17[/C][C]0.001882[/C][C]0.016[/C][C]0.493652[/C][/ROW]
[ROW][C]18[/C][C]0.013329[/C][C]0.1131[/C][C]0.455132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=194272&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=194272&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.5803234.92423e-06
2-0.252529-2.14280.017756
30.001370.01160.49538
4-0.444964-3.77560.000163
5-0.239114-2.02890.023081
6-0.455135-3.86190.000122
7-0.155908-1.32290.095024
8-0.296482-2.51570.007055
9-0.137955-1.17060.122813
10-0.570015-4.83674e-06
110.2425912.05850.021583
120.2444862.07450.020803
13-0.384684-3.26420.000841
14-0.140458-1.19180.118622
15-0.111465-0.94580.173704
16-0.001189-0.01010.49599
170.0018820.0160.493652
180.0133290.11310.455132



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