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 computationFri, 10 Dec 2010 17:35:01 +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/2010/Dec/10/t1292002376di1z3ii1yr83kkt.htm/, Retrieved Mon, 29 Apr 2024 14:03:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=107853, Retrieved Mon, 29 Apr 2024 14:03:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact111
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [(Partial) Autocorrelation Function] [Paper: PACF 1] [2010-12-10 17:20:31] [7d64bf19f34ddcdf2626356c9d5bd60d]
-   P   [(Partial) Autocorrelation Function] [paper ACF 2] [2010-12-10 17:26:39] [7d64bf19f34ddcdf2626356c9d5bd60d]
- R P       [(Partial) Autocorrelation Function] [ACF original] [2010-12-10 17:35:01] [5842cf9dd57f9603e676e11284d3404a] [Current]
-   P         [(Partial) Autocorrelation Function] [ACF 2] [2010-12-10 17:37:10] [7d64bf19f34ddcdf2626356c9d5bd60d]
-   P           [(Partial) Autocorrelation Function] [ACF 4] [2010-12-10 17:42:26] [7d64bf19f34ddcdf2626356c9d5bd60d]
Feedback Forum

Post a new message
Dataseries X:
597
593
590
580
574
573
573
620
626
620
588
566
557
561
549
532
526
511
499
555
565
542
527
510
514
517
508
493
490
469
478
528
534
518
506
502
516
528
533
536
537
524
536
587
597
581
564
558
575
580
575
563
552
537
545
601
604
586
564
549




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 5 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107853&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107853&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107853&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 time5 seconds
R Server'George Udny Yule' @ 72.249.76.132







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8474796.56450
20.6231574.8275e-06
30.4875833.77680.000184
40.4553343.5270.000406
50.4844593.75260.000198
60.480373.72090.00022
70.3932363.0460.001722
80.2411721.86810.033316
90.1274050.98690.163833
100.1029270.79730.214218
110.1803371.39690.083797
120.2088591.61780.055474
130.0458410.35510.361885
14-0.156853-1.2150.114567
15-0.269784-2.08970.020444
16-0.300147-2.32490.011738
17-0.280862-2.17560.01677
18-0.284478-2.20360.015702
19-0.333705-2.58490.006095
20-0.430339-3.33340.000737
21-0.488178-3.78140.000181
22-0.457789-3.5460.000383
23-0.353113-2.73520.004093
24-0.289795-2.24470.014242

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.847479 & 6.5645 & 0 \tabularnewline
2 & 0.623157 & 4.827 & 5e-06 \tabularnewline
3 & 0.487583 & 3.7768 & 0.000184 \tabularnewline
4 & 0.455334 & 3.527 & 0.000406 \tabularnewline
5 & 0.484459 & 3.7526 & 0.000198 \tabularnewline
6 & 0.48037 & 3.7209 & 0.00022 \tabularnewline
7 & 0.393236 & 3.046 & 0.001722 \tabularnewline
8 & 0.241172 & 1.8681 & 0.033316 \tabularnewline
9 & 0.127405 & 0.9869 & 0.163833 \tabularnewline
10 & 0.102927 & 0.7973 & 0.214218 \tabularnewline
11 & 0.180337 & 1.3969 & 0.083797 \tabularnewline
12 & 0.208859 & 1.6178 & 0.055474 \tabularnewline
13 & 0.045841 & 0.3551 & 0.361885 \tabularnewline
14 & -0.156853 & -1.215 & 0.114567 \tabularnewline
15 & -0.269784 & -2.0897 & 0.020444 \tabularnewline
16 & -0.300147 & -2.3249 & 0.011738 \tabularnewline
17 & -0.280862 & -2.1756 & 0.01677 \tabularnewline
18 & -0.284478 & -2.2036 & 0.015702 \tabularnewline
19 & -0.333705 & -2.5849 & 0.006095 \tabularnewline
20 & -0.430339 & -3.3334 & 0.000737 \tabularnewline
21 & -0.488178 & -3.7814 & 0.000181 \tabularnewline
22 & -0.457789 & -3.546 & 0.000383 \tabularnewline
23 & -0.353113 & -2.7352 & 0.004093 \tabularnewline
24 & -0.289795 & -2.2447 & 0.014242 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107853&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.847479[/C][C]6.5645[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.623157[/C][C]4.827[/C][C]5e-06[/C][/ROW]
[ROW][C]3[/C][C]0.487583[/C][C]3.7768[/C][C]0.000184[/C][/ROW]
[ROW][C]4[/C][C]0.455334[/C][C]3.527[/C][C]0.000406[/C][/ROW]
[ROW][C]5[/C][C]0.484459[/C][C]3.7526[/C][C]0.000198[/C][/ROW]
[ROW][C]6[/C][C]0.48037[/C][C]3.7209[/C][C]0.00022[/C][/ROW]
[ROW][C]7[/C][C]0.393236[/C][C]3.046[/C][C]0.001722[/C][/ROW]
[ROW][C]8[/C][C]0.241172[/C][C]1.8681[/C][C]0.033316[/C][/ROW]
[ROW][C]9[/C][C]0.127405[/C][C]0.9869[/C][C]0.163833[/C][/ROW]
[ROW][C]10[/C][C]0.102927[/C][C]0.7973[/C][C]0.214218[/C][/ROW]
[ROW][C]11[/C][C]0.180337[/C][C]1.3969[/C][C]0.083797[/C][/ROW]
[ROW][C]12[/C][C]0.208859[/C][C]1.6178[/C][C]0.055474[/C][/ROW]
[ROW][C]13[/C][C]0.045841[/C][C]0.3551[/C][C]0.361885[/C][/ROW]
[ROW][C]14[/C][C]-0.156853[/C][C]-1.215[/C][C]0.114567[/C][/ROW]
[ROW][C]15[/C][C]-0.269784[/C][C]-2.0897[/C][C]0.020444[/C][/ROW]
[ROW][C]16[/C][C]-0.300147[/C][C]-2.3249[/C][C]0.011738[/C][/ROW]
[ROW][C]17[/C][C]-0.280862[/C][C]-2.1756[/C][C]0.01677[/C][/ROW]
[ROW][C]18[/C][C]-0.284478[/C][C]-2.2036[/C][C]0.015702[/C][/ROW]
[ROW][C]19[/C][C]-0.333705[/C][C]-2.5849[/C][C]0.006095[/C][/ROW]
[ROW][C]20[/C][C]-0.430339[/C][C]-3.3334[/C][C]0.000737[/C][/ROW]
[ROW][C]21[/C][C]-0.488178[/C][C]-3.7814[/C][C]0.000181[/C][/ROW]
[ROW][C]22[/C][C]-0.457789[/C][C]-3.546[/C][C]0.000383[/C][/ROW]
[ROW][C]23[/C][C]-0.353113[/C][C]-2.7352[/C][C]0.004093[/C][/ROW]
[ROW][C]24[/C][C]-0.289795[/C][C]-2.2447[/C][C]0.014242[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107853&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107853&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.8474796.56450
20.6231574.8275e-06
30.4875833.77680.000184
40.4553343.5270.000406
50.4844593.75260.000198
60.480373.72090.00022
70.3932363.0460.001722
80.2411721.86810.033316
90.1274050.98690.163833
100.1029270.79730.214218
110.1803371.39690.083797
120.2088591.61780.055474
130.0458410.35510.361885
14-0.156853-1.2150.114567
15-0.269784-2.08970.020444
16-0.300147-2.32490.011738
17-0.280862-2.17560.01677
18-0.284478-2.20360.015702
19-0.333705-2.58490.006095
20-0.430339-3.33340.000737
21-0.488178-3.78140.000181
22-0.457789-3.5460.000383
23-0.353113-2.73520.004093
24-0.289795-2.24470.014242







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8474796.56450
2-0.337371-2.61330.00566
30.2691772.0850.020664
40.1323761.02540.154649
50.158661.2290.11194
6-0.083458-0.64650.260222
7-0.127133-0.98480.164345
8-0.185983-1.44060.077446
90.0570140.44160.330174
100.0277470.21490.415277
110.2640252.04510.022617
12-0.278269-2.15550.017574
13-0.490763-3.80140.000169
140.0948320.73460.232732
150.0656040.50820.306599
16-0.19621-1.51980.066902
17-0.085988-0.66610.253963
18-0.13193-1.02190.155459
190.1809761.40180.083058
20-0.08255-0.63940.262488
210.0400590.31030.378705
22-0.033513-0.25960.398034
23-0.040465-0.31340.377517
24-0.003113-0.02410.490422

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.847479 & 6.5645 & 0 \tabularnewline
2 & -0.337371 & -2.6133 & 0.00566 \tabularnewline
3 & 0.269177 & 2.085 & 0.020664 \tabularnewline
4 & 0.132376 & 1.0254 & 0.154649 \tabularnewline
5 & 0.15866 & 1.229 & 0.11194 \tabularnewline
6 & -0.083458 & -0.6465 & 0.260222 \tabularnewline
7 & -0.127133 & -0.9848 & 0.164345 \tabularnewline
8 & -0.185983 & -1.4406 & 0.077446 \tabularnewline
9 & 0.057014 & 0.4416 & 0.330174 \tabularnewline
10 & 0.027747 & 0.2149 & 0.415277 \tabularnewline
11 & 0.264025 & 2.0451 & 0.022617 \tabularnewline
12 & -0.278269 & -2.1555 & 0.017574 \tabularnewline
13 & -0.490763 & -3.8014 & 0.000169 \tabularnewline
14 & 0.094832 & 0.7346 & 0.232732 \tabularnewline
15 & 0.065604 & 0.5082 & 0.306599 \tabularnewline
16 & -0.19621 & -1.5198 & 0.066902 \tabularnewline
17 & -0.085988 & -0.6661 & 0.253963 \tabularnewline
18 & -0.13193 & -1.0219 & 0.155459 \tabularnewline
19 & 0.180976 & 1.4018 & 0.083058 \tabularnewline
20 & -0.08255 & -0.6394 & 0.262488 \tabularnewline
21 & 0.040059 & 0.3103 & 0.378705 \tabularnewline
22 & -0.033513 & -0.2596 & 0.398034 \tabularnewline
23 & -0.040465 & -0.3134 & 0.377517 \tabularnewline
24 & -0.003113 & -0.0241 & 0.490422 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107853&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.847479[/C][C]6.5645[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.337371[/C][C]-2.6133[/C][C]0.00566[/C][/ROW]
[ROW][C]3[/C][C]0.269177[/C][C]2.085[/C][C]0.020664[/C][/ROW]
[ROW][C]4[/C][C]0.132376[/C][C]1.0254[/C][C]0.154649[/C][/ROW]
[ROW][C]5[/C][C]0.15866[/C][C]1.229[/C][C]0.11194[/C][/ROW]
[ROW][C]6[/C][C]-0.083458[/C][C]-0.6465[/C][C]0.260222[/C][/ROW]
[ROW][C]7[/C][C]-0.127133[/C][C]-0.9848[/C][C]0.164345[/C][/ROW]
[ROW][C]8[/C][C]-0.185983[/C][C]-1.4406[/C][C]0.077446[/C][/ROW]
[ROW][C]9[/C][C]0.057014[/C][C]0.4416[/C][C]0.330174[/C][/ROW]
[ROW][C]10[/C][C]0.027747[/C][C]0.2149[/C][C]0.415277[/C][/ROW]
[ROW][C]11[/C][C]0.264025[/C][C]2.0451[/C][C]0.022617[/C][/ROW]
[ROW][C]12[/C][C]-0.278269[/C][C]-2.1555[/C][C]0.017574[/C][/ROW]
[ROW][C]13[/C][C]-0.490763[/C][C]-3.8014[/C][C]0.000169[/C][/ROW]
[ROW][C]14[/C][C]0.094832[/C][C]0.7346[/C][C]0.232732[/C][/ROW]
[ROW][C]15[/C][C]0.065604[/C][C]0.5082[/C][C]0.306599[/C][/ROW]
[ROW][C]16[/C][C]-0.19621[/C][C]-1.5198[/C][C]0.066902[/C][/ROW]
[ROW][C]17[/C][C]-0.085988[/C][C]-0.6661[/C][C]0.253963[/C][/ROW]
[ROW][C]18[/C][C]-0.13193[/C][C]-1.0219[/C][C]0.155459[/C][/ROW]
[ROW][C]19[/C][C]0.180976[/C][C]1.4018[/C][C]0.083058[/C][/ROW]
[ROW][C]20[/C][C]-0.08255[/C][C]-0.6394[/C][C]0.262488[/C][/ROW]
[ROW][C]21[/C][C]0.040059[/C][C]0.3103[/C][C]0.378705[/C][/ROW]
[ROW][C]22[/C][C]-0.033513[/C][C]-0.2596[/C][C]0.398034[/C][/ROW]
[ROW][C]23[/C][C]-0.040465[/C][C]-0.3134[/C][C]0.377517[/C][/ROW]
[ROW][C]24[/C][C]-0.003113[/C][C]-0.0241[/C][C]0.490422[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107853&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107853&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.8474796.56450
2-0.337371-2.61330.00566
30.2691772.0850.020664
40.1323761.02540.154649
50.158661.2290.11194
6-0.083458-0.64650.260222
7-0.127133-0.98480.164345
8-0.185983-1.44060.077446
90.0570140.44160.330174
100.0277470.21490.415277
110.2640252.04510.022617
12-0.278269-2.15550.017574
13-0.490763-3.80140.000169
140.0948320.73460.232732
150.0656040.50820.306599
16-0.19621-1.51980.066902
17-0.085988-0.66610.253963
18-0.13193-1.02190.155459
190.1809761.40180.083058
20-0.08255-0.63940.262488
210.0400590.31030.378705
22-0.033513-0.25960.398034
23-0.040465-0.31340.377517
24-0.003113-0.02410.490422



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 ;
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')