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 computationWed, 07 Jul 2010 17:56:35 +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/Jul/07/t1278525422upkgv6tv5itkthp.htm/, Retrieved Mon, 06 May 2024 04:02:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=77951, Retrieved Mon, 06 May 2024 04:02:56 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact191
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Kelly Janbroers -...] [2010-07-07 17:56:35] [413e0fefcf22560c5655fbc122c1a3c2] [Current]
Feedback Forum

Post a new message
Dataseries X:
33
32
31
29
49
48
33
23
24
24
25
27
24
21
15
21
49
48
35
36
51
50
61
63
61
62
58
65
93
94
86
88
102
107
121
127
125
128
117
127
160
162
153
160
177
178
196
212
212
211
204
216
248
250
240
249
275
277
286
302
290
290
277
285
311
300
291
299
332
337
343
360
353
351
341
348
381
358
353
358
399
409
407
419
418
421
414
424
463
437
430
436
474
489
482
492
502
500
493
504
538
516
502
501
541
571
559
569
576
573
562
570
597
573
562
556
600
630
624
634




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=77951&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=77951&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=77951&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.9758910.69030
20.95172310.42560
30.92885610.17510
40.9085759.95290
50.891129.76170
60.8714939.54670
70.8508559.32060
80.8265799.05470
90.8028638.79490
100.7799728.54420
110.7578458.30180
120.7349688.05120
130.7069997.74480
140.6788757.43670
150.6511917.13340
160.6264726.86270
170.6048516.62580
180.581326.3680
190.5564936.09610
200.5292435.79760

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.97589 & 10.6903 & 0 \tabularnewline
2 & 0.951723 & 10.4256 & 0 \tabularnewline
3 & 0.928856 & 10.1751 & 0 \tabularnewline
4 & 0.908575 & 9.9529 & 0 \tabularnewline
5 & 0.89112 & 9.7617 & 0 \tabularnewline
6 & 0.871493 & 9.5467 & 0 \tabularnewline
7 & 0.850855 & 9.3206 & 0 \tabularnewline
8 & 0.826579 & 9.0547 & 0 \tabularnewline
9 & 0.802863 & 8.7949 & 0 \tabularnewline
10 & 0.779972 & 8.5442 & 0 \tabularnewline
11 & 0.757845 & 8.3018 & 0 \tabularnewline
12 & 0.734968 & 8.0512 & 0 \tabularnewline
13 & 0.706999 & 7.7448 & 0 \tabularnewline
14 & 0.678875 & 7.4367 & 0 \tabularnewline
15 & 0.651191 & 7.1334 & 0 \tabularnewline
16 & 0.626472 & 6.8627 & 0 \tabularnewline
17 & 0.604851 & 6.6258 & 0 \tabularnewline
18 & 0.58132 & 6.368 & 0 \tabularnewline
19 & 0.556493 & 6.0961 & 0 \tabularnewline
20 & 0.529243 & 5.7976 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=77951&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.97589[/C][C]10.6903[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.951723[/C][C]10.4256[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.928856[/C][C]10.1751[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.908575[/C][C]9.9529[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.89112[/C][C]9.7617[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.871493[/C][C]9.5467[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.850855[/C][C]9.3206[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.826579[/C][C]9.0547[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.802863[/C][C]8.7949[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.779972[/C][C]8.5442[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.757845[/C][C]8.3018[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.734968[/C][C]8.0512[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.706999[/C][C]7.7448[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.678875[/C][C]7.4367[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.651191[/C][C]7.1334[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.626472[/C][C]6.8627[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.604851[/C][C]6.6258[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.58132[/C][C]6.368[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.556493[/C][C]6.0961[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.529243[/C][C]5.7976[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=77951&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=77951&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.9758910.69030
20.95172310.42560
30.92885610.17510
40.9085759.95290
50.891129.76170
60.8714939.54670
70.8508559.32060
80.8265799.05470
90.8028638.79490
100.7799728.54420
110.7578458.30180
120.7349688.05120
130.7069997.74480
140.6788757.43670
150.6511917.13340
160.6264726.86270
170.6048516.62580
180.581326.3680
190.5564936.09610
200.5292435.79760







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9758910.69030
2-0.013379-0.14660.441861
30.0149080.16330.435274
40.0423520.46390.321764
50.0493660.54080.294831
6-0.052298-0.57290.283894
7-0.025952-0.28430.38834
8-0.084063-0.92090.179485
9-0.003479-0.03810.484833
10-0.00654-0.07160.471502
11-0.003648-0.040.484095
12-0.034037-0.37290.354955
13-0.112168-1.22870.110787
14-0.017385-0.19040.42464
15-0.009386-0.10280.459139
160.032120.35190.362779
170.0398730.43680.331524
18-0.0438-0.47980.316119
19-0.028338-0.31040.378388
20-0.044927-0.49210.311757

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.97589 & 10.6903 & 0 \tabularnewline
2 & -0.013379 & -0.1466 & 0.441861 \tabularnewline
3 & 0.014908 & 0.1633 & 0.435274 \tabularnewline
4 & 0.042352 & 0.4639 & 0.321764 \tabularnewline
5 & 0.049366 & 0.5408 & 0.294831 \tabularnewline
6 & -0.052298 & -0.5729 & 0.283894 \tabularnewline
7 & -0.025952 & -0.2843 & 0.38834 \tabularnewline
8 & -0.084063 & -0.9209 & 0.179485 \tabularnewline
9 & -0.003479 & -0.0381 & 0.484833 \tabularnewline
10 & -0.00654 & -0.0716 & 0.471502 \tabularnewline
11 & -0.003648 & -0.04 & 0.484095 \tabularnewline
12 & -0.034037 & -0.3729 & 0.354955 \tabularnewline
13 & -0.112168 & -1.2287 & 0.110787 \tabularnewline
14 & -0.017385 & -0.1904 & 0.42464 \tabularnewline
15 & -0.009386 & -0.1028 & 0.459139 \tabularnewline
16 & 0.03212 & 0.3519 & 0.362779 \tabularnewline
17 & 0.039873 & 0.4368 & 0.331524 \tabularnewline
18 & -0.0438 & -0.4798 & 0.316119 \tabularnewline
19 & -0.028338 & -0.3104 & 0.378388 \tabularnewline
20 & -0.044927 & -0.4921 & 0.311757 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=77951&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.97589[/C][C]10.6903[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.013379[/C][C]-0.1466[/C][C]0.441861[/C][/ROW]
[ROW][C]3[/C][C]0.014908[/C][C]0.1633[/C][C]0.435274[/C][/ROW]
[ROW][C]4[/C][C]0.042352[/C][C]0.4639[/C][C]0.321764[/C][/ROW]
[ROW][C]5[/C][C]0.049366[/C][C]0.5408[/C][C]0.294831[/C][/ROW]
[ROW][C]6[/C][C]-0.052298[/C][C]-0.5729[/C][C]0.283894[/C][/ROW]
[ROW][C]7[/C][C]-0.025952[/C][C]-0.2843[/C][C]0.38834[/C][/ROW]
[ROW][C]8[/C][C]-0.084063[/C][C]-0.9209[/C][C]0.179485[/C][/ROW]
[ROW][C]9[/C][C]-0.003479[/C][C]-0.0381[/C][C]0.484833[/C][/ROW]
[ROW][C]10[/C][C]-0.00654[/C][C]-0.0716[/C][C]0.471502[/C][/ROW]
[ROW][C]11[/C][C]-0.003648[/C][C]-0.04[/C][C]0.484095[/C][/ROW]
[ROW][C]12[/C][C]-0.034037[/C][C]-0.3729[/C][C]0.354955[/C][/ROW]
[ROW][C]13[/C][C]-0.112168[/C][C]-1.2287[/C][C]0.110787[/C][/ROW]
[ROW][C]14[/C][C]-0.017385[/C][C]-0.1904[/C][C]0.42464[/C][/ROW]
[ROW][C]15[/C][C]-0.009386[/C][C]-0.1028[/C][C]0.459139[/C][/ROW]
[ROW][C]16[/C][C]0.03212[/C][C]0.3519[/C][C]0.362779[/C][/ROW]
[ROW][C]17[/C][C]0.039873[/C][C]0.4368[/C][C]0.331524[/C][/ROW]
[ROW][C]18[/C][C]-0.0438[/C][C]-0.4798[/C][C]0.316119[/C][/ROW]
[ROW][C]19[/C][C]-0.028338[/C][C]-0.3104[/C][C]0.378388[/C][/ROW]
[ROW][C]20[/C][C]-0.044927[/C][C]-0.4921[/C][C]0.311757[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=77951&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=77951&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.9758910.69030
2-0.013379-0.14660.441861
30.0149080.16330.435274
40.0423520.46390.321764
50.0493660.54080.294831
6-0.052298-0.57290.283894
7-0.025952-0.28430.38834
8-0.084063-0.92090.179485
9-0.003479-0.03810.484833
10-0.00654-0.07160.471502
11-0.003648-0.040.484095
12-0.034037-0.37290.354955
13-0.112168-1.22870.110787
14-0.017385-0.19040.42464
15-0.009386-0.10280.459139
160.032120.35190.362779
170.0398730.43680.331524
18-0.0438-0.47980.316119
19-0.028338-0.31040.378388
20-0.044927-0.49210.311757



Parameters (Session):
par1 = 0.1 ; par2 = 0.99 ; par3 = 0.01 ;
Parameters (R input):
par1 = Default ; 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')