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, 03 Dec 2012 10:11:43 -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/Dec/03/t1354547520o9c8t75qj927guc.htm/, Retrieved Thu, 31 Oct 2024 23:29:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=195811, Retrieved Thu, 31 Oct 2024 23:29:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact109
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [] [2008-12-08 19:22:39] [d2d412c7f4d35ffbf5ee5ee89db327d4]
- RMP   [(Partial) Autocorrelation Function] [WS 9 ACF bij 0] [2012-12-03 14:53:50] [8c30f4dd45e15fd207e4faf2fdf6253e]
- R P     [(Partial) Autocorrelation Function] [WS 9 ACF bij D = 1] [2012-12-03 14:57:29] [8c30f4dd45e15fd207e4faf2fdf6253e]
-   P       [(Partial) Autocorrelation Function] [WS 9 ACF bij D = 2] [2012-12-03 14:59:55] [8c30f4dd45e15fd207e4faf2fdf6253e]
-   P         [(Partial) Autocorrelation Function] [WS 9 ACF bij D = ...] [2012-12-03 15:02:51] [8c30f4dd45e15fd207e4faf2fdf6253e]
-   P             [(Partial) Autocorrelation Function] [WS 9 ACF bij D = ...] [2012-12-03 15:11:43] [d8e8301521bdb75cb7df1b08f9aff6ec] [Current]
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'Herman Ole Andreas Wold' @ wold.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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195811&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195811&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195811&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'Herman Ole Andreas Wold' @ wold.wessa.net







Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.772511-5.88330
20.3395012.58560.006129
3-0.040299-0.30690.380007
4-0.08021-0.61090.271838
50.0853740.65020.259069
6-0.007937-0.06040.476004
7-0.062442-0.47550.318091
80.0278690.21220.41633
90.1003250.76410.223967
10-0.26886-2.04760.02257
110.4209293.20570.001096
12-0.44286-3.37270.000665
130.2861392.17920.016697
14-0.094149-0.7170.238119
150.0126090.0960.461915
16-0.004915-0.03740.485135
17-0.026987-0.20550.418941
180.0670810.51090.30569

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.772511 & -5.8833 & 0 \tabularnewline
2 & 0.339501 & 2.5856 & 0.006129 \tabularnewline
3 & -0.040299 & -0.3069 & 0.380007 \tabularnewline
4 & -0.08021 & -0.6109 & 0.271838 \tabularnewline
5 & 0.085374 & 0.6502 & 0.259069 \tabularnewline
6 & -0.007937 & -0.0604 & 0.476004 \tabularnewline
7 & -0.062442 & -0.4755 & 0.318091 \tabularnewline
8 & 0.027869 & 0.2122 & 0.41633 \tabularnewline
9 & 0.100325 & 0.7641 & 0.223967 \tabularnewline
10 & -0.26886 & -2.0476 & 0.02257 \tabularnewline
11 & 0.420929 & 3.2057 & 0.001096 \tabularnewline
12 & -0.44286 & -3.3727 & 0.000665 \tabularnewline
13 & 0.286139 & 2.1792 & 0.016697 \tabularnewline
14 & -0.094149 & -0.717 & 0.238119 \tabularnewline
15 & 0.012609 & 0.096 & 0.461915 \tabularnewline
16 & -0.004915 & -0.0374 & 0.485135 \tabularnewline
17 & -0.026987 & -0.2055 & 0.418941 \tabularnewline
18 & 0.067081 & 0.5109 & 0.30569 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195811&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.772511[/C][C]-5.8833[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.339501[/C][C]2.5856[/C][C]0.006129[/C][/ROW]
[ROW][C]3[/C][C]-0.040299[/C][C]-0.3069[/C][C]0.380007[/C][/ROW]
[ROW][C]4[/C][C]-0.08021[/C][C]-0.6109[/C][C]0.271838[/C][/ROW]
[ROW][C]5[/C][C]0.085374[/C][C]0.6502[/C][C]0.259069[/C][/ROW]
[ROW][C]6[/C][C]-0.007937[/C][C]-0.0604[/C][C]0.476004[/C][/ROW]
[ROW][C]7[/C][C]-0.062442[/C][C]-0.4755[/C][C]0.318091[/C][/ROW]
[ROW][C]8[/C][C]0.027869[/C][C]0.2122[/C][C]0.41633[/C][/ROW]
[ROW][C]9[/C][C]0.100325[/C][C]0.7641[/C][C]0.223967[/C][/ROW]
[ROW][C]10[/C][C]-0.26886[/C][C]-2.0476[/C][C]0.02257[/C][/ROW]
[ROW][C]11[/C][C]0.420929[/C][C]3.2057[/C][C]0.001096[/C][/ROW]
[ROW][C]12[/C][C]-0.44286[/C][C]-3.3727[/C][C]0.000665[/C][/ROW]
[ROW][C]13[/C][C]0.286139[/C][C]2.1792[/C][C]0.016697[/C][/ROW]
[ROW][C]14[/C][C]-0.094149[/C][C]-0.717[/C][C]0.238119[/C][/ROW]
[ROW][C]15[/C][C]0.012609[/C][C]0.096[/C][C]0.461915[/C][/ROW]
[ROW][C]16[/C][C]-0.004915[/C][C]-0.0374[/C][C]0.485135[/C][/ROW]
[ROW][C]17[/C][C]-0.026987[/C][C]-0.2055[/C][C]0.418941[/C][/ROW]
[ROW][C]18[/C][C]0.067081[/C][C]0.5109[/C][C]0.30569[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195811&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195811&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
1-0.772511-5.88330
20.3395012.58560.006129
3-0.040299-0.30690.380007
4-0.08021-0.61090.271838
50.0853740.65020.259069
6-0.007937-0.06040.476004
7-0.062442-0.47550.318091
80.0278690.21220.41633
90.1003250.76410.223967
10-0.26886-2.04760.02257
110.4209293.20570.001096
12-0.44286-3.37270.000665
130.2861392.17920.016697
14-0.094149-0.7170.238119
150.0126090.0960.461915
16-0.004915-0.03740.485135
17-0.026987-0.20550.418941
180.0670810.51090.30569







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.772511-5.88330
2-0.638035-4.85915e-06
3-0.433263-3.29960.000829
4-0.382599-2.91380.002532
5-0.397446-3.02690.001841
6-0.197542-1.50440.068948
70.0142230.10830.457058
8-0.129965-0.98980.163195
90.1276120.97190.167577
10-0.309332-2.35580.010942
11-0.054422-0.41450.340031
120.067210.51190.305347
130.0370480.28210.389418
14-0.139479-1.06220.146264
15-0.058403-0.44480.329065
160.0407710.31050.378645
17-0.200415-1.52630.066183
18-0.217038-1.65290.051876

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.772511 & -5.8833 & 0 \tabularnewline
2 & -0.638035 & -4.8591 & 5e-06 \tabularnewline
3 & -0.433263 & -3.2996 & 0.000829 \tabularnewline
4 & -0.382599 & -2.9138 & 0.002532 \tabularnewline
5 & -0.397446 & -3.0269 & 0.001841 \tabularnewline
6 & -0.197542 & -1.5044 & 0.068948 \tabularnewline
7 & 0.014223 & 0.1083 & 0.457058 \tabularnewline
8 & -0.129965 & -0.9898 & 0.163195 \tabularnewline
9 & 0.127612 & 0.9719 & 0.167577 \tabularnewline
10 & -0.309332 & -2.3558 & 0.010942 \tabularnewline
11 & -0.054422 & -0.4145 & 0.340031 \tabularnewline
12 & 0.06721 & 0.5119 & 0.305347 \tabularnewline
13 & 0.037048 & 0.2821 & 0.389418 \tabularnewline
14 & -0.139479 & -1.0622 & 0.146264 \tabularnewline
15 & -0.058403 & -0.4448 & 0.329065 \tabularnewline
16 & 0.040771 & 0.3105 & 0.378645 \tabularnewline
17 & -0.200415 & -1.5263 & 0.066183 \tabularnewline
18 & -0.217038 & -1.6529 & 0.051876 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195811&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.772511[/C][C]-5.8833[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.638035[/C][C]-4.8591[/C][C]5e-06[/C][/ROW]
[ROW][C]3[/C][C]-0.433263[/C][C]-3.2996[/C][C]0.000829[/C][/ROW]
[ROW][C]4[/C][C]-0.382599[/C][C]-2.9138[/C][C]0.002532[/C][/ROW]
[ROW][C]5[/C][C]-0.397446[/C][C]-3.0269[/C][C]0.001841[/C][/ROW]
[ROW][C]6[/C][C]-0.197542[/C][C]-1.5044[/C][C]0.068948[/C][/ROW]
[ROW][C]7[/C][C]0.014223[/C][C]0.1083[/C][C]0.457058[/C][/ROW]
[ROW][C]8[/C][C]-0.129965[/C][C]-0.9898[/C][C]0.163195[/C][/ROW]
[ROW][C]9[/C][C]0.127612[/C][C]0.9719[/C][C]0.167577[/C][/ROW]
[ROW][C]10[/C][C]-0.309332[/C][C]-2.3558[/C][C]0.010942[/C][/ROW]
[ROW][C]11[/C][C]-0.054422[/C][C]-0.4145[/C][C]0.340031[/C][/ROW]
[ROW][C]12[/C][C]0.06721[/C][C]0.5119[/C][C]0.305347[/C][/ROW]
[ROW][C]13[/C][C]0.037048[/C][C]0.2821[/C][C]0.389418[/C][/ROW]
[ROW][C]14[/C][C]-0.139479[/C][C]-1.0622[/C][C]0.146264[/C][/ROW]
[ROW][C]15[/C][C]-0.058403[/C][C]-0.4448[/C][C]0.329065[/C][/ROW]
[ROW][C]16[/C][C]0.040771[/C][C]0.3105[/C][C]0.378645[/C][/ROW]
[ROW][C]17[/C][C]-0.200415[/C][C]-1.5263[/C][C]0.066183[/C][/ROW]
[ROW][C]18[/C][C]-0.217038[/C][C]-1.6529[/C][C]0.051876[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195811&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195811&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
1-0.772511-5.88330
2-0.638035-4.85915e-06
3-0.433263-3.29960.000829
4-0.382599-2.91380.002532
5-0.397446-3.02690.001841
6-0.197542-1.50440.068948
70.0142230.10830.457058
8-0.129965-0.98980.163195
90.1276120.97190.167577
10-0.309332-2.35580.010942
11-0.054422-0.41450.340031
120.067210.51190.305347
130.0370480.28210.389418
14-0.139479-1.06220.146264
15-0.058403-0.44480.329065
160.0407710.31050.378645
17-0.200415-1.52630.066183
18-0.217038-1.65290.051876



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