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 computationWed, 25 Nov 2009 08:20:25 -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/t1259162619ewln5vaeflez46j.htm/, Retrieved Tue, 07 May 2024 15:13:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=59395, Retrieved Tue, 07 May 2024 15:13:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact152
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2009-11-25 15:20:25] [bef26de542bed2eafc60fe4615b06e47] [Current]
Feedback Forum

Post a new message
Dataseries X:
102
144
132
129
121
135
148
148
136
119
104
118
115
126
141
135
125
149
170
170
158
133
114
140
145
150
178
163
172
178
199
199
184
162
146
166
171
180
193
181
183
218
230
242
209
191
172
194
196
196
236
235
229
243
264
272
237
211
180
201
204
188
235
227
234
264
302
293
259
229
203
229
242
233
267
269
270
315
364
347
312
274
237
278
284
277
317
313
318
374
413
405
355
306
271
306
315
301
356
348
355
422
465
467
404
347
305
336
340
318
362
348
363
435
491
505
404
359
310
337
360
342
406
396
420
472
548
559
463
407
362
405
417
391
419
461
472
535
622
606
508
461
390
432




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=59395&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.94668511.36020
20.87621110.51450
30.8070889.68510
40.7531399.03770
50.7143088.57170
60.6821528.18580
70.6631387.95770
80.6556757.86810
90.670948.05130
100.7030278.43630
110.7435228.92230
120.7608669.13040
130.7131668.5580
140.6465557.75870
150.5859127.03090
160.5381986.45840
170.5000666.00080
180.4688935.62670
190.4498425.39810
200.4413275.29590
210.4568355.4820

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.946685 & 11.3602 & 0 \tabularnewline
2 & 0.876211 & 10.5145 & 0 \tabularnewline
3 & 0.807088 & 9.6851 & 0 \tabularnewline
4 & 0.753139 & 9.0377 & 0 \tabularnewline
5 & 0.714308 & 8.5717 & 0 \tabularnewline
6 & 0.682152 & 8.1858 & 0 \tabularnewline
7 & 0.663138 & 7.9577 & 0 \tabularnewline
8 & 0.655675 & 7.8681 & 0 \tabularnewline
9 & 0.67094 & 8.0513 & 0 \tabularnewline
10 & 0.703027 & 8.4363 & 0 \tabularnewline
11 & 0.743522 & 8.9223 & 0 \tabularnewline
12 & 0.760866 & 9.1304 & 0 \tabularnewline
13 & 0.713166 & 8.558 & 0 \tabularnewline
14 & 0.646555 & 7.7587 & 0 \tabularnewline
15 & 0.585912 & 7.0309 & 0 \tabularnewline
16 & 0.538198 & 6.4584 & 0 \tabularnewline
17 & 0.500066 & 6.0008 & 0 \tabularnewline
18 & 0.468893 & 5.6267 & 0 \tabularnewline
19 & 0.449842 & 5.3981 & 0 \tabularnewline
20 & 0.441327 & 5.2959 & 0 \tabularnewline
21 & 0.456835 & 5.482 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=59395&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.946685[/C][C]11.3602[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.876211[/C][C]10.5145[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.807088[/C][C]9.6851[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.753139[/C][C]9.0377[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.714308[/C][C]8.5717[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.682152[/C][C]8.1858[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.663138[/C][C]7.9577[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.655675[/C][C]7.8681[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.67094[/C][C]8.0513[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.703027[/C][C]8.4363[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.743522[/C][C]8.9223[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.760866[/C][C]9.1304[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.713166[/C][C]8.558[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.646555[/C][C]7.7587[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.585912[/C][C]7.0309[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.538198[/C][C]6.4584[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.500066[/C][C]6.0008[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.468893[/C][C]5.6267[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.449842[/C][C]5.3981[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.441327[/C][C]5.2959[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.456835[/C][C]5.482[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=59395&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=59395&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.94668511.36020
20.87621110.51450
30.8070889.68510
40.7531399.03770
50.7143088.57170
60.6821528.18580
70.6631387.95770
80.6556757.86810
90.670948.05130
100.7030278.43630
110.7435228.92230
120.7608669.13040
130.7131668.5580
140.6465557.75870
150.5859127.03090
160.5381986.45840
170.5000666.00080
180.4688935.62670
190.4498425.39810
200.4413275.29590
210.4568355.4820







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.94668511.36020
2-0.192725-2.31270.011078
30.0017760.02130.491515
40.1050241.26030.104802
50.074980.89980.184875
60.0073140.08780.465092
70.1182921.41950.078957
80.0972331.16680.12261
90.2245672.69480.00394
100.1789912.14790.016698
110.162521.95020.026545
12-0.117233-1.40680.080822
13-0.537569-6.45080
14-0.08176-0.98110.164089
150.1154581.38550.084022
160.0472330.56680.285867
170.0271760.32610.372409
180.0703690.84440.199915
190.0575030.690.245642
20-0.050019-0.60020.274649
210.0321380.38570.350159

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.946685 & 11.3602 & 0 \tabularnewline
2 & -0.192725 & -2.3127 & 0.011078 \tabularnewline
3 & 0.001776 & 0.0213 & 0.491515 \tabularnewline
4 & 0.105024 & 1.2603 & 0.104802 \tabularnewline
5 & 0.07498 & 0.8998 & 0.184875 \tabularnewline
6 & 0.007314 & 0.0878 & 0.465092 \tabularnewline
7 & 0.118292 & 1.4195 & 0.078957 \tabularnewline
8 & 0.097233 & 1.1668 & 0.12261 \tabularnewline
9 & 0.224567 & 2.6948 & 0.00394 \tabularnewline
10 & 0.178991 & 2.1479 & 0.016698 \tabularnewline
11 & 0.16252 & 1.9502 & 0.026545 \tabularnewline
12 & -0.117233 & -1.4068 & 0.080822 \tabularnewline
13 & -0.537569 & -6.4508 & 0 \tabularnewline
14 & -0.08176 & -0.9811 & 0.164089 \tabularnewline
15 & 0.115458 & 1.3855 & 0.084022 \tabularnewline
16 & 0.047233 & 0.5668 & 0.285867 \tabularnewline
17 & 0.027176 & 0.3261 & 0.372409 \tabularnewline
18 & 0.070369 & 0.8444 & 0.199915 \tabularnewline
19 & 0.057503 & 0.69 & 0.245642 \tabularnewline
20 & -0.050019 & -0.6002 & 0.274649 \tabularnewline
21 & 0.032138 & 0.3857 & 0.350159 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=59395&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.946685[/C][C]11.3602[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.192725[/C][C]-2.3127[/C][C]0.011078[/C][/ROW]
[ROW][C]3[/C][C]0.001776[/C][C]0.0213[/C][C]0.491515[/C][/ROW]
[ROW][C]4[/C][C]0.105024[/C][C]1.2603[/C][C]0.104802[/C][/ROW]
[ROW][C]5[/C][C]0.07498[/C][C]0.8998[/C][C]0.184875[/C][/ROW]
[ROW][C]6[/C][C]0.007314[/C][C]0.0878[/C][C]0.465092[/C][/ROW]
[ROW][C]7[/C][C]0.118292[/C][C]1.4195[/C][C]0.078957[/C][/ROW]
[ROW][C]8[/C][C]0.097233[/C][C]1.1668[/C][C]0.12261[/C][/ROW]
[ROW][C]9[/C][C]0.224567[/C][C]2.6948[/C][C]0.00394[/C][/ROW]
[ROW][C]10[/C][C]0.178991[/C][C]2.1479[/C][C]0.016698[/C][/ROW]
[ROW][C]11[/C][C]0.16252[/C][C]1.9502[/C][C]0.026545[/C][/ROW]
[ROW][C]12[/C][C]-0.117233[/C][C]-1.4068[/C][C]0.080822[/C][/ROW]
[ROW][C]13[/C][C]-0.537569[/C][C]-6.4508[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]-0.08176[/C][C]-0.9811[/C][C]0.164089[/C][/ROW]
[ROW][C]15[/C][C]0.115458[/C][C]1.3855[/C][C]0.084022[/C][/ROW]
[ROW][C]16[/C][C]0.047233[/C][C]0.5668[/C][C]0.285867[/C][/ROW]
[ROW][C]17[/C][C]0.027176[/C][C]0.3261[/C][C]0.372409[/C][/ROW]
[ROW][C]18[/C][C]0.070369[/C][C]0.8444[/C][C]0.199915[/C][/ROW]
[ROW][C]19[/C][C]0.057503[/C][C]0.69[/C][C]0.245642[/C][/ROW]
[ROW][C]20[/C][C]-0.050019[/C][C]-0.6002[/C][C]0.274649[/C][/ROW]
[ROW][C]21[/C][C]0.032138[/C][C]0.3857[/C][C]0.350159[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=59395&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=59395&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.94668511.36020
2-0.192725-2.31270.011078
30.0017760.02130.491515
40.1050241.26030.104802
50.074980.89980.184875
60.0073140.08780.465092
70.1182921.41950.078957
80.0972331.16680.12261
90.2245672.69480.00394
100.1789912.14790.016698
110.162521.95020.026545
12-0.117233-1.40680.080822
13-0.537569-6.45080
14-0.08176-0.98110.164089
150.1154581.38550.084022
160.0472330.56680.285867
170.0271760.32610.372409
180.0703690.84440.199915
190.0575030.690.245642
20-0.050019-0.60020.274649
210.0321380.38570.350159



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; 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')