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, 17 Dec 2008 10:58:54 -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/17/t1229536761whpq0axqo2mhi67.htm/, Retrieved Sun, 19 May 2024 07:23:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34458, Retrieved Sun, 19 May 2024 07:23:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact149
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Japan d=0; D=0] [2008-12-17 17:58:54] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
122.36
123.33
123.04
124.53
125.13
125.85
126.50
126.53
127.07
124.55
124.90
124.32
122.84
123.31
123.31
124.87
124.64
124.73
124.90
124.04
123.28
123.86
122.29
124.09
124.54
125.65
125.70
125.53
125.61
125.55
125.41
127.60
124.68
124.41
126.43
126.38
125.78
124.70
125.07
125.25
126.58
127.13
125.82
123.70
124.39
123.70
124.42
121.05
121.02
123.23
121.32
120.91
120.72
123.31
119.58
119.53
120.59
118.63
118.47
111.81
114.71
117.34
115.77
118.38
117.84
118.83
120.02
116.21
117.08
120.20
119.83
118.92
118.03
117.71
119.55
116.13
115.97
115.99
114.96
116.46
116.55
113.05
117.44
118.84
117.06
117.54
119.31
118.72
121.55
122.61
121.53
123.31
124.07
123.59
122.97
123.22
123.04
122.96
122.81
122.81
122.62
120.82
119.41
121.56
121.59
118.50
118.77
118.86
117.60
119.90
121.83
121.84
122.12
122.12
121.36
119.66
119.32
120.36
117.06
117.48
115.60
113.86
116.92
117.75
117.75
115.31
116.28
115.22
115.65
115.11
118.67
118.04
116.50
119.78
119.95
120.37
119.79
119.43
121.06
121.74
121.09
122.97
120.50
117.18
115.03
113.36
112.59
111.65
111.98
114.87
114.67
114.09
114.77
117.05
117.22
113.18
110.95
112.14
112.72
110.01
110.29
110.74
110.32
105.89
108.97
109.34
106.57
99.49
101.81
104.29
109.73
105.06
107.97
108.13
109.86
108.95
111.20
110.69
106.10
105.68
104.12
104.71
104.30
103.52
107.76
107.80
107.30
108.64
105.03
108.30
107.21
109.27
109.50
111.68
111.80
111.75
106.68
106.37
105.76
109.01
109.01
109.01
109.01
107.69
105.19
105.48
102.22
100.54
105.00
105.44
107.89
108.64
106.70
109.10
105.23
108.41
108.80
110.39
110.22
110.86
108.58
107.70
106.62
109.84
107.16
107.26
108.70
109.85
109.41
112.36
111.03
110.67
109.21
113.58
113.88
114.08
112.33
113.92
114.41
114.57
115.35
113.13
113.29
112.56
113.06
113.46
115.39
116.62
117.04
117.42
115.62
115.16
115.69
112.85
114.05
112.00
113.74
116.26
118.63
116.49
118.23
116.83
118.82
114.36
112.02
113.24
109.75
110.33
112.86
113.04
113.80
110.90
109.96
108.69
108.84
108.47
108.07
107.94
108.11
108.11
106.81
105.58
105.61
106.52
103.86
104.60
104.73
105.12
104.76
103.85
103.83
103.22
101.64
102.13
104.33
104.92
107.78
104.49
102.80
102.86
104.51
104.73
102.58
99.93
101.41
101.05
99.86
101.11
100.89
101.09
98.31
98.08
99.55
99.62
97.37
98.16
97.98
98.15
97.10
97.24
96.70
96.64
100.65
96.75
97.74
97.92
98.34
93.84
97.80
96.20
95.99
95.18
95.95
92.23
91.78
92.97
89.76
92.88
96.23
95.79
93.97
93.90
93.60
93.96
88.69
88.57
85.62
86.25
85.33
83.33
77.78
78.70
72.05
80.75
81.41
82.65
75.85
75.70
78.25
77.41
76.84
74.25
74.95
68.78
73.21
73.26
78.67
75.63
74.99
83.87
79.62
80.13
79.76
78.20
78.05
79.05
73.32
75.17
73.26
73.72
73.57
70.60
71.25
74.22
73.32
73.01
74.21
75.32
71.73
71.94
72.94
72.47
71.94
74.30
74.30




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

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.98194919.51590
20.96862219.2510
30.95449818.97030
40.94188518.71960
50.92785918.44080
60.91407818.16690
70.90066117.90030
80.89002417.68890
90.87679717.4260
100.86527717.1970
110.85445416.98190
120.84155516.72560
130.82853916.46690
140.81422616.18240
150.80310415.96140
160.79197215.74010
170.77848315.4720
180.76572415.21850
190.75200914.94590
200.7405314.71770
210.72955714.49970
220.71694514.2490
230.70656114.04260
240.69562813.82530
250.68373613.5890

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.981949 & 19.5159 & 0 \tabularnewline
2 & 0.968622 & 19.251 & 0 \tabularnewline
3 & 0.954498 & 18.9703 & 0 \tabularnewline
4 & 0.941885 & 18.7196 & 0 \tabularnewline
5 & 0.927859 & 18.4408 & 0 \tabularnewline
6 & 0.914078 & 18.1669 & 0 \tabularnewline
7 & 0.900661 & 17.9003 & 0 \tabularnewline
8 & 0.890024 & 17.6889 & 0 \tabularnewline
9 & 0.876797 & 17.426 & 0 \tabularnewline
10 & 0.865277 & 17.197 & 0 \tabularnewline
11 & 0.854454 & 16.9819 & 0 \tabularnewline
12 & 0.841555 & 16.7256 & 0 \tabularnewline
13 & 0.828539 & 16.4669 & 0 \tabularnewline
14 & 0.814226 & 16.1824 & 0 \tabularnewline
15 & 0.803104 & 15.9614 & 0 \tabularnewline
16 & 0.791972 & 15.7401 & 0 \tabularnewline
17 & 0.778483 & 15.472 & 0 \tabularnewline
18 & 0.765724 & 15.2185 & 0 \tabularnewline
19 & 0.752009 & 14.9459 & 0 \tabularnewline
20 & 0.74053 & 14.7177 & 0 \tabularnewline
21 & 0.729557 & 14.4997 & 0 \tabularnewline
22 & 0.716945 & 14.249 & 0 \tabularnewline
23 & 0.706561 & 14.0426 & 0 \tabularnewline
24 & 0.695628 & 13.8253 & 0 \tabularnewline
25 & 0.683736 & 13.589 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34458&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.981949[/C][C]19.5159[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.968622[/C][C]19.251[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.954498[/C][C]18.9703[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.941885[/C][C]18.7196[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.927859[/C][C]18.4408[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.914078[/C][C]18.1669[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.900661[/C][C]17.9003[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.890024[/C][C]17.6889[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.876797[/C][C]17.426[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.865277[/C][C]17.197[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.854454[/C][C]16.9819[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.841555[/C][C]16.7256[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.828539[/C][C]16.4669[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.814226[/C][C]16.1824[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.803104[/C][C]15.9614[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.791972[/C][C]15.7401[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.778483[/C][C]15.472[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.765724[/C][C]15.2185[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.752009[/C][C]14.9459[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.74053[/C][C]14.7177[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.729557[/C][C]14.4997[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0.716945[/C][C]14.249[/C][C]0[/C][/ROW]
[ROW][C]23[/C][C]0.706561[/C][C]14.0426[/C][C]0[/C][/ROW]
[ROW][C]24[/C][C]0.695628[/C][C]13.8253[/C][C]0[/C][/ROW]
[ROW][C]25[/C][C]0.683736[/C][C]13.589[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34458&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34458&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.98194919.51590
20.96862219.2510
30.95449818.97030
40.94188518.71960
50.92785918.44080
60.91407818.16690
70.90066117.90030
80.89002417.68890
90.87679717.4260
100.86527717.1970
110.85445416.98190
120.84155516.72560
130.82853916.46690
140.81422616.18240
150.80310415.96140
160.79197215.74010
170.77848315.4720
180.76572415.21850
190.75200914.94590
200.7405314.71770
210.72955714.49970
220.71694514.2490
230.70656114.04260
240.69562813.82530
250.68373613.5890







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.98194919.51590
20.1229292.44320.007498
3-0.012109-0.24070.404972
40.0320710.63740.262116
5-0.035992-0.71530.237414
6-0.010066-0.20010.420767
70.0058380.1160.453844
80.0724141.43920.075444
9-0.058462-1.16190.122987
100.0253160.50310.307574
110.0296210.58870.278196
12-0.068834-1.3680.086038
13-0.01871-0.37180.355103
14-0.042984-0.85430.196733
150.0727091.44510.074616
160.0108390.21540.414775
17-0.065777-1.30730.095937
180.0034740.06910.472492
19-0.046004-0.91430.180558
200.0514781.02310.153441
210.0233330.46370.321548
22-0.040707-0.8090.209493
230.0442430.87930.189883
24-0.014805-0.29420.384363
25-0.025017-0.49720.309664

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.981949 & 19.5159 & 0 \tabularnewline
2 & 0.122929 & 2.4432 & 0.007498 \tabularnewline
3 & -0.012109 & -0.2407 & 0.404972 \tabularnewline
4 & 0.032071 & 0.6374 & 0.262116 \tabularnewline
5 & -0.035992 & -0.7153 & 0.237414 \tabularnewline
6 & -0.010066 & -0.2001 & 0.420767 \tabularnewline
7 & 0.005838 & 0.116 & 0.453844 \tabularnewline
8 & 0.072414 & 1.4392 & 0.075444 \tabularnewline
9 & -0.058462 & -1.1619 & 0.122987 \tabularnewline
10 & 0.025316 & 0.5031 & 0.307574 \tabularnewline
11 & 0.029621 & 0.5887 & 0.278196 \tabularnewline
12 & -0.068834 & -1.368 & 0.086038 \tabularnewline
13 & -0.01871 & -0.3718 & 0.355103 \tabularnewline
14 & -0.042984 & -0.8543 & 0.196733 \tabularnewline
15 & 0.072709 & 1.4451 & 0.074616 \tabularnewline
16 & 0.010839 & 0.2154 & 0.414775 \tabularnewline
17 & -0.065777 & -1.3073 & 0.095937 \tabularnewline
18 & 0.003474 & 0.0691 & 0.472492 \tabularnewline
19 & -0.046004 & -0.9143 & 0.180558 \tabularnewline
20 & 0.051478 & 1.0231 & 0.153441 \tabularnewline
21 & 0.023333 & 0.4637 & 0.321548 \tabularnewline
22 & -0.040707 & -0.809 & 0.209493 \tabularnewline
23 & 0.044243 & 0.8793 & 0.189883 \tabularnewline
24 & -0.014805 & -0.2942 & 0.384363 \tabularnewline
25 & -0.025017 & -0.4972 & 0.309664 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34458&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.981949[/C][C]19.5159[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.122929[/C][C]2.4432[/C][C]0.007498[/C][/ROW]
[ROW][C]3[/C][C]-0.012109[/C][C]-0.2407[/C][C]0.404972[/C][/ROW]
[ROW][C]4[/C][C]0.032071[/C][C]0.6374[/C][C]0.262116[/C][/ROW]
[ROW][C]5[/C][C]-0.035992[/C][C]-0.7153[/C][C]0.237414[/C][/ROW]
[ROW][C]6[/C][C]-0.010066[/C][C]-0.2001[/C][C]0.420767[/C][/ROW]
[ROW][C]7[/C][C]0.005838[/C][C]0.116[/C][C]0.453844[/C][/ROW]
[ROW][C]8[/C][C]0.072414[/C][C]1.4392[/C][C]0.075444[/C][/ROW]
[ROW][C]9[/C][C]-0.058462[/C][C]-1.1619[/C][C]0.122987[/C][/ROW]
[ROW][C]10[/C][C]0.025316[/C][C]0.5031[/C][C]0.307574[/C][/ROW]
[ROW][C]11[/C][C]0.029621[/C][C]0.5887[/C][C]0.278196[/C][/ROW]
[ROW][C]12[/C][C]-0.068834[/C][C]-1.368[/C][C]0.086038[/C][/ROW]
[ROW][C]13[/C][C]-0.01871[/C][C]-0.3718[/C][C]0.355103[/C][/ROW]
[ROW][C]14[/C][C]-0.042984[/C][C]-0.8543[/C][C]0.196733[/C][/ROW]
[ROW][C]15[/C][C]0.072709[/C][C]1.4451[/C][C]0.074616[/C][/ROW]
[ROW][C]16[/C][C]0.010839[/C][C]0.2154[/C][C]0.414775[/C][/ROW]
[ROW][C]17[/C][C]-0.065777[/C][C]-1.3073[/C][C]0.095937[/C][/ROW]
[ROW][C]18[/C][C]0.003474[/C][C]0.0691[/C][C]0.472492[/C][/ROW]
[ROW][C]19[/C][C]-0.046004[/C][C]-0.9143[/C][C]0.180558[/C][/ROW]
[ROW][C]20[/C][C]0.051478[/C][C]1.0231[/C][C]0.153441[/C][/ROW]
[ROW][C]21[/C][C]0.023333[/C][C]0.4637[/C][C]0.321548[/C][/ROW]
[ROW][C]22[/C][C]-0.040707[/C][C]-0.809[/C][C]0.209493[/C][/ROW]
[ROW][C]23[/C][C]0.044243[/C][C]0.8793[/C][C]0.189883[/C][/ROW]
[ROW][C]24[/C][C]-0.014805[/C][C]-0.2942[/C][C]0.384363[/C][/ROW]
[ROW][C]25[/C][C]-0.025017[/C][C]-0.4972[/C][C]0.309664[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34458&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34458&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.98194919.51590
20.1229292.44320.007498
3-0.012109-0.24070.404972
40.0320710.63740.262116
5-0.035992-0.71530.237414
6-0.010066-0.20010.420767
70.0058380.1160.453844
80.0724141.43920.075444
9-0.058462-1.16190.122987
100.0253160.50310.307574
110.0296210.58870.278196
12-0.068834-1.3680.086038
13-0.01871-0.37180.355103
14-0.042984-0.85430.196733
150.0727091.44510.074616
160.0108390.21540.414775
17-0.065777-1.30730.095937
180.0034740.06910.472492
19-0.046004-0.91430.180558
200.0514781.02310.153441
210.0233330.46370.321548
22-0.040707-0.8090.209493
230.0442430.87930.189883
24-0.014805-0.29420.384363
25-0.025017-0.49720.309664



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