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 computationTue, 12 Apr 2011 13:40:53 +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/2011/Apr/12/t1302615431c57zcssxjl2ikep.htm/, Retrieved Thu, 09 May 2024 15:42:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=120515, Retrieved Thu, 09 May 2024 15:42:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W12
Estimated Impact158
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [(Partial) Autocorrelation Function] [] [2009-12-15 21:20:50] [2186dd2f385e1ccfa008ccec8e23764c]
- R  D    [(Partial) Autocorrelation Function] [] [2011-04-12 13:40:53] [cbd72b4390db0347015264c7aa42331b] [Current]
Feedback Forum

Post a new message
Dataseries X:
10407
10463
10556
10646
10702
11353
11346
11451
11964
12574
13031
13812
14544
14931
14886
16005
17064
15168
16050
15839
15137
14954
15648
15305
15579
16348
15928
16171
15937
15713
15594
15683
16438
17032
17696
17745
19394
20148
20108
18584
18441
18391
19178
18079
18483
19644
19195
19650
20830
23595
22937
21814
21928
21777
21383
21467
22052
22680
24320
24977
25204
25739
26434
27525
30695
32436
30160
30236
31293
31077
32226
33865
32810




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=120515&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=120515&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=120515&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9410258.04010
20.8731387.46010
30.8158436.97060
40.7605156.49780
50.7016325.99470
60.6515.56210
70.5967685.09881e-06
80.5279664.51091.2e-05
90.4700414.0167.1e-05
100.4275473.6530.000242
110.3923.34920.000642
120.3600453.07620.001475
130.3292462.81310.00315
140.2977152.54370.006543
150.2694252.3020.012096
160.2487172.1250.018484
170.2304131.96870.026395
180.2107241.80040.037962
190.1954841.67020.04958
200.1779091.52010.066409
210.1555741.32920.093956
220.1326831.13360.130327
230.1016430.86840.194
240.0636050.54340.294242

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.941025 & 8.0401 & 0 \tabularnewline
2 & 0.873138 & 7.4601 & 0 \tabularnewline
3 & 0.815843 & 6.9706 & 0 \tabularnewline
4 & 0.760515 & 6.4978 & 0 \tabularnewline
5 & 0.701632 & 5.9947 & 0 \tabularnewline
6 & 0.651 & 5.5621 & 0 \tabularnewline
7 & 0.596768 & 5.0988 & 1e-06 \tabularnewline
8 & 0.527966 & 4.5109 & 1.2e-05 \tabularnewline
9 & 0.470041 & 4.016 & 7.1e-05 \tabularnewline
10 & 0.427547 & 3.653 & 0.000242 \tabularnewline
11 & 0.392 & 3.3492 & 0.000642 \tabularnewline
12 & 0.360045 & 3.0762 & 0.001475 \tabularnewline
13 & 0.329246 & 2.8131 & 0.00315 \tabularnewline
14 & 0.297715 & 2.5437 & 0.006543 \tabularnewline
15 & 0.269425 & 2.302 & 0.012096 \tabularnewline
16 & 0.248717 & 2.125 & 0.018484 \tabularnewline
17 & 0.230413 & 1.9687 & 0.026395 \tabularnewline
18 & 0.210724 & 1.8004 & 0.037962 \tabularnewline
19 & 0.195484 & 1.6702 & 0.04958 \tabularnewline
20 & 0.177909 & 1.5201 & 0.066409 \tabularnewline
21 & 0.155574 & 1.3292 & 0.093956 \tabularnewline
22 & 0.132683 & 1.1336 & 0.130327 \tabularnewline
23 & 0.101643 & 0.8684 & 0.194 \tabularnewline
24 & 0.063605 & 0.5434 & 0.294242 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=120515&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.941025[/C][C]8.0401[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.873138[/C][C]7.4601[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.815843[/C][C]6.9706[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.760515[/C][C]6.4978[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.701632[/C][C]5.9947[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.651[/C][C]5.5621[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.596768[/C][C]5.0988[/C][C]1e-06[/C][/ROW]
[ROW][C]8[/C][C]0.527966[/C][C]4.5109[/C][C]1.2e-05[/C][/ROW]
[ROW][C]9[/C][C]0.470041[/C][C]4.016[/C][C]7.1e-05[/C][/ROW]
[ROW][C]10[/C][C]0.427547[/C][C]3.653[/C][C]0.000242[/C][/ROW]
[ROW][C]11[/C][C]0.392[/C][C]3.3492[/C][C]0.000642[/C][/ROW]
[ROW][C]12[/C][C]0.360045[/C][C]3.0762[/C][C]0.001475[/C][/ROW]
[ROW][C]13[/C][C]0.329246[/C][C]2.8131[/C][C]0.00315[/C][/ROW]
[ROW][C]14[/C][C]0.297715[/C][C]2.5437[/C][C]0.006543[/C][/ROW]
[ROW][C]15[/C][C]0.269425[/C][C]2.302[/C][C]0.012096[/C][/ROW]
[ROW][C]16[/C][C]0.248717[/C][C]2.125[/C][C]0.018484[/C][/ROW]
[ROW][C]17[/C][C]0.230413[/C][C]1.9687[/C][C]0.026395[/C][/ROW]
[ROW][C]18[/C][C]0.210724[/C][C]1.8004[/C][C]0.037962[/C][/ROW]
[ROW][C]19[/C][C]0.195484[/C][C]1.6702[/C][C]0.04958[/C][/ROW]
[ROW][C]20[/C][C]0.177909[/C][C]1.5201[/C][C]0.066409[/C][/ROW]
[ROW][C]21[/C][C]0.155574[/C][C]1.3292[/C][C]0.093956[/C][/ROW]
[ROW][C]22[/C][C]0.132683[/C][C]1.1336[/C][C]0.130327[/C][/ROW]
[ROW][C]23[/C][C]0.101643[/C][C]0.8684[/C][C]0.194[/C][/ROW]
[ROW][C]24[/C][C]0.063605[/C][C]0.5434[/C][C]0.294242[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=120515&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=120515&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.9410258.04010
20.8731387.46010
30.8158436.97060
40.7605156.49780
50.7016325.99470
60.6515.56210
70.5967685.09881e-06
80.5279664.51091.2e-05
90.4700414.0167.1e-05
100.4275473.6530.000242
110.3923.34920.000642
120.3600453.07620.001475
130.3292462.81310.00315
140.2977152.54370.006543
150.2694252.3020.012096
160.2487172.1250.018484
170.2304131.96870.026395
180.2107241.80040.037962
190.1954841.67020.04958
200.1779091.52010.066409
210.1555741.32920.093956
220.1326831.13360.130327
230.1016430.86840.194
240.0636050.54340.294242







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9410258.04010
2-0.108232-0.92470.179076
30.062930.53770.296218
4-0.029086-0.24850.402217
5-0.056196-0.48010.316283
60.0452770.38680.349998
7-0.080791-0.69030.246105
8-0.145281-1.24130.109237
90.0712460.60870.272297
100.0570740.48760.313634
110.0323820.27670.391407
120.020040.17120.432262
13-0.032611-0.27860.390659
14-0.011892-0.10160.459675
150.0241550.20640.418533
160.0125920.10760.457311
17-0.018453-0.15770.437578
18-0.022058-0.18850.425518
190.034270.29280.385253
20-0.028664-0.24490.403609
21-0.039415-0.33680.36863
22-0.028681-0.2450.403553
23-0.113302-0.96810.168107
24-0.060701-0.51860.302795

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.941025 & 8.0401 & 0 \tabularnewline
2 & -0.108232 & -0.9247 & 0.179076 \tabularnewline
3 & 0.06293 & 0.5377 & 0.296218 \tabularnewline
4 & -0.029086 & -0.2485 & 0.402217 \tabularnewline
5 & -0.056196 & -0.4801 & 0.316283 \tabularnewline
6 & 0.045277 & 0.3868 & 0.349998 \tabularnewline
7 & -0.080791 & -0.6903 & 0.246105 \tabularnewline
8 & -0.145281 & -1.2413 & 0.109237 \tabularnewline
9 & 0.071246 & 0.6087 & 0.272297 \tabularnewline
10 & 0.057074 & 0.4876 & 0.313634 \tabularnewline
11 & 0.032382 & 0.2767 & 0.391407 \tabularnewline
12 & 0.02004 & 0.1712 & 0.432262 \tabularnewline
13 & -0.032611 & -0.2786 & 0.390659 \tabularnewline
14 & -0.011892 & -0.1016 & 0.459675 \tabularnewline
15 & 0.024155 & 0.2064 & 0.418533 \tabularnewline
16 & 0.012592 & 0.1076 & 0.457311 \tabularnewline
17 & -0.018453 & -0.1577 & 0.437578 \tabularnewline
18 & -0.022058 & -0.1885 & 0.425518 \tabularnewline
19 & 0.03427 & 0.2928 & 0.385253 \tabularnewline
20 & -0.028664 & -0.2449 & 0.403609 \tabularnewline
21 & -0.039415 & -0.3368 & 0.36863 \tabularnewline
22 & -0.028681 & -0.245 & 0.403553 \tabularnewline
23 & -0.113302 & -0.9681 & 0.168107 \tabularnewline
24 & -0.060701 & -0.5186 & 0.302795 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=120515&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.941025[/C][C]8.0401[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.108232[/C][C]-0.9247[/C][C]0.179076[/C][/ROW]
[ROW][C]3[/C][C]0.06293[/C][C]0.5377[/C][C]0.296218[/C][/ROW]
[ROW][C]4[/C][C]-0.029086[/C][C]-0.2485[/C][C]0.402217[/C][/ROW]
[ROW][C]5[/C][C]-0.056196[/C][C]-0.4801[/C][C]0.316283[/C][/ROW]
[ROW][C]6[/C][C]0.045277[/C][C]0.3868[/C][C]0.349998[/C][/ROW]
[ROW][C]7[/C][C]-0.080791[/C][C]-0.6903[/C][C]0.246105[/C][/ROW]
[ROW][C]8[/C][C]-0.145281[/C][C]-1.2413[/C][C]0.109237[/C][/ROW]
[ROW][C]9[/C][C]0.071246[/C][C]0.6087[/C][C]0.272297[/C][/ROW]
[ROW][C]10[/C][C]0.057074[/C][C]0.4876[/C][C]0.313634[/C][/ROW]
[ROW][C]11[/C][C]0.032382[/C][C]0.2767[/C][C]0.391407[/C][/ROW]
[ROW][C]12[/C][C]0.02004[/C][C]0.1712[/C][C]0.432262[/C][/ROW]
[ROW][C]13[/C][C]-0.032611[/C][C]-0.2786[/C][C]0.390659[/C][/ROW]
[ROW][C]14[/C][C]-0.011892[/C][C]-0.1016[/C][C]0.459675[/C][/ROW]
[ROW][C]15[/C][C]0.024155[/C][C]0.2064[/C][C]0.418533[/C][/ROW]
[ROW][C]16[/C][C]0.012592[/C][C]0.1076[/C][C]0.457311[/C][/ROW]
[ROW][C]17[/C][C]-0.018453[/C][C]-0.1577[/C][C]0.437578[/C][/ROW]
[ROW][C]18[/C][C]-0.022058[/C][C]-0.1885[/C][C]0.425518[/C][/ROW]
[ROW][C]19[/C][C]0.03427[/C][C]0.2928[/C][C]0.385253[/C][/ROW]
[ROW][C]20[/C][C]-0.028664[/C][C]-0.2449[/C][C]0.403609[/C][/ROW]
[ROW][C]21[/C][C]-0.039415[/C][C]-0.3368[/C][C]0.36863[/C][/ROW]
[ROW][C]22[/C][C]-0.028681[/C][C]-0.245[/C][C]0.403553[/C][/ROW]
[ROW][C]23[/C][C]-0.113302[/C][C]-0.9681[/C][C]0.168107[/C][/ROW]
[ROW][C]24[/C][C]-0.060701[/C][C]-0.5186[/C][C]0.302795[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=120515&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=120515&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.9410258.04010
2-0.108232-0.92470.179076
30.062930.53770.296218
4-0.029086-0.24850.402217
5-0.056196-0.48010.316283
60.0452770.38680.349998
7-0.080791-0.69030.246105
8-0.145281-1.24130.109237
90.0712460.60870.272297
100.0570740.48760.313634
110.0323820.27670.391407
120.020040.17120.432262
13-0.032611-0.27860.390659
14-0.011892-0.10160.459675
150.0241550.20640.418533
160.0125920.10760.457311
17-0.018453-0.15770.437578
18-0.022058-0.18850.425518
190.034270.29280.385253
20-0.028664-0.24490.403609
21-0.039415-0.33680.36863
22-0.028681-0.2450.403553
23-0.113302-0.96810.168107
24-0.060701-0.51860.302795



Parameters (Session):
par1 = 24 ; 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 = 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')