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, 25 Nov 2009 06:15:26 -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/Nov/25/t1259154977ed69fqrt2td3wff.htm/, Retrieved Tue, 07 May 2024 16:18:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=59369, Retrieved Tue, 07 May 2024 16:18:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [Werkloosheid bij ...] [2009-11-03 09:24:35] [1ff3eeaee490dfcff07aa4917fec66b8]
- RMPD    [(Partial) Autocorrelation Function] [ACF] [2009-11-25 13:15:26] [cfc54cb9f3f8d85fe8957f0f7c48844d] [Current]
Feedback Forum

Post a new message
Dataseries X:
127
123
118
114
108
111
151
159
158
148
138
137
136
133
126
120
114
116
153
162
161
149
139
135
130
127
122
117
112
113
149
157
157
147
137
132
125
123
117
114
111
112
144
150
149
134
123
116
117
111
105
102
95
93
124
130
124
115
106
105
105
101
95
93
84
87
116
120
117
109
105
107




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8133956.90190
20.5131194.3542.2e-05
30.2603982.20960.015159
40.1300081.10320.136818
50.1074210.91150.182538
60.1075850.91290.182173
70.0826320.70120.242732
80.0737750.6260.266647
90.1576251.33750.092636
100.338482.87210.002677
110.5584444.73865e-06
120.6801295.77110
130.5064124.2972.7e-05
140.2416382.05040.021985
150.0187690.15930.436955
16-0.096855-0.82180.20694
17-0.11951-1.01410.156972
18-0.121953-1.03480.152112

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.813395 & 6.9019 & 0 \tabularnewline
2 & 0.513119 & 4.354 & 2.2e-05 \tabularnewline
3 & 0.260398 & 2.2096 & 0.015159 \tabularnewline
4 & 0.130008 & 1.1032 & 0.136818 \tabularnewline
5 & 0.107421 & 0.9115 & 0.182538 \tabularnewline
6 & 0.107585 & 0.9129 & 0.182173 \tabularnewline
7 & 0.082632 & 0.7012 & 0.242732 \tabularnewline
8 & 0.073775 & 0.626 & 0.266647 \tabularnewline
9 & 0.157625 & 1.3375 & 0.092636 \tabularnewline
10 & 0.33848 & 2.8721 & 0.002677 \tabularnewline
11 & 0.558444 & 4.7386 & 5e-06 \tabularnewline
12 & 0.680129 & 5.7711 & 0 \tabularnewline
13 & 0.506412 & 4.297 & 2.7e-05 \tabularnewline
14 & 0.241638 & 2.0504 & 0.021985 \tabularnewline
15 & 0.018769 & 0.1593 & 0.436955 \tabularnewline
16 & -0.096855 & -0.8218 & 0.20694 \tabularnewline
17 & -0.11951 & -1.0141 & 0.156972 \tabularnewline
18 & -0.121953 & -1.0348 & 0.152112 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=59369&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.813395[/C][C]6.9019[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.513119[/C][C]4.354[/C][C]2.2e-05[/C][/ROW]
[ROW][C]3[/C][C]0.260398[/C][C]2.2096[/C][C]0.015159[/C][/ROW]
[ROW][C]4[/C][C]0.130008[/C][C]1.1032[/C][C]0.136818[/C][/ROW]
[ROW][C]5[/C][C]0.107421[/C][C]0.9115[/C][C]0.182538[/C][/ROW]
[ROW][C]6[/C][C]0.107585[/C][C]0.9129[/C][C]0.182173[/C][/ROW]
[ROW][C]7[/C][C]0.082632[/C][C]0.7012[/C][C]0.242732[/C][/ROW]
[ROW][C]8[/C][C]0.073775[/C][C]0.626[/C][C]0.266647[/C][/ROW]
[ROW][C]9[/C][C]0.157625[/C][C]1.3375[/C][C]0.092636[/C][/ROW]
[ROW][C]10[/C][C]0.33848[/C][C]2.8721[/C][C]0.002677[/C][/ROW]
[ROW][C]11[/C][C]0.558444[/C][C]4.7386[/C][C]5e-06[/C][/ROW]
[ROW][C]12[/C][C]0.680129[/C][C]5.7711[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.506412[/C][C]4.297[/C][C]2.7e-05[/C][/ROW]
[ROW][C]14[/C][C]0.241638[/C][C]2.0504[/C][C]0.021985[/C][/ROW]
[ROW][C]15[/C][C]0.018769[/C][C]0.1593[/C][C]0.436955[/C][/ROW]
[ROW][C]16[/C][C]-0.096855[/C][C]-0.8218[/C][C]0.20694[/C][/ROW]
[ROW][C]17[/C][C]-0.11951[/C][C]-1.0141[/C][C]0.156972[/C][/ROW]
[ROW][C]18[/C][C]-0.121953[/C][C]-1.0348[/C][C]0.152112[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=59369&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=59369&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.8133956.90190
20.5131194.3542.2e-05
30.2603982.20960.015159
40.1300081.10320.136818
50.1074210.91150.182538
60.1075850.91290.182173
70.0826320.70120.242732
80.0737750.6260.266647
90.1576251.33750.092636
100.338482.87210.002677
110.5584444.73865e-06
120.6801295.77110
130.5064124.2972.7e-05
140.2416382.05040.021985
150.0187690.15930.436955
16-0.096855-0.82180.20694
17-0.11951-1.01410.156972
18-0.121953-1.03480.152112







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8133956.90190
2-0.438826-3.72360.000194
30.0615480.52230.301549
40.1112790.94420.174104
50.0637730.54110.295045
6-0.074674-0.63360.264165
7-0.0339-0.28760.387222
80.1420071.2050.11608
90.2883862.4470.008422
100.2627212.22930.014459
110.2891722.45370.00828
120.0590670.50120.30888
13-0.64956-5.51170
140.2080181.76510.040894
15-0.084213-0.71460.238592
16-0.127359-1.08070.141723
17-0.069773-0.5920.277838
18-0.030229-0.25650.399148

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.813395 & 6.9019 & 0 \tabularnewline
2 & -0.438826 & -3.7236 & 0.000194 \tabularnewline
3 & 0.061548 & 0.5223 & 0.301549 \tabularnewline
4 & 0.111279 & 0.9442 & 0.174104 \tabularnewline
5 & 0.063773 & 0.5411 & 0.295045 \tabularnewline
6 & -0.074674 & -0.6336 & 0.264165 \tabularnewline
7 & -0.0339 & -0.2876 & 0.387222 \tabularnewline
8 & 0.142007 & 1.205 & 0.11608 \tabularnewline
9 & 0.288386 & 2.447 & 0.008422 \tabularnewline
10 & 0.262721 & 2.2293 & 0.014459 \tabularnewline
11 & 0.289172 & 2.4537 & 0.00828 \tabularnewline
12 & 0.059067 & 0.5012 & 0.30888 \tabularnewline
13 & -0.64956 & -5.5117 & 0 \tabularnewline
14 & 0.208018 & 1.7651 & 0.040894 \tabularnewline
15 & -0.084213 & -0.7146 & 0.238592 \tabularnewline
16 & -0.127359 & -1.0807 & 0.141723 \tabularnewline
17 & -0.069773 & -0.592 & 0.277838 \tabularnewline
18 & -0.030229 & -0.2565 & 0.399148 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=59369&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.813395[/C][C]6.9019[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.438826[/C][C]-3.7236[/C][C]0.000194[/C][/ROW]
[ROW][C]3[/C][C]0.061548[/C][C]0.5223[/C][C]0.301549[/C][/ROW]
[ROW][C]4[/C][C]0.111279[/C][C]0.9442[/C][C]0.174104[/C][/ROW]
[ROW][C]5[/C][C]0.063773[/C][C]0.5411[/C][C]0.295045[/C][/ROW]
[ROW][C]6[/C][C]-0.074674[/C][C]-0.6336[/C][C]0.264165[/C][/ROW]
[ROW][C]7[/C][C]-0.0339[/C][C]-0.2876[/C][C]0.387222[/C][/ROW]
[ROW][C]8[/C][C]0.142007[/C][C]1.205[/C][C]0.11608[/C][/ROW]
[ROW][C]9[/C][C]0.288386[/C][C]2.447[/C][C]0.008422[/C][/ROW]
[ROW][C]10[/C][C]0.262721[/C][C]2.2293[/C][C]0.014459[/C][/ROW]
[ROW][C]11[/C][C]0.289172[/C][C]2.4537[/C][C]0.00828[/C][/ROW]
[ROW][C]12[/C][C]0.059067[/C][C]0.5012[/C][C]0.30888[/C][/ROW]
[ROW][C]13[/C][C]-0.64956[/C][C]-5.5117[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.208018[/C][C]1.7651[/C][C]0.040894[/C][/ROW]
[ROW][C]15[/C][C]-0.084213[/C][C]-0.7146[/C][C]0.238592[/C][/ROW]
[ROW][C]16[/C][C]-0.127359[/C][C]-1.0807[/C][C]0.141723[/C][/ROW]
[ROW][C]17[/C][C]-0.069773[/C][C]-0.592[/C][C]0.277838[/C][/ROW]
[ROW][C]18[/C][C]-0.030229[/C][C]-0.2565[/C][C]0.399148[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=59369&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=59369&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.8133956.90190
2-0.438826-3.72360.000194
30.0615480.52230.301549
40.1112790.94420.174104
50.0637730.54110.295045
6-0.074674-0.63360.264165
7-0.0339-0.28760.387222
80.1420071.2050.11608
90.2883862.4470.008422
100.2627212.22930.014459
110.2891722.45370.00828
120.0590670.50120.30888
13-0.64956-5.51170
140.2080181.76510.040894
15-0.084213-0.71460.238592
16-0.127359-1.08070.141723
17-0.069773-0.5920.277838
18-0.030229-0.25650.399148



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