計量経済分析 I Thu., 8:50-10:20
Room # 4 ( 法経講義棟 )
• The prerequisite of this class is Basic Statistics ( 統計基礎 ) (by Prof. Fukushige, Tue., 16:20-17:50, this semester) and Econometrics ( エコノメトリックス ) (by Prof.
Benjamin Poignard, undergraduate level, next semester, 『計量経済学』山本 拓 著,
新世社).
• The class of Introductory Econometrics ( 計量経済基礎 ) (by Prof. Benjamin
Poignard, 10:30-12:00 on Tue., this semester) should be registered.
Contents
1 最小二乗法について ( 復習 ) 11
1.1 最小二乗法と回帰直線 . . . . 11
1.2 切片 α と傾き β の推定 . . . . 12
1.3 残差 b u
iの性質について . . . . 21
1.4 決定係数 R
2について . . . . 23
1.5 まとめ . . . . 29
2 Regression Analysis ( 回帰分析 ) 31 2.1 Setup of the Model . . . . 31
2.2 Ordinary Least Squares Estimation . . . . 36
2.3 Properties of Least Squares Estimator . . . . 40
3 多重回帰 53
3.1 推定量の性質 . . . . 57
4 系列相関: DW について 64 4.1 DW について . . . . 64
4.2 系列相関のもとで回帰式の推定 . . . . 72
5 不均一分散 ( 不等分散 ) 77 6 推定量の求め方 80 6.1 最小二乗法 . . . . 80
6.2 最尤法 . . . . 82
6.2.1 変数変換 . . . . 105
6.2.2 回帰分析への応用 . . . . 107
6.2.3 誤差項に系列相関がある場合 . . . . 116
6.3 尤度比検定 . . . . 120
7 Time Series Analysis ( 時系列分析 ) 135 7.1 Introduction . . . . 135
7.2 Time Series Models ( 時系列モデル ) . . . . 139
7.3 Autoregressive Model ( 自己回帰モデル or AR モデル ) . . . . 142
7.4 MA Model . . . . 172
7.5 ARMA Model . . . . 184
7.6 ARIMA Model . . . . 189
7.7 SARIMA Model . . . . 190
7.8 Optimal Prediction . . . . 191
7.9 Identification ( 識別,または,同定 ) . . . . 194
7.10 Example of SARIMA using Consumption Data . . . . 197
7.11 ARCH and GARCH Models . . . . 203
8 Vector Autoregressive (VAR) Model – Causality, Impulse Response Func- tion and etc 208 8.1 Autocovariance Matrix and Autocorrelation Matrix . . . . 211
8.2 Granger Cuasality Test ( グレンジャー因果性テスト ) . . . . 212
8.3 Impulse Response Function ( インパルス応答関数 ): . . . . 219
9 Unit Root ( 単位根 ) and Cointegration ( 共和分 ) 224 9.1 Unit Root ( 単位根 ) Test (Dickey-Fuller (DF) Test) . . . . 224
9.2 Serially Correlated Errors . . . . 238
9.2.1 Augmented Dickey-Fuller (ADF) Test . . . . 238
9.3 Cointegration ( 共和分 ) . . . . 243
9.4 Testing Cointegration . . . . 253
9.4.1 Engle-Granger Test . . . . 253
9.4.2 Error Correction Representation . . . . 255
9.5 Testing the Number of Cointegrating Vectors . . . . 261
10 GMM (Generalized Mothod of Moments, 一般化積率法 ) 263 11 Bayesian Estimation ( ベイズ推定 ) 270 11.1 Introduction . . . . 271
11.2 Inference . . . . 275
11.2.1 Point Estimate . . . . 275
11.2.2 Interval Estimate . . . . 276
11.2.3 Marginal Likelihood ( 周辺尤度 ) . . . . 276
11.3 Example: Linear Regression . . . . 277
11.4 On Prior Distribution . . . . 280
11.4.1 Non-informative Prior . . . . 280
11.4.2 Je ff reys’ Prior . . . . 281
11.5 Evaluation of Expectation . . . . 282
11.5.1 Evaluation of Expectation: Numerical Integration . . . . 283
11.5.2 Evaluation of Expectation: Monte Carlo Integration . . . . . 287
11.5.3 Evaluation of Expectation: Random Number Generation . . 290
11.6 Sampling Method I: Random Number Generation . . . . 291
11.6.1 Uniform Distribution: U(0 , 1) . . . . 291
11.6.2 Transforming U(0 , 1): Continuous Type . . . . 300
11.6.3 Inverse Transform Method . . . . 323
11.6.4 Using U(0 , 1): Discrete Type . . . . 326
References 327
11.7 Sampling Method II: Random Number Generation . . . . 332
11.7.1 Rejection Sampling ( 棄却法 ) . . . . 332 11.7.2 Importance Resampling ( 重点的リサンプリング ) . . . . . 353 11.7.3 Metropolis-Hastings Algorithm ( メトロポリスーハスティ
ングス・アルゴリズム ) . . . . 361 11.7.4 Ratio-of-Uniforms Method . . . . 384 11.7.5 Gibbs Sampling . . . . 398
References 410
12 Bayesian Estimation — Examples 417
12.1 Heteroscedasticity Model . . . . 417
12.1.1 Introduction . . . . 418
12.1.2 Multiplicative Heteroscedasticity Regression Model . . . . 420
12.1.3 Bayesian Estimation . . . . 426
12.1.4 Monte Carlo Study . . . . 432
12.1.5 Summary . . . . 450
12.1.6 Appendix: Are M = 5000 and N = 10
4Su ffi cient? . . . . . 454
12.2 Autocorrelation Model . . . . 456
12.2.1 Introduction . . . . 458
12.2.2 Setup of the Model . . . . 459
12.2.3 Monte Carlo Experiments . . . . 469
12.2.4 Summary . . . . 484
References 485 12.3 Marginal Likelihood, Convergence Diagnostic and so on . . . . 490
12.3.1 Marginal Likelihood ( 周辺尤度 ) . . . . 490
12.3.2 Convergence Diagnostic ( 収束判定 ) . . . . 494
代表的テキスト:
・ J.D. Hamilton (1994) Time Series Analysis 沖本・井上訳 (2006) 『時系列解析 ( 上・下 ) 』
・ A.C. Harvey (1981) Time Series Models 国友・山本訳 (1985) 『時系列モデル入門』
・沖本竜義 (2010) 『経済・ファイナンスデータの計量時系列分析』
1 最小二乗法について ( 復習 )
経済理論に基づいた線型モデルの係数の値をデータから求める時に用いられる 手法 = ⇒ 最小二乗法
1.1 最小二乗法と回帰直線
(X
1, Y
1), (X
2, Y
2), · · · , (X
n, Y
n) のように n 組のデータがあり, X
iと Y
iとの間に以 下の線型関係を想定する。
Y
i= α + β X
i,
X
iは説明変数, Y
iは被説明変数, α , β はパラメータとそれぞれ呼ばれる。
上の式は回帰モデル ( または,回帰式 ) と呼ばれる。目的は,切片 α と傾き β を
データ { (X
i, Y
i), i = 1 , 2 , · · · , n } から推定すること,
データについて:
1. タイム・シリーズ ( 時系列 ) ・データ: i が時間を表す ( 第 i 期 ) 。
2. クロス・セクション ( 横断面 ) ・データ: i が個人や企業を表す ( 第 i 番目の 家計,第 i 番目の企業 ) 。
1.2 切片 α と傾き β の推定
次のような関数 S ( α, β ) を定義する。
S ( α, β ) =
∑
n i=1u
2i=
∑
n i=1(Y
i− α − β X
i)
2このとき,
min
α,βS ( α, β )
となるような α , β を求める ( 最小自乗法 ) 。このときの解を b α , b β とする。
最小化のためには,
∂ S ( α, β )
∂α = 0
∂ S ( α, β )
∂β = 0
を満たす α , β が b α , b β となる。 すなわち, b α , b β は,
∑
n i=1(Y
i− b α − b β X
i) = 0 , (1)
∑
n i=1X
i(Y
i− b α − b β X
i) = 0 , (2) を満たす。 さらに,
∑
n i=1Y
i= n b α + b β
∑
n i=1X
i, (3)
∑
n i=1X
iY
i= b α
∑
n i=1X
i+ b β
∑
n i=1X
i2,
行列表示によって,
( ∑
ni=1
Y
i∑
n i=1X
iY
i)
=
( n ∑
ni=1
X
i∑
ni=1
X
i∑
n i=1X
2i) (b α b β )
,
逆行列の公式:
( a b c d
)
−1= 1 ad − bc
( d − b
− c a )
b α , b β について,まとめて,
(b α b β )
=
( n ∑
ni=1
X
i∑
ni=1
X
i∑
n i=1X
i2)
−1( ∑
ni=1
Y
i∑
n i=1X
iY
i)
= 1
n ∑
ni=1
X
i2− ( ∑
ni=1
X
i)
2( ∑
ni=1
X
i2− ∑
n i=1X
i− ∑
ni=1
X
in
) ( ∑
ni=1
Y
i∑
ni=1
X
iY
i)
さらに,b β について解くと,
b β = n ∑
ni=1
X
iY
i− ( ∑
ni=1
X
i)( ∑
ni=1
Y
i) n ∑
ni=1
X
i2− ( ∑
ni=1
X
i)
2=
∑
ni=1
X
iY
i− nXY
∑
ni=1
X
i2− nX
2=
∑
ni=1
(X
i− X)(Y
i− Y)
∑
ni=1
(X
i− X)
2連立方程式の (3) 式から,
b
α = Y − b β X となる。ただし,
X = 1 n
∑
n i=1X
i, Y = 1 n
∑
n i=1Y
i, とする。
数値例: 以下の数値例を使って,回帰式 Y
i= α + β X
iの α , β の推定値 b α ,b β
を求める。
i Y
iX
i1 6 10
2 9 12
3 10 14
4 10 16
b α ,b β を求めるための公式は b β =
∑
ni=1
X
iY
i− nXY
∑
ni=1
X
2i− nX
2b α = Y − b β X
なので,必要なものは X , Y ,
∑
n i=1X
i2,
∑
n i=1X
iY
iである。
i Y
iX
iX
iY
iX
i21 6 10 60 100
2 9 12 108 144
3 10 14 140 196
4 10 16 160 256
合計 ∑
Y
i∑
X
i∑
X
iY
i∑ X
i235 52 468 696
平均 Y X
8.75 13
よって,
b β = 468 − 4 × 13 × 8 . 75 696 − 4 × 13
2= 13
20 = 0 . 65 b α = 8 . 75 − 0 . 65 × 13 = 0 . 3
となる。
注意事項:
1. α , β は真の値で未知
2. b α , b β は α , β の推定値でデータから計算される 回帰直線は
b Y
i= b α + b β X
i, として与えられる。
上の数値例では,
b Y
i= 0 . 3 + 0 . 65X
iとなる。
i Y
iX
iX
iY
iX
i2b Y
i1 6 10 60 100 6.8
2 9 12 108 144 8.1
3 10 14 140 196 9.4
4 10 16 160 256 10.7
合計 ∑
Y
i∑
X
i∑
X
iY
i∑
X
i2∑ b Y
i35 52 468 696 35.0
平均 Y X
8.75 13
図 2: Y
i,X
i,b Y
i0 5 10
Yi
0 5 10 15 20
Xi
×
×
× ×
bYi→
b Y
iを実績値 Y
iの予測値または理論値と呼ぶ。
b u
i= Y
i− b Y
i,
b u
iを残差と呼ぶ。
Y
i= b Y
i+ b u
i= b α + b β X
i+ b u
i, さらに, Y を両辺から引いて,
(Y
i− Y) = (b Y
i− Y) + b u
i,
1.3 残差 b u
iの性質について
b u
i= Y
i− b α − b β X
iに注意して, (1) 式から,
∑
n i=1b u
i= 0 , を得る。 (2) 式から,
∑
n i=1X
ib u
i= 0 ,
を得る。 b Y
i= b α + b β X
iから,
∑
n i=1b Y
ib u
i= 0 ,
を得る。なぜなら,
∑
n i=1b Y
ib u
i=
∑
n i=1( b α + b β X
i) b u
i= b α
∑
n i=1b u
i+ b β
∑
n i=1X
ib u
i= 0
である。
i Yi Xi bYi bui Xibui bYibui
1 6 10 6.8 −0.8 −8.0 −5.44 2 9 12 8.1 0.9 10.8 7.29 3 10 14 9.4 0.6 8.4 5.64 4 10 16 10.7 −0.7 −11.2 −7.49 合計 ∑
Yi ∑
Xi ∑ bYi ∑ bui ∑
Xibui ∑ bYibui
35 52 35.0 0.0 0.0 0.00
1.4 決定係数 R
2について
次の式
(Y
i− Y) = ( b Y
i− Y) + b u
i,
の両辺を二乗して,総和すると,
∑
n i=1(Y
i− Y)
2=
∑
n i=1( (b Y
i− Y) + b u
i)
2=
∑
n i=1(b Y
i− Y)
2+ 2
∑
n i=1(b Y
i− Y ) b u
i+
∑
n i=1b u
2i=
∑
n i=1(b Y
i− Y)
2+
∑
n i=1b u
2iとなる。まとめると,
∑
n i=1(Y
i− Y)
2=
∑
n i=1( b Y
i− Y)
2+
∑
n i=1b u
2iを得る。さらに,
1 =
∑
ni=1
(b Y
i− Y)
2∑
ni=1
(Y
i− Y)
2+
∑
ni=1
b u
2i∑
ni=1
(Y
i− Y )
2それぞれの項は,
1.
∑
n i=1(Y
i− Y)
2= ⇒ y の全変動
2.
∑
n i=1(b Y
i− Y)
2= ⇒ b Y
i(回帰直線) で説明される部分
3.
∑
n i=1b u
2i= ⇒ b Y
i( 回帰直線 ) で説明されない部分 となる。
回帰式の当てはまりの良さを示す指標として,決定係数 R
2を以下の通りに定義 する。
R
2=
∑
ni=1
( b Y
i− Y)
2∑
ni=1
(Y
i− Y)
2または,
R
2= 1 −
∑
n i=1b u
2i∑
ni=1
(Y
i− Y)
2,
として書き換えられる。
または, Y
i= b Y
i+ b u
iと
∑
n i=1( b Y
i− Y )
2=
∑
n i=1( b Y
i− Y)(Y
i− Y − b u
i)
=
∑
n i=1( b Y
i− Y)(Y
i− Y ) −
∑
n i=1( b Y
i− Y) b u
i=
∑
n i=1( b Y
i− Y)(Y
i− Y ) を用いて,
R
2=
∑
ni=1
(b Y
i− Y)
2∑
ni=1
(Y
i− Y)
2=
(∑
ni=1
(b Y
i− Y)
2)
2∑
ni=1
(Y
i− Y)
2∑
ni=1
( b Y
i− Y )
2=
∑
ni=1
( b Y
i− Y)(Y
i− Y)
√∑
ni=1
(Y
i− Y)
2∑
ni=1
( b Y
i− Y )
2
2
と書き換えられる。 すなわち, R
2は Y
iと b Y
iの相関係数の二乗と解釈さ れる。
∑
n i=1(Y
i− Y)
2=
∑
n i=1(b Y
i− Y)
2+
∑
n i=1b u
2iから,明らかに,
0 ≤ R
2≤ 1 ,
となる。 R
2が 1 に近づけば回帰式の当てはまりは良いと言える。しかし, t 分 布のような数表は存在しない。したがって, 「どの値よりも大きくなるべき」と いうような基準はない。
慣習的には,メドとして 0.9 以上を判断基準にする。
数値例: 決定係数の計算には以下の公式を用いる。
R
2= 1 −
∑
n i=1b u
2i∑
ni=1
(Y
i− Y )
2= 1 −
∑
n i=1b u
2i∑
ni=1
Y
i2− nY
2計算に必要なものは, b u
i= Y
i− ( b α + b β X
i) , Y ,
∑
n i=1Y
i2である。
i Yi Xi bYi bui bui Yi2
1 6 10 6.8 −0.8 0.64 36
2 9 12 8.1 0.9 0.81 81
3 10 14 9.4 0.6 0.36 100 4 10 16 10.7 −0.7 0.49 100 合計 ∑
Yi ∑
Xi ∑ bYi ∑bui ∑bu2i ∑ Yi2 35 52 35.0 0.0 2.30 317
∑ b u
2i= 2 . 30 , X = 13 , Y = 8 . 75 ,
∑
n i=1Y
i2= 317 なので,
R
2= 1 − 2 . 30
317 − 4 × 8 . 75
2= 1 − 2 . 30
10 . 75 = 0 . 786
1.5 まとめ
b α ,b β を求めるための公式は b β =
∑
ni=1
X
iY
i− nXY
∑
ni=1
X
2i− nX
2b α = Y − b β X
なので,必要なものは X , Y ,
∑
n i=1X
i2,
∑
n i=1X
iY
iである。
決定係数の計算には以下の公式を用いる。
R
2= 1 −
∑
ni=1
b u
2i∑
ni=1
(Y
i− Y )
2= 1 −
∑
ni=1
b u
2i∑
ni=1
Y
i2− nY
2計算に必要なものは, ∑ b u
2i, Y ,
∑
n i=1Y
i2である。
2 Regression Analysis ( 回帰分析 )
2.1 Setup of the Model
When (x
1, y
1), ( x
2, y
2), · · · , ( x
n, y
n) are available, suppose that there is a linear rela- tionship between y and x, i.e.,
y
i= β
1+ β
2x
i+ u
i, (4) for i = 1 , 2 , · · · , n. x
iand y
idenote the ith observations.
−→ Single (or simple) regression model ( 単回帰モデル )
y
iis called the dependent variable ( 従属変数 ) or the explained variable ( 被説明変
数 ), while x
iis known as the independent variable ( 独立変数 ) or the explanatory
(or explaining) variable ( 説明変数 ).
β
1= Intercept ( 切片 ), β
2= Slope ( 傾き )
β
1and β
2are unknown parameters ( パラメータ,母数 ) to be estimated.
β
1and β
2are called the regression coe ffi cients ( 回帰係数 ).
u
iis the unobserved error term ( 誤差項 ) assumed to be a random variable with mean zero and variance σ
2.
σ
2is also a parameter to be estimated.
x
iis assumed to be nonstochastic ( 非確率的 ), but y
iis stochastic ( 確率的 ) because y
idepends on the error u
i.
The error terms u
1, u
2, · · · , u
nare assumed to be mutually independently and identi- cally distributed, which is called iid.
It is assumed that u
ihas a distribution with mean zero, i.e., E(u
i) = 0 is assumed.
Taking the expectation on both sides of (4), the expectation of y
iis represented as:
E(y
i) = E( β
1+ β
2x
i+ u
i) = β
1+ β
2x
i+ E(u
i)
= β
1+ β
2x
i, (5)
for i = 1 , 2 , · · · , n.
Using E(y
i) we can rewrite (4) as y
i= E(y
i) + u
i. (5) represents the true regression line.
Let ˆ β
1and ˆ β
2be estimates of β
1and β
2.
Replacing β
1and β
2by ˆ β
1and ˆ β
2, (4) turns out to be:
y
i= β ˆ
1+ β ˆ
2x
i+ e
i, (6)
for i = 1 , 2 , · · · , n, where e
iis called the residual ( 残差 ).
The residual e
iis taken as the experimental value (or realization) of u
i. We define ˆ y
ias follows:
ˆ
y
i= β ˆ
1+ β ˆ
2x
i, (7) for i = 1 , 2 , · · · , n, which is interpreted as the predicted value ( 予測値 ) of y
i.
(7) indicates the estimated regression line, which is di ff erent from (5).
Moreover, using ˆ y
iwe can rewrite (6) as y
i= y ˆ
i+ e
i. (5) and (7) are displayed in Figure 1.
Consider the case of n = 6 for simplicity. × indicates the observed data series.
Figure 1. True and Estimated Regression Lines ( 回帰直線 )
y
x
XXXXXXXz Distributions
of the Errors
×
..........................................................
... ×............
...................................
.......
.......
×
Error ui
Residual ei
(xi,yi)
×
×
×
@@ I ˆ
yi=βˆ1+βˆ2xi (Estimated Regression Line)
@@ I
E(yi)=β1+β2xi (True Regression Line)
The true regression line (5) is represented by the solid line, while the estimated re-
gression line (7) is drawn with the dotted line.
Based on the observed data, β
1and β
2are estimated as: ˆ β
1and ˆ β
2.
In the next section, we consider how to obtain the estimates of β
1and β
2, i.e., ˆ β
1and β ˆ
2.
2.2 Ordinary Least Squares Estimation
Suppose that (x
1, y
1), (x
2, y
2), · · · , (x
n, y
n) are available.
For the regression model (4), we consider estimating β
1and β
2.
Replacing β
1and β
2by their estimates ˆ β
1and ˆ β
2, remember that the residual e
iis given by:
e
i= y
i− y ˆ
i= y
i− β ˆ
1− β ˆ
2x
i.
The sum of squared residuals is defined as follows:
S ( ˆ β
1, β ˆ
2) =
∑
n i=1e
2i=
∑
n i=1(y
i− β ˆ
1− β ˆ
2x
i)
2.
It might be plausible to choose the ˆ β
1and ˆ β
2which minimize the sum of squared residuals, i.e., S ( ˆ β
1, β ˆ
2).
This method is called the ordinary least squares estimation ( 最小二乗法, OLS).
To minimize S ( ˆ β
1, β ˆ
2) with respect to ˆ β
1and ˆ β
2, we set the partial derivatives equal to zero:
∂ S ( ˆ β
1, β ˆ
2)
∂ β ˆ
1= − 2
∑
n i=1(y
i− β ˆ
1− β ˆ
2x
i) = 0 ,
∂ S ( ˆ β
1, β ˆ
2)
∂ β ˆ
2= − 2
∑
n i=1x
i(y
i− β ˆ
1− β ˆ
2x
i) = 0 .
The second order condition for minimization is:
(
∂2S( ˆβ1,βˆ2)∂βˆ21 ∂2S( ˆβ1,βˆ2)
∂βˆ1∂βˆ2
∂2S( ˆβ1,βˆ2)
∂βˆ2∂βˆ1
∂2S( ˆβ1,βˆ2)
∂βˆ22
)
=
( 2n 2 ∑
n i=1x
i2 ∑
ni=1
x
i2 ∑
ni=1
x
2i)
should be a positive definite matrix.
The diagonal elements 2n and 2 ∑
ni=1
x
2iare positive.
The determinant:
2n 2 ∑
ni=1
x
i2 ∑
ni=1
x
i2 ∑
ni=1
x
2i= 4n
∑
n i=1x
2i− 4(
∑
n i=1x
i)
2= 4n
∑
n i=1(x
i− x)
2is positive. = ⇒ The second-order condition is satisfied.
The first two equations yield the following two equations:
y = β ˆ
1+ β ˆ
2x , (8)
∑
n i=1x
iy
i= nx β ˆ
1+ β ˆ
2∑
n i=1x
2i, (9)
where y = 1 n
∑
n i=1y
iand x = 1 n
∑
n i=1x
i.
Multiplying (8) by nx and subtracting (9), we can derive ˆ β
2as follows:
β ˆ
2=
∑
ni=1
x
iy
i− nxy
∑
ni=1
x
2i− nx
2=
∑
ni=1
(x
i− x)(y
i− y)
∑
ni=1
(x
i− x)
2. (10)
From (8), ˆ β
1is directly obtained as follows:
β ˆ
1= y − β ˆ
2x . (11)
When the observed values are taken for y
iand x
ifor i = 1 , 2 , · · · , n, we say that ˆ β
1and ˆ β
2are called the ordinary least squares estimates (or simply the least squares estimates, 最小二乗推定値 ) of β
1and β
2.
When y
ifor i = 1 , 2 , · · · , n are regarded as the random sample, we say that ˆ β
1and ˆ β
2are called the ordinary least squares estimators (or the least squares estimators,
最小二乗推定量 ) of β
1and β
2.
2.3 Properties of Least Squares Estimator
Equation (10) is rewritten as:
β ˆ
2=
∑
ni=1
(x
i− x)(y
i− y)
∑
ni=1
(x
i− x)
2=
∑
ni=1
(x
i− x)y
i∑
ni=1
(x
i− x)
2− y ∑
ni=1
(x
i− x)
∑
ni=1
(x
i− x)
2=
∑
n i=1x
i− x
∑
ni=1
(x
i− x)
2y
i=
∑
n i=1ω
iy
i. (12)
In the third equality,
∑
n i=1(x
i− x) = 0 is utilized because of x = 1 n
∑
n i=1x
i. In the fourth equality, ω
iis defined as: ω
i= x
i− x
∑
ni=1
(x
i− x)
2. ω
iis nonstochastic because x
iis assumed to be nonstochastic.
ω
ihas the following properties:
∑
n i=1ω
i=
∑
n i=1x
i− x
∑
ni=1
(x
i− x)
2=
∑
ni=1
(x
i− x)
∑
ni=1
(x
i− x)
2= 0 , (13)
∑
n i=1ω
ix
i=
∑
n i=1ω
i(x
i− x) =
∑
ni=1
(x
i− x)
2∑
ni=1
(x
i− x)
2= 1 , (14)
∑
n i=1ω
2i=
∑
n i=1( x
i− x
∑
ni=1
(x
i− x)
2)
2=
∑
ni=1
(x
i− x)
2(∑
ni=1
(x
i− x)
2)
2= 1
∑
ni=1