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, 05 Dec 2008 16:07:43 -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/2008/Dec/06/t1228518643lmozjt95sjmboix.htm/, Retrieved Sat, 18 May 2024 21:27:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=29413, Retrieved Sat, 18 May 2024 21:27:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact237
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Standard Deviation-Mean Plot] [Paper Hoofdstuk 4...] [2008-12-05 10:14:55] [6fea0e9a9b3b29a63badf2c274e82506]
- RMP   [(Partial) Autocorrelation Function] [Paper Hoofdstuk 4...] [2008-12-05 11:21:04] [6fea0e9a9b3b29a63badf2c274e82506]
-   P       [(Partial) Autocorrelation Function] [Paper Hoofdstuk 4...] [2008-12-05 23:07:43] [286e96bd53289970f8e5f25a93fb50b3] [Current]
Feedback Forum

Post a new message
Dataseries X:
493.000
481.000
462.000
457.000
442.000
439.000
488.000
521.000
501.000
485.000
464.000
460.000
467.000
460.000
448.000
443.000
436.000
431.000
484.000
510.000
513.000
503.000
471.000
471.000
476.000
475.000
470.000
461.000
455.000
456.000
517.000
525.000
523.000
519.000
509.000
512.000
519.000
517.000
510.000
509.000
501.000
507.000
569.000
580.000
578.000
565.000
547.000
555.000
562.000
561.000
555.000
544.000
537.000
543.000
594.000
611.000
613.000
611.000
594.000
595.000




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.083930.49650.31131
2-0.354409-2.09670.021657
3-0.274135-1.62180.05691
4-0.005739-0.0340.486554
50.2654961.57070.062625
6-0.070698-0.41830.339158
7-0.141065-0.83460.204815
80.0609330.36050.360326
90.2092931.23820.111943
100.0156780.09280.463314
11-0.349631-2.06840.023024
12-0.417801-2.47170.009228
130.1968951.16480.12598
140.3620982.14220.019606
15-0.004296-0.02540.489933
16-0.070931-0.41960.338659
17-0.136711-0.80880.212049
180.0773840.45780.32496
190.0637840.37740.354096
20-0.125627-0.74320.231154
210.0393680.23290.408595
220.0896610.53040.299577
230.1486030.87910.192658
240.0255680.15130.440318

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.08393 & 0.4965 & 0.31131 \tabularnewline
2 & -0.354409 & -2.0967 & 0.021657 \tabularnewline
3 & -0.274135 & -1.6218 & 0.05691 \tabularnewline
4 & -0.005739 & -0.034 & 0.486554 \tabularnewline
5 & 0.265496 & 1.5707 & 0.062625 \tabularnewline
6 & -0.070698 & -0.4183 & 0.339158 \tabularnewline
7 & -0.141065 & -0.8346 & 0.204815 \tabularnewline
8 & 0.060933 & 0.3605 & 0.360326 \tabularnewline
9 & 0.209293 & 1.2382 & 0.111943 \tabularnewline
10 & 0.015678 & 0.0928 & 0.463314 \tabularnewline
11 & -0.349631 & -2.0684 & 0.023024 \tabularnewline
12 & -0.417801 & -2.4717 & 0.009228 \tabularnewline
13 & 0.196895 & 1.1648 & 0.12598 \tabularnewline
14 & 0.362098 & 2.1422 & 0.019606 \tabularnewline
15 & -0.004296 & -0.0254 & 0.489933 \tabularnewline
16 & -0.070931 & -0.4196 & 0.338659 \tabularnewline
17 & -0.136711 & -0.8088 & 0.212049 \tabularnewline
18 & 0.077384 & 0.4578 & 0.32496 \tabularnewline
19 & 0.063784 & 0.3774 & 0.354096 \tabularnewline
20 & -0.125627 & -0.7432 & 0.231154 \tabularnewline
21 & 0.039368 & 0.2329 & 0.408595 \tabularnewline
22 & 0.089661 & 0.5304 & 0.299577 \tabularnewline
23 & 0.148603 & 0.8791 & 0.192658 \tabularnewline
24 & 0.025568 & 0.1513 & 0.440318 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29413&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.08393[/C][C]0.4965[/C][C]0.31131[/C][/ROW]
[ROW][C]2[/C][C]-0.354409[/C][C]-2.0967[/C][C]0.021657[/C][/ROW]
[ROW][C]3[/C][C]-0.274135[/C][C]-1.6218[/C][C]0.05691[/C][/ROW]
[ROW][C]4[/C][C]-0.005739[/C][C]-0.034[/C][C]0.486554[/C][/ROW]
[ROW][C]5[/C][C]0.265496[/C][C]1.5707[/C][C]0.062625[/C][/ROW]
[ROW][C]6[/C][C]-0.070698[/C][C]-0.4183[/C][C]0.339158[/C][/ROW]
[ROW][C]7[/C][C]-0.141065[/C][C]-0.8346[/C][C]0.204815[/C][/ROW]
[ROW][C]8[/C][C]0.060933[/C][C]0.3605[/C][C]0.360326[/C][/ROW]
[ROW][C]9[/C][C]0.209293[/C][C]1.2382[/C][C]0.111943[/C][/ROW]
[ROW][C]10[/C][C]0.015678[/C][C]0.0928[/C][C]0.463314[/C][/ROW]
[ROW][C]11[/C][C]-0.349631[/C][C]-2.0684[/C][C]0.023024[/C][/ROW]
[ROW][C]12[/C][C]-0.417801[/C][C]-2.4717[/C][C]0.009228[/C][/ROW]
[ROW][C]13[/C][C]0.196895[/C][C]1.1648[/C][C]0.12598[/C][/ROW]
[ROW][C]14[/C][C]0.362098[/C][C]2.1422[/C][C]0.019606[/C][/ROW]
[ROW][C]15[/C][C]-0.004296[/C][C]-0.0254[/C][C]0.489933[/C][/ROW]
[ROW][C]16[/C][C]-0.070931[/C][C]-0.4196[/C][C]0.338659[/C][/ROW]
[ROW][C]17[/C][C]-0.136711[/C][C]-0.8088[/C][C]0.212049[/C][/ROW]
[ROW][C]18[/C][C]0.077384[/C][C]0.4578[/C][C]0.32496[/C][/ROW]
[ROW][C]19[/C][C]0.063784[/C][C]0.3774[/C][C]0.354096[/C][/ROW]
[ROW][C]20[/C][C]-0.125627[/C][C]-0.7432[/C][C]0.231154[/C][/ROW]
[ROW][C]21[/C][C]0.039368[/C][C]0.2329[/C][C]0.408595[/C][/ROW]
[ROW][C]22[/C][C]0.089661[/C][C]0.5304[/C][C]0.299577[/C][/ROW]
[ROW][C]23[/C][C]0.148603[/C][C]0.8791[/C][C]0.192658[/C][/ROW]
[ROW][C]24[/C][C]0.025568[/C][C]0.1513[/C][C]0.440318[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29413&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29413&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.083930.49650.31131
2-0.354409-2.09670.021657
3-0.274135-1.62180.05691
4-0.005739-0.0340.486554
50.2654961.57070.062625
6-0.070698-0.41830.339158
7-0.141065-0.83460.204815
80.0609330.36050.360326
90.2092931.23820.111943
100.0156780.09280.463314
11-0.349631-2.06840.023024
12-0.417801-2.47170.009228
130.1968951.16480.12598
140.3620982.14220.019606
15-0.004296-0.02540.489933
16-0.070931-0.41960.338659
17-0.136711-0.80880.212049
180.0773840.45780.32496
190.0637840.37740.354096
20-0.125627-0.74320.231154
210.0393680.23290.408595
220.0896610.53040.299577
230.1486030.87910.192658
240.0255680.15130.440318







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.083930.49650.31131
2-0.364018-2.15360.019122
3-0.235679-1.39430.086009
4-0.119899-0.70930.241409
50.1119710.66240.256017
6-0.227815-1.34780.093195
7-0.045246-0.26770.395259
80.0698070.4130.341069
90.1535570.90850.184925
10-0.055764-0.32990.371719
11-0.229815-1.35960.091325
12-0.445703-2.63680.006198
13-0.007809-0.04620.481708
14-0.086686-0.51280.305643
15-0.208868-1.23570.112404
160.0779220.4610.323828
17-0.035916-0.21250.416482
18-0.076415-0.45210.327001
19-0.051468-0.30450.38128
20-0.050038-0.2960.38448
210.0698420.41320.340994
22-0.099562-0.5890.279815
23-0.149374-0.88370.191441
24-0.07684-0.45460.326106

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.08393 & 0.4965 & 0.31131 \tabularnewline
2 & -0.364018 & -2.1536 & 0.019122 \tabularnewline
3 & -0.235679 & -1.3943 & 0.086009 \tabularnewline
4 & -0.119899 & -0.7093 & 0.241409 \tabularnewline
5 & 0.111971 & 0.6624 & 0.256017 \tabularnewline
6 & -0.227815 & -1.3478 & 0.093195 \tabularnewline
7 & -0.045246 & -0.2677 & 0.395259 \tabularnewline
8 & 0.069807 & 0.413 & 0.341069 \tabularnewline
9 & 0.153557 & 0.9085 & 0.184925 \tabularnewline
10 & -0.055764 & -0.3299 & 0.371719 \tabularnewline
11 & -0.229815 & -1.3596 & 0.091325 \tabularnewline
12 & -0.445703 & -2.6368 & 0.006198 \tabularnewline
13 & -0.007809 & -0.0462 & 0.481708 \tabularnewline
14 & -0.086686 & -0.5128 & 0.305643 \tabularnewline
15 & -0.208868 & -1.2357 & 0.112404 \tabularnewline
16 & 0.077922 & 0.461 & 0.323828 \tabularnewline
17 & -0.035916 & -0.2125 & 0.416482 \tabularnewline
18 & -0.076415 & -0.4521 & 0.327001 \tabularnewline
19 & -0.051468 & -0.3045 & 0.38128 \tabularnewline
20 & -0.050038 & -0.296 & 0.38448 \tabularnewline
21 & 0.069842 & 0.4132 & 0.340994 \tabularnewline
22 & -0.099562 & -0.589 & 0.279815 \tabularnewline
23 & -0.149374 & -0.8837 & 0.191441 \tabularnewline
24 & -0.07684 & -0.4546 & 0.326106 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29413&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.08393[/C][C]0.4965[/C][C]0.31131[/C][/ROW]
[ROW][C]2[/C][C]-0.364018[/C][C]-2.1536[/C][C]0.019122[/C][/ROW]
[ROW][C]3[/C][C]-0.235679[/C][C]-1.3943[/C][C]0.086009[/C][/ROW]
[ROW][C]4[/C][C]-0.119899[/C][C]-0.7093[/C][C]0.241409[/C][/ROW]
[ROW][C]5[/C][C]0.111971[/C][C]0.6624[/C][C]0.256017[/C][/ROW]
[ROW][C]6[/C][C]-0.227815[/C][C]-1.3478[/C][C]0.093195[/C][/ROW]
[ROW][C]7[/C][C]-0.045246[/C][C]-0.2677[/C][C]0.395259[/C][/ROW]
[ROW][C]8[/C][C]0.069807[/C][C]0.413[/C][C]0.341069[/C][/ROW]
[ROW][C]9[/C][C]0.153557[/C][C]0.9085[/C][C]0.184925[/C][/ROW]
[ROW][C]10[/C][C]-0.055764[/C][C]-0.3299[/C][C]0.371719[/C][/ROW]
[ROW][C]11[/C][C]-0.229815[/C][C]-1.3596[/C][C]0.091325[/C][/ROW]
[ROW][C]12[/C][C]-0.445703[/C][C]-2.6368[/C][C]0.006198[/C][/ROW]
[ROW][C]13[/C][C]-0.007809[/C][C]-0.0462[/C][C]0.481708[/C][/ROW]
[ROW][C]14[/C][C]-0.086686[/C][C]-0.5128[/C][C]0.305643[/C][/ROW]
[ROW][C]15[/C][C]-0.208868[/C][C]-1.2357[/C][C]0.112404[/C][/ROW]
[ROW][C]16[/C][C]0.077922[/C][C]0.461[/C][C]0.323828[/C][/ROW]
[ROW][C]17[/C][C]-0.035916[/C][C]-0.2125[/C][C]0.416482[/C][/ROW]
[ROW][C]18[/C][C]-0.076415[/C][C]-0.4521[/C][C]0.327001[/C][/ROW]
[ROW][C]19[/C][C]-0.051468[/C][C]-0.3045[/C][C]0.38128[/C][/ROW]
[ROW][C]20[/C][C]-0.050038[/C][C]-0.296[/C][C]0.38448[/C][/ROW]
[ROW][C]21[/C][C]0.069842[/C][C]0.4132[/C][C]0.340994[/C][/ROW]
[ROW][C]22[/C][C]-0.099562[/C][C]-0.589[/C][C]0.279815[/C][/ROW]
[ROW][C]23[/C][C]-0.149374[/C][C]-0.8837[/C][C]0.191441[/C][/ROW]
[ROW][C]24[/C][C]-0.07684[/C][C]-0.4546[/C][C]0.326106[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29413&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29413&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.083930.49650.31131
2-0.364018-2.15360.019122
3-0.235679-1.39430.086009
4-0.119899-0.70930.241409
50.1119710.66240.256017
6-0.227815-1.34780.093195
7-0.045246-0.26770.395259
80.0698070.4130.341069
90.1535570.90850.184925
10-0.055764-0.32990.371719
11-0.229815-1.35960.091325
12-0.445703-2.63680.006198
13-0.007809-0.04620.481708
14-0.086686-0.51280.305643
15-0.208868-1.23570.112404
160.0779220.4610.323828
17-0.035916-0.21250.416482
18-0.076415-0.45210.327001
19-0.051468-0.30450.38128
20-0.050038-0.2960.38448
210.0698420.41320.340994
22-0.099562-0.5890.279815
23-0.149374-0.88370.191441
24-0.07684-0.45460.326106



Parameters (Session):
par1 = 24 ; par2 = 1 ; par3 = 1 ; par4 = 2 ; par5 = 12 ;
Parameters (R input):
par1 = 24 ; par2 = 1 ; par3 = 1 ; par4 = 2 ; par5 = 12 ;
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')