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 computationSun, 06 Dec 2009 13:03:46 -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/06/t1260129876e832depzls1mgte.htm/, Retrieved Mon, 06 May 2024 02:49:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=64491, Retrieved Mon, 06 May 2024 02:49:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W21
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2009-12-06 20:03:46] [46199ea7e385a69efb178ac615a86e3a] [Current]
-   PD    [(Partial) Autocorrelation Function] [] [2010-01-13 17:52:22] [7d3231f13acd73ba47c9ab8bcf0bcfd9]
Feedback Forum

Post a new message
Dataseries X:
8 357
7 454
8 076
7 248
7 339
7 292
7 359
7 537
7 441
8 057
8 037
8 257
8 692
8 119
8 236
7 432
7 669
7 453
7 566
7 731
7 657
8 130
8 401
8 737
9 009
7 919
8 228
7 903
7 912
7 857
7 965
8 091
8 024
8 772
8 656
8 953
9 014
8 103
8 876
8 231
8 173
8 087
8 296
8 007
8 382
9 168
9 137
9 321
9 234
8 451
9 101
8 279
8 284
8 225
8 597
8 305
8 620
9 102
9 258
9 652
9 522
8 874
9 415
8 525
8 862
8 421
8 626
8 750
8 852
9 412
9 570
9 513
9 986
8 907
9 663
8 799
8 931
8 732
8 936
9 127
9 070
9 773
9 670
9 929
10 095
9 025
9 659
8 954
9 022
8 855
9 034
9 196
9 038
9 650
9 715
10 052
10 436
9 314
9 717
8 997
9 062
8 885
9 058
9 095
9 149
9 857
9 848
10 269
10 341
9 690
10 125
9 349
9 224
9 224
9 454
9 347
9 430
9 933
10 148
10 677
10 735
9 760
10 567
9 333
9 409
9 502
9 348
9 319
9 594
10 160
10 182
10 810
11 105
9 874
10 958
9 311
9 610
9 398
9 784
9 425
9 557
10 166
10 337
10 770
11 265
10 183
10 941
9 628
9 709
9 637
9 579
9 741
9 754
10 508
10 749
11 079
11 608
10 668
10 933
9 703
9 799
9 656
9 648
9 712
9 766
10 540
10 564
10 911
11 218
10 230
10 410
9 227
9 378
9 105
9 128




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.440615-5.81210
20.3762554.96311e-06
3-0.049082-0.64740.259101
4-0.21598-2.8490.002458
50.0277620.36620.357326
6-0.335803-4.42958e-06
70.0263980.34820.364048
8-0.217047-2.8630.002356
9-0.042675-0.56290.287105
100.3368414.44328e-06
11-0.366589-4.83561e-06
120.84686311.17090
13-0.387799-5.11540
140.3513064.6344e-06
15-0.040791-0.53810.295608
16-0.204772-2.70110.003797
170.0297780.39280.347472
18-0.307444-4.05553.8e-05
190.0199580.26330.396329
20-0.181068-2.38840.008995
21-0.064078-0.84530.199566
220.3167964.17882.3e-05

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.440615 & -5.8121 & 0 \tabularnewline
2 & 0.376255 & 4.9631 & 1e-06 \tabularnewline
3 & -0.049082 & -0.6474 & 0.259101 \tabularnewline
4 & -0.21598 & -2.849 & 0.002458 \tabularnewline
5 & 0.027762 & 0.3662 & 0.357326 \tabularnewline
6 & -0.335803 & -4.4295 & 8e-06 \tabularnewline
7 & 0.026398 & 0.3482 & 0.364048 \tabularnewline
8 & -0.217047 & -2.863 & 0.002356 \tabularnewline
9 & -0.042675 & -0.5629 & 0.287105 \tabularnewline
10 & 0.336841 & 4.4432 & 8e-06 \tabularnewline
11 & -0.366589 & -4.8356 & 1e-06 \tabularnewline
12 & 0.846863 & 11.1709 & 0 \tabularnewline
13 & -0.387799 & -5.1154 & 0 \tabularnewline
14 & 0.351306 & 4.634 & 4e-06 \tabularnewline
15 & -0.040791 & -0.5381 & 0.295608 \tabularnewline
16 & -0.204772 & -2.7011 & 0.003797 \tabularnewline
17 & 0.029778 & 0.3928 & 0.347472 \tabularnewline
18 & -0.307444 & -4.0555 & 3.8e-05 \tabularnewline
19 & 0.019958 & 0.2633 & 0.396329 \tabularnewline
20 & -0.181068 & -2.3884 & 0.008995 \tabularnewline
21 & -0.064078 & -0.8453 & 0.199566 \tabularnewline
22 & 0.316796 & 4.1788 & 2.3e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64491&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.440615[/C][C]-5.8121[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.376255[/C][C]4.9631[/C][C]1e-06[/C][/ROW]
[ROW][C]3[/C][C]-0.049082[/C][C]-0.6474[/C][C]0.259101[/C][/ROW]
[ROW][C]4[/C][C]-0.21598[/C][C]-2.849[/C][C]0.002458[/C][/ROW]
[ROW][C]5[/C][C]0.027762[/C][C]0.3662[/C][C]0.357326[/C][/ROW]
[ROW][C]6[/C][C]-0.335803[/C][C]-4.4295[/C][C]8e-06[/C][/ROW]
[ROW][C]7[/C][C]0.026398[/C][C]0.3482[/C][C]0.364048[/C][/ROW]
[ROW][C]8[/C][C]-0.217047[/C][C]-2.863[/C][C]0.002356[/C][/ROW]
[ROW][C]9[/C][C]-0.042675[/C][C]-0.5629[/C][C]0.287105[/C][/ROW]
[ROW][C]10[/C][C]0.336841[/C][C]4.4432[/C][C]8e-06[/C][/ROW]
[ROW][C]11[/C][C]-0.366589[/C][C]-4.8356[/C][C]1e-06[/C][/ROW]
[ROW][C]12[/C][C]0.846863[/C][C]11.1709[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.387799[/C][C]-5.1154[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.351306[/C][C]4.634[/C][C]4e-06[/C][/ROW]
[ROW][C]15[/C][C]-0.040791[/C][C]-0.5381[/C][C]0.295608[/C][/ROW]
[ROW][C]16[/C][C]-0.204772[/C][C]-2.7011[/C][C]0.003797[/C][/ROW]
[ROW][C]17[/C][C]0.029778[/C][C]0.3928[/C][C]0.347472[/C][/ROW]
[ROW][C]18[/C][C]-0.307444[/C][C]-4.0555[/C][C]3.8e-05[/C][/ROW]
[ROW][C]19[/C][C]0.019958[/C][C]0.2633[/C][C]0.396329[/C][/ROW]
[ROW][C]20[/C][C]-0.181068[/C][C]-2.3884[/C][C]0.008995[/C][/ROW]
[ROW][C]21[/C][C]-0.064078[/C][C]-0.8453[/C][C]0.199566[/C][/ROW]
[ROW][C]22[/C][C]0.316796[/C][C]4.1788[/C][C]2.3e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64491&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64491&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.440615-5.81210
20.3762554.96311e-06
3-0.049082-0.64740.259101
4-0.21598-2.8490.002458
50.0277620.36620.357326
6-0.335803-4.42958e-06
70.0263980.34820.364048
8-0.217047-2.8630.002356
9-0.042675-0.56290.287105
100.3368414.44328e-06
11-0.366589-4.83561e-06
120.84686311.17090
13-0.387799-5.11540
140.3513064.6344e-06
15-0.040791-0.53810.295608
16-0.204772-2.70110.003797
170.0297780.39280.347472
18-0.307444-4.05553.8e-05
190.0199580.26330.396329
20-0.181068-2.38840.008995
21-0.064078-0.84530.199566
220.3167964.17882.3e-05







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.440615-5.81210
20.2259872.9810.001643
30.2338293.08440.001186
4-0.342122-4.51296e-06
5-0.325737-4.29681.4e-05
6-0.338807-4.46927e-06
7-0.160879-2.12210.017621
8-0.245149-3.23370.000731
9-0.45106-5.94990
100.2183342.880.002238
11-0.357278-4.71282e-06
120.5464767.20850
130.1901652.50840.006521
14-0.07907-1.0430.149198
15-0.039736-0.52420.300418
16-0.006303-0.08310.466918
17-0.043648-0.57580.282761
180.054240.71550.237639
190.0346970.45770.323876
200.0888161.17160.121488
21-0.077382-1.02070.154397
22-0.037875-0.49960.308994

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.440615 & -5.8121 & 0 \tabularnewline
2 & 0.225987 & 2.981 & 0.001643 \tabularnewline
3 & 0.233829 & 3.0844 & 0.001186 \tabularnewline
4 & -0.342122 & -4.5129 & 6e-06 \tabularnewline
5 & -0.325737 & -4.2968 & 1.4e-05 \tabularnewline
6 & -0.338807 & -4.4692 & 7e-06 \tabularnewline
7 & -0.160879 & -2.1221 & 0.017621 \tabularnewline
8 & -0.245149 & -3.2337 & 0.000731 \tabularnewline
9 & -0.45106 & -5.9499 & 0 \tabularnewline
10 & 0.218334 & 2.88 & 0.002238 \tabularnewline
11 & -0.357278 & -4.7128 & 2e-06 \tabularnewline
12 & 0.546476 & 7.2085 & 0 \tabularnewline
13 & 0.190165 & 2.5084 & 0.006521 \tabularnewline
14 & -0.07907 & -1.043 & 0.149198 \tabularnewline
15 & -0.039736 & -0.5242 & 0.300418 \tabularnewline
16 & -0.006303 & -0.0831 & 0.466918 \tabularnewline
17 & -0.043648 & -0.5758 & 0.282761 \tabularnewline
18 & 0.05424 & 0.7155 & 0.237639 \tabularnewline
19 & 0.034697 & 0.4577 & 0.323876 \tabularnewline
20 & 0.088816 & 1.1716 & 0.121488 \tabularnewline
21 & -0.077382 & -1.0207 & 0.154397 \tabularnewline
22 & -0.037875 & -0.4996 & 0.308994 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64491&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.440615[/C][C]-5.8121[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.225987[/C][C]2.981[/C][C]0.001643[/C][/ROW]
[ROW][C]3[/C][C]0.233829[/C][C]3.0844[/C][C]0.001186[/C][/ROW]
[ROW][C]4[/C][C]-0.342122[/C][C]-4.5129[/C][C]6e-06[/C][/ROW]
[ROW][C]5[/C][C]-0.325737[/C][C]-4.2968[/C][C]1.4e-05[/C][/ROW]
[ROW][C]6[/C][C]-0.338807[/C][C]-4.4692[/C][C]7e-06[/C][/ROW]
[ROW][C]7[/C][C]-0.160879[/C][C]-2.1221[/C][C]0.017621[/C][/ROW]
[ROW][C]8[/C][C]-0.245149[/C][C]-3.2337[/C][C]0.000731[/C][/ROW]
[ROW][C]9[/C][C]-0.45106[/C][C]-5.9499[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.218334[/C][C]2.88[/C][C]0.002238[/C][/ROW]
[ROW][C]11[/C][C]-0.357278[/C][C]-4.7128[/C][C]2e-06[/C][/ROW]
[ROW][C]12[/C][C]0.546476[/C][C]7.2085[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.190165[/C][C]2.5084[/C][C]0.006521[/C][/ROW]
[ROW][C]14[/C][C]-0.07907[/C][C]-1.043[/C][C]0.149198[/C][/ROW]
[ROW][C]15[/C][C]-0.039736[/C][C]-0.5242[/C][C]0.300418[/C][/ROW]
[ROW][C]16[/C][C]-0.006303[/C][C]-0.0831[/C][C]0.466918[/C][/ROW]
[ROW][C]17[/C][C]-0.043648[/C][C]-0.5758[/C][C]0.282761[/C][/ROW]
[ROW][C]18[/C][C]0.05424[/C][C]0.7155[/C][C]0.237639[/C][/ROW]
[ROW][C]19[/C][C]0.034697[/C][C]0.4577[/C][C]0.323876[/C][/ROW]
[ROW][C]20[/C][C]0.088816[/C][C]1.1716[/C][C]0.121488[/C][/ROW]
[ROW][C]21[/C][C]-0.077382[/C][C]-1.0207[/C][C]0.154397[/C][/ROW]
[ROW][C]22[/C][C]-0.037875[/C][C]-0.4996[/C][C]0.308994[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64491&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64491&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.440615-5.81210
20.2259872.9810.001643
30.2338293.08440.001186
4-0.342122-4.51296e-06
5-0.325737-4.29681.4e-05
6-0.338807-4.46927e-06
7-0.160879-2.12210.017621
8-0.245149-3.23370.000731
9-0.45106-5.94990
100.2183342.880.002238
11-0.357278-4.71282e-06
120.5464767.20850
130.1901652.50840.006521
14-0.07907-1.0430.149198
15-0.039736-0.52420.300418
16-0.006303-0.08310.466918
17-0.043648-0.57580.282761
180.054240.71550.237639
190.0346970.45770.323876
200.0888161.17160.121488
21-0.077382-1.02070.154397
22-0.037875-0.49960.308994



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