Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_autocorrelation.wasp
Title produced by software(Partial) Autocorrelation Function
Date of computationMon, 21 Dec 2009 08:30:42 -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/21/t1261411141chos71uqirfgp9x.htm/, Retrieved Sun, 05 May 2024 18:56:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=70302, Retrieved Sun, 05 May 2024 18:56:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact108
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Standard Deviation-Mean Plot] [Standard Deviatio...] [2008-12-14 11:22:46] [1dc7b54f2fa28720a65b8f3f53c2ed9f]
- RM D  [Standard Deviation-Mean Plot] [] [2009-12-21 15:15:49] [8eb28aba8de3868ee2c810eecf1cb9a8]
- RM      [Variance Reduction Matrix] [] [2009-12-21 15:21:01] [8eb28aba8de3868ee2c810eecf1cb9a8]
- RMP         [(Partial) Autocorrelation Function] [] [2009-12-21 15:30:42] [ce16745b5fa1a53fd3d9c8db848c7076] [Current]
Feedback Forum

Post a new message
Dataseries X:
2350.44
2440.25
2408.64
2472.81
2407.6
2454.62
2448.05
2497.84
2645.64
2756.76
2849.27
2921.44
2981.85
3080.58
3106.22
3119.31
3061.26
3097.31
3161.69
3257.16
3277.01
3295.32
3363.99
3494.17
3667.03
3813.06
3917.96
3895.51
3801.06
3570.12
3701.61
3862.27
3970.1
4138.52
4199.75
4290.89
4443.91
4502.64
4356.98
4591.27
4696.96
4621.4
4562.84
4202.52
4296.49
4435.23
4105.18
4116.68
3844.49
3720.98
3674.4
3857.62
3801.06
3504.37
3032.6
3047.03
2962.34
2197.82
2014.45




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9152537.03020
20.8257776.34290
30.7677795.89740
40.7028065.39841e-06
50.6231514.78656e-06
60.5547874.26143.7e-05
70.4955283.80620.000169
80.4379473.36390.000677
90.3678812.82570.003214
100.2974462.28470.012971
110.2333761.79260.039082
120.1698841.30490.098496
130.105890.81340.209643
140.0635810.48840.313547
150.004480.03440.486332
16-0.061533-0.47260.319106
17-0.114856-0.88220.190617
18-0.159647-1.22630.112484
19-0.188636-1.44890.076325
20-0.219807-1.68840.04831
21-0.259208-1.9910.025558
22-0.284497-2.18530.016426
23-0.302862-2.32630.011728
24-0.316987-2.43480.008971

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.915253 & 7.0302 & 0 \tabularnewline
2 & 0.825777 & 6.3429 & 0 \tabularnewline
3 & 0.767779 & 5.8974 & 0 \tabularnewline
4 & 0.702806 & 5.3984 & 1e-06 \tabularnewline
5 & 0.623151 & 4.7865 & 6e-06 \tabularnewline
6 & 0.554787 & 4.2614 & 3.7e-05 \tabularnewline
7 & 0.495528 & 3.8062 & 0.000169 \tabularnewline
8 & 0.437947 & 3.3639 & 0.000677 \tabularnewline
9 & 0.367881 & 2.8257 & 0.003214 \tabularnewline
10 & 0.297446 & 2.2847 & 0.012971 \tabularnewline
11 & 0.233376 & 1.7926 & 0.039082 \tabularnewline
12 & 0.169884 & 1.3049 & 0.098496 \tabularnewline
13 & 0.10589 & 0.8134 & 0.209643 \tabularnewline
14 & 0.063581 & 0.4884 & 0.313547 \tabularnewline
15 & 0.00448 & 0.0344 & 0.486332 \tabularnewline
16 & -0.061533 & -0.4726 & 0.319106 \tabularnewline
17 & -0.114856 & -0.8822 & 0.190617 \tabularnewline
18 & -0.159647 & -1.2263 & 0.112484 \tabularnewline
19 & -0.188636 & -1.4489 & 0.076325 \tabularnewline
20 & -0.219807 & -1.6884 & 0.04831 \tabularnewline
21 & -0.259208 & -1.991 & 0.025558 \tabularnewline
22 & -0.284497 & -2.1853 & 0.016426 \tabularnewline
23 & -0.302862 & -2.3263 & 0.011728 \tabularnewline
24 & -0.316987 & -2.4348 & 0.008971 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70302&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.915253[/C][C]7.0302[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.825777[/C][C]6.3429[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.767779[/C][C]5.8974[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.702806[/C][C]5.3984[/C][C]1e-06[/C][/ROW]
[ROW][C]5[/C][C]0.623151[/C][C]4.7865[/C][C]6e-06[/C][/ROW]
[ROW][C]6[/C][C]0.554787[/C][C]4.2614[/C][C]3.7e-05[/C][/ROW]
[ROW][C]7[/C][C]0.495528[/C][C]3.8062[/C][C]0.000169[/C][/ROW]
[ROW][C]8[/C][C]0.437947[/C][C]3.3639[/C][C]0.000677[/C][/ROW]
[ROW][C]9[/C][C]0.367881[/C][C]2.8257[/C][C]0.003214[/C][/ROW]
[ROW][C]10[/C][C]0.297446[/C][C]2.2847[/C][C]0.012971[/C][/ROW]
[ROW][C]11[/C][C]0.233376[/C][C]1.7926[/C][C]0.039082[/C][/ROW]
[ROW][C]12[/C][C]0.169884[/C][C]1.3049[/C][C]0.098496[/C][/ROW]
[ROW][C]13[/C][C]0.10589[/C][C]0.8134[/C][C]0.209643[/C][/ROW]
[ROW][C]14[/C][C]0.063581[/C][C]0.4884[/C][C]0.313547[/C][/ROW]
[ROW][C]15[/C][C]0.00448[/C][C]0.0344[/C][C]0.486332[/C][/ROW]
[ROW][C]16[/C][C]-0.061533[/C][C]-0.4726[/C][C]0.319106[/C][/ROW]
[ROW][C]17[/C][C]-0.114856[/C][C]-0.8822[/C][C]0.190617[/C][/ROW]
[ROW][C]18[/C][C]-0.159647[/C][C]-1.2263[/C][C]0.112484[/C][/ROW]
[ROW][C]19[/C][C]-0.188636[/C][C]-1.4489[/C][C]0.076325[/C][/ROW]
[ROW][C]20[/C][C]-0.219807[/C][C]-1.6884[/C][C]0.04831[/C][/ROW]
[ROW][C]21[/C][C]-0.259208[/C][C]-1.991[/C][C]0.025558[/C][/ROW]
[ROW][C]22[/C][C]-0.284497[/C][C]-2.1853[/C][C]0.016426[/C][/ROW]
[ROW][C]23[/C][C]-0.302862[/C][C]-2.3263[/C][C]0.011728[/C][/ROW]
[ROW][C]24[/C][C]-0.316987[/C][C]-2.4348[/C][C]0.008971[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70302&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70302&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.9152537.03020
20.8257776.34290
30.7677795.89740
40.7028065.39841e-06
50.6231514.78656e-06
60.5547874.26143.7e-05
70.4955283.80620.000169
80.4379473.36390.000677
90.3678812.82570.003214
100.2974462.28470.012971
110.2333761.79260.039082
120.1698841.30490.098496
130.105890.81340.209643
140.0635810.48840.313547
150.004480.03440.486332
16-0.061533-0.47260.319106
17-0.114856-0.88220.190617
18-0.159647-1.22630.112484
19-0.188636-1.44890.076325
20-0.219807-1.68840.04831
21-0.259208-1.9910.025558
22-0.284497-2.18530.016426
23-0.302862-2.32630.011728
24-0.316987-2.43480.008971







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9152537.03020
2-0.073383-0.56370.287558
30.1467111.12690.132172
4-0.091148-0.70010.243302
5-0.092686-0.71190.239655
60.0126770.09740.461381
7-0.015201-0.11680.453724
8-0.00529-0.04060.483862
9-0.109481-0.84090.201888
10-0.050007-0.38410.351139
11-0.040069-0.30780.379668
12-0.04539-0.34860.364297
13-0.03591-0.27580.39182
140.0767470.58950.278887
15-0.174221-1.33820.092981
16-0.049956-0.38370.351284
17-0.026222-0.20140.420533
18-0.023692-0.1820.428111
190.0953890.73270.233323
20-0.074118-0.56930.285652
21-0.079108-0.60760.27288
220.0017040.01310.494802
23-0.025689-0.19730.422128
240.0429290.32970.37138

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.915253 & 7.0302 & 0 \tabularnewline
2 & -0.073383 & -0.5637 & 0.287558 \tabularnewline
3 & 0.146711 & 1.1269 & 0.132172 \tabularnewline
4 & -0.091148 & -0.7001 & 0.243302 \tabularnewline
5 & -0.092686 & -0.7119 & 0.239655 \tabularnewline
6 & 0.012677 & 0.0974 & 0.461381 \tabularnewline
7 & -0.015201 & -0.1168 & 0.453724 \tabularnewline
8 & -0.00529 & -0.0406 & 0.483862 \tabularnewline
9 & -0.109481 & -0.8409 & 0.201888 \tabularnewline
10 & -0.050007 & -0.3841 & 0.351139 \tabularnewline
11 & -0.040069 & -0.3078 & 0.379668 \tabularnewline
12 & -0.04539 & -0.3486 & 0.364297 \tabularnewline
13 & -0.03591 & -0.2758 & 0.39182 \tabularnewline
14 & 0.076747 & 0.5895 & 0.278887 \tabularnewline
15 & -0.174221 & -1.3382 & 0.092981 \tabularnewline
16 & -0.049956 & -0.3837 & 0.351284 \tabularnewline
17 & -0.026222 & -0.2014 & 0.420533 \tabularnewline
18 & -0.023692 & -0.182 & 0.428111 \tabularnewline
19 & 0.095389 & 0.7327 & 0.233323 \tabularnewline
20 & -0.074118 & -0.5693 & 0.285652 \tabularnewline
21 & -0.079108 & -0.6076 & 0.27288 \tabularnewline
22 & 0.001704 & 0.0131 & 0.494802 \tabularnewline
23 & -0.025689 & -0.1973 & 0.422128 \tabularnewline
24 & 0.042929 & 0.3297 & 0.37138 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70302&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.915253[/C][C]7.0302[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.073383[/C][C]-0.5637[/C][C]0.287558[/C][/ROW]
[ROW][C]3[/C][C]0.146711[/C][C]1.1269[/C][C]0.132172[/C][/ROW]
[ROW][C]4[/C][C]-0.091148[/C][C]-0.7001[/C][C]0.243302[/C][/ROW]
[ROW][C]5[/C][C]-0.092686[/C][C]-0.7119[/C][C]0.239655[/C][/ROW]
[ROW][C]6[/C][C]0.012677[/C][C]0.0974[/C][C]0.461381[/C][/ROW]
[ROW][C]7[/C][C]-0.015201[/C][C]-0.1168[/C][C]0.453724[/C][/ROW]
[ROW][C]8[/C][C]-0.00529[/C][C]-0.0406[/C][C]0.483862[/C][/ROW]
[ROW][C]9[/C][C]-0.109481[/C][C]-0.8409[/C][C]0.201888[/C][/ROW]
[ROW][C]10[/C][C]-0.050007[/C][C]-0.3841[/C][C]0.351139[/C][/ROW]
[ROW][C]11[/C][C]-0.040069[/C][C]-0.3078[/C][C]0.379668[/C][/ROW]
[ROW][C]12[/C][C]-0.04539[/C][C]-0.3486[/C][C]0.364297[/C][/ROW]
[ROW][C]13[/C][C]-0.03591[/C][C]-0.2758[/C][C]0.39182[/C][/ROW]
[ROW][C]14[/C][C]0.076747[/C][C]0.5895[/C][C]0.278887[/C][/ROW]
[ROW][C]15[/C][C]-0.174221[/C][C]-1.3382[/C][C]0.092981[/C][/ROW]
[ROW][C]16[/C][C]-0.049956[/C][C]-0.3837[/C][C]0.351284[/C][/ROW]
[ROW][C]17[/C][C]-0.026222[/C][C]-0.2014[/C][C]0.420533[/C][/ROW]
[ROW][C]18[/C][C]-0.023692[/C][C]-0.182[/C][C]0.428111[/C][/ROW]
[ROW][C]19[/C][C]0.095389[/C][C]0.7327[/C][C]0.233323[/C][/ROW]
[ROW][C]20[/C][C]-0.074118[/C][C]-0.5693[/C][C]0.285652[/C][/ROW]
[ROW][C]21[/C][C]-0.079108[/C][C]-0.6076[/C][C]0.27288[/C][/ROW]
[ROW][C]22[/C][C]0.001704[/C][C]0.0131[/C][C]0.494802[/C][/ROW]
[ROW][C]23[/C][C]-0.025689[/C][C]-0.1973[/C][C]0.422128[/C][/ROW]
[ROW][C]24[/C][C]0.042929[/C][C]0.3297[/C][C]0.37138[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70302&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70302&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.9152537.03020
2-0.073383-0.56370.287558
30.1467111.12690.132172
4-0.091148-0.70010.243302
5-0.092686-0.71190.239655
60.0126770.09740.461381
7-0.015201-0.11680.453724
8-0.00529-0.04060.483862
9-0.109481-0.84090.201888
10-0.050007-0.38410.351139
11-0.040069-0.30780.379668
12-0.04539-0.34860.364297
13-0.03591-0.27580.39182
140.0767470.58950.278887
15-0.174221-1.33820.092981
16-0.049956-0.38370.351284
17-0.026222-0.20140.420533
18-0.023692-0.1820.428111
190.0953890.73270.233323
20-0.074118-0.56930.285652
21-0.079108-0.60760.27288
220.0017040.01310.494802
23-0.025689-0.19730.422128
240.0429290.32970.37138



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = 24 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')