• 検索結果がありません。

Benjamin Poignard, undergraduate level, next semester, 『計量経済学』山本 拓 著,

N/A
N/A
Protected

Academic year: 2021

シェア "Benjamin Poignard, undergraduate level, next semester, 『計量経済学』山本 拓 著,"

Copied!
43
0
0

読み込み中.... (全文を見る)

全文

(1)

計量経済分析 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.

(2)

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)

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

(4)

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

(5)

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

(6)

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

(7)

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

(8)

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

(9)

12.1.4 Monte Carlo Study . . . . 432

12.1.5 Summary . . . . 450

12.1.6 Appendix: Are M = 5000 and N = 10

4

Su 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

(10)

代表的テキスト:

・ J.D. Hamilton (1994) Time Series Analysis  沖本・井上訳 (2006) 『時系列解析 ( 上・下 ) 』

・ A.C. Harvey (1981) Time Series Models  国友・山本訳 (1985) 『時系列モデル入門』

・沖本竜義 (2010) 『経済・ファイナンスデータの計量時系列分析』

(11)

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 } から推定すること,

(12)

データについて:

1. タイム・シリーズ ( 時系列 ) ・データ: i が時間を表す ( 第 i 期 ) 。

2. クロス・セクション ( 横断面 ) ・データ: i が個人や企業を表す ( 第 i 番目の 家計,第 i 番目の企業 ) 。

1.2 切片 α と傾き β の推定

次のような関数 S ( α, β ) を定義する。

S ( α, β ) =

n i=1

u

2i

=

n i=1

(Y

i

− α − β X

i

)

2

このとき,

min

α,β

S ( α, β )

となるような α , β を求める ( 最小自乗法 ) 。このときの解を b α , b β とする。

(13)

最小化のためには,

S ( α, β )

∂α = 0

S ( α, β )

∂β = 0

を満たす α , β が b α , b β となる。 すなわち, b α , b β は,

n i=1

(Y

i

− b α − b β X

i

) = 0 , (1)

n i=1

X

i

(Y

i

− b α − b β X

i

) = 0 , (2) を満たす。 さらに,

n i=1

Y

i

= n b α + b β

n i=1

X

i

, (3)

n i=1

X

i

Y

i

= b α

n i=1

X

i

+ b β

n i=1

X

i2

,

(14)

行列表示によって,

( ∑

n

i=1

Y

i

n i=1

X

i

Y

i

)

=

( n

n

i=1

X

i

n

i=1

X

i

n i=1

X

2i

) (b α b β )

,

逆行列の公式:

( a b c d

)

−1

= 1 adbc

( db

c a )

b α , b β について,まとめて,

(b α b β )

=

( n

n

i=1

X

i

n

i=1

X

i

n i=1

X

i2

)

1

( ∑

n

i=1

Y

i

n i=1

X

i

Y

i

)

= 1

n

n

i=1

X

i2

− ( ∑

n

i=1

X

i

)

2

( ∑

n

i=1

X

i2

− ∑

n i=1

X

i

− ∑

n

i=1

X

i

n

) ( ∑

n

i=1

Y

i

n

i=1

X

i

Y

i

)

さらに,b β について解くと,

b β = n

n

i=1

X

i

Y

i

− ( ∑

n

i=1

X

i

)( ∑

n

i=1

Y

i

) n

n

i=1

X

i2

− ( ∑

n

i=1

X

i

)

2

(15)

=

n

i=1

X

i

Y

i

nXY

n

i=1

X

i2

nX

2

=

n

i=1

(X

i

X)(Y

i

Y)

n

i=1

(X

i

X)

2

連立方程式の (3) 式から,

b

α = Y − b β X となる。ただし,

X = 1 n

n i=1

X

i

, Y = 1 n

n i=1

Y

i

, とする。

数値例: 以下の数値例を使って,回帰式 Y

i

= α + β X

i

の α , β の推定値 b α ,b β

を求める。

(16)

i Y

i

X

i

1 6 10

2 9 12

3 10 14

4 10 16

b α ,b β を求めるための公式は b β =

n

i=1

X

i

Y

i

nXY

n

i=1

X

2i

nX

2

b α = Y − b β X

なので,必要なものは XY

n i=1

X

i2

n i=1

X

i

Y

i

である。

(17)

i Y

i

X

i

X

i

Y

i

X

i2

1 6 10 60 100

2 9 12 108 144

3 10 14 140 196

4 10 16 160 256

合計 ∑

Y

i

X

i

X

i

Y

i

X

i2

35 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

となる。

(18)

注意事項:

1. α , β は真の値で未知

2. b α , b β は α , β の推定値でデータから計算される 回帰直線は

b Y

i

= b α + b β X

i

, として与えられる。

上の数値例では,

b Y

i

= 0 . 3 + 0 . 65X

i

となる。

(19)

i Y

i

X

i

X

i

Y

i

X

i2

b Y

i

1 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

i

Y

i

X

i2

∑ b Y

i

35 52 468 696 35.0

平均 Y X

8.75 13

(20)

図 2: Y

i

,X

i

,b Y

i

0 5 10

Yi

0 5 10 15 20

Xi

×

×

× ×

bYi

b Y

i

を実績値 Y

i

の予測値または理論値と呼ぶ。

b u

i

= Y

i

− b Y

i

,

(21)

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=1

b u

i

= 0 , を得る。 (2) 式から,

n i=1

X

i

b u

i

= 0 ,

(22)

を得る。 b Y

i

= b α + b β X

i

から,

n i=1

b Y

i

b u

i

= 0 ,

を得る。なぜなら,

n i=1

b Y

i

b u

i

=

n i=1

( b α + b β X

i

) b u

i

= b α

n i=1

b u

i

+ b β

n i=1

X

i

b u

i

= 0

である。

(23)

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

,

(24)

の両辺を二乗して,総和すると,

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=1

b u

2i

=

n i=1

(b Y

i

Y)

2

+

n i=1

b u

2i

となる。まとめると,

n i=1

(Y

i

Y)

2

=

n i=1

( b Y

i

Y)

2

+

n i=1

b u

2i

を得る。さらに,

1 =

n

i=1

(b Y

i

Y)

2

n

i=1

(Y

i

Y)

2

+

n

i=1

b u

2i

n

i=1

(Y

i

Y )

2

それぞれの項は,

(25)

1.

n i=1

(Y

i

Y)

2

= ⇒ y の全変動

2.

n i=1

(b Y

i

Y)

2

= ⇒ b Y

i

(回帰直線) で説明される部分

3.

n i=1

b u

2i

= ⇒ b Y

i

( 回帰直線 ) で説明されない部分 となる。

回帰式の当てはまりの良さを示す指標として,決定係数 R

2

を以下の通りに定義 する。

R

2

=

n

i=1

( b Y

i

Y)

2

n

i=1

(Y

i

Y)

2

または,

R

2

= 1 −

n i=1

b u

2i

n

i=1

(Y

i

Y)

2

,

として書き換えられる。

(26)

または, 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

=

n

i=1

(b Y

i

Y)

2

n

i=1

(Y

i

Y)

2

=

(∑

n

i=1

(b Y

i

Y)

2

)

2

n

i=1

(Y

i

Y)

2

n

i=1

( b Y

i

Y )

2

=

 



n

i=1

( b Y

i

Y)(Y

i

Y)

√∑

n

i=1

(Y

i

Y)

2

n

i=1

( b Y

i

Y )

2

 



2

(27)

と書き換えられる。 すなわち, R

2

Y

i

と b Y

i

の相関係数の二乗と解釈さ れる。

n i=1

(Y

i

Y)

2

=

n i=1

(b Y

i

Y)

2

+

n i=1

b u

2i

から,明らかに,

0 ≤ R

2

≤ 1 ,

となる。 R

2

が 1 に近づけば回帰式の当てはまりは良いと言える。しかし, t 分 布のような数表は存在しない。したがって, 「どの値よりも大きくなるべき」と いうような基準はない。

慣習的には,メドとして 0.9 以上を判断基準にする。

数値例: 決定係数の計算には以下の公式を用いる。

R

2

= 1 −

n i=1

b u

2i

n

i=1

(Y

i

Y )

2

= 1 −

n i=1

b u

2i

n

i=1

Y

i2

nY

2

(28)

計算に必要なものは, b u

i

= Y

i

− ( b α + b β X

i

) , Y

n i=1

Y

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 ∑bu2iYi2 35 52 35.0 0.0 2.30 317

∑ b u

2i

= 2 . 30 , X = 13 , Y = 8 . 75 ,

n i=1

Y

i2

= 317 なので,

R

2

= 1 − 2 . 30

317 − 4 × 8 . 75

2

= 1 − 2 . 30

10 . 75 = 0 . 786

(29)

1.5 まとめ

b α ,b β を求めるための公式は b β =

n

i=1

X

i

Y

i

nXY

n

i=1

X

2i

nX

2

b α = Y − b β X

なので,必要なものは XY

n i=1

X

i2

n i=1

X

i

Y

i

である。

決定係数の計算には以下の公式を用いる。

R

2

= 1 −

n

i=1

b u

2i

n

i=1

(Y

i

Y )

2

= 1 −

n

i=1

b u

2i

n

i=1

Y

i2

nY

2

計算に必要なものは, ∑ b u

2i

Y

n i=1

Y

i2

である。

(30)
(31)

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

+ β

2

x

i

+ u

i

, (4) for i = 1 , 2 , · · · , n. x

i

and y

i

denote the ith observations.

−→ Single (or simple) regression model ( 単回帰モデル )

y

i

is called the dependent variable ( 従属変数 ) or the explained variable ( 被説明変

数 ), while x

i

is known as the independent variable ( 独立変数 ) or the explanatory

(or explaining) variable ( 説明変数 ).

(32)

β

1

= Intercept ( 切片 ), β

2

= Slope ( 傾き )

β

1

and β

2

are unknown parameters ( パラメータ,母数 ) to be estimated.

β

1

and β

2

are called the regression coe ffi cients ( 回帰係数 ).

u

i

is the unobserved error term ( 誤差項 ) assumed to be a random variable with mean zero and variance σ

2

.

σ

2

is also a parameter to be estimated.

x

i

is assumed to be nonstochastic ( 非確率的 ), but y

i

is stochastic ( 確率的 ) because y

i

depends on the error u

i

.

The error terms u

1

, u

2

, · · · , u

n

are assumed to be mutually independently and identi- cally distributed, which is called iid.

It is assumed that u

i

has a distribution with mean zero, i.e., E(u

i

) = 0 is assumed.

(33)

Taking the expectation on both sides of (4), the expectation of y

i

is represented as:

E(y

i

) = E( β

1

+ β

2

x

i

+ u

i

) = β

1

+ β

2

x

i

+ E(u

i

)

= β

1

+ β

2

x

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 ˆ β

1

and ˆ β

2

be estimates of β

1

and β

2

.

Replacing β

1

and β

2

by ˆ β

1

and ˆ β

2

, (4) turns out to be:

y

i

= β ˆ

1

+ β ˆ

2

x

i

+ e

i

, (6)

(34)

for i = 1 , 2 , · · · , n, where e

i

is called the residual ( 残差 ).

The residual e

i

is taken as the experimental value (or realization) of u

i

. We define ˆ y

i

as follows:

ˆ

y

i

= β ˆ

1

+ β ˆ

2

x

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

i

we 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.

(35)

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)=β12xi (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.

(36)

Based on the observed data, β

1

and β

2

are estimated as: ˆ β

1

and ˆ β

2

.

In the next section, we consider how to obtain the estimates of β

1

and β

2

, i.e., ˆ β

1

and β ˆ

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 β

1

and β

2

.

Replacing β

1

and β

2

by their estimates ˆ β

1

and ˆ β

2

, remember that the residual e

i

is given by:

e

i

= y

i

y ˆ

i

= y

i

− β ˆ

1

− β ˆ

2

x

i

.

(37)

The sum of squared residuals is defined as follows:

S ( ˆ β

1

, β ˆ

2

) =

n i=1

e

2i

=

n i=1

(y

i

− β ˆ

1

− β ˆ

2

x

i

)

2

.

It might be plausible to choose the ˆ β

1

and ˆ β

2

which 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 ˆ β

1

and ˆ β

2

, we set the partial derivatives equal to zero:

S ( ˆ β

1

, β ˆ

2

)

∂ β ˆ

1

= − 2

n i=1

(y

i

− β ˆ

1

− β ˆ

2

x

i

) = 0 ,

S ( ˆ β

1

, β ˆ

2

)

∂ β ˆ

2

= − 2

n i=1

x

i

(y

i

− β ˆ

1

− β ˆ

2

x

i

) = 0 .

(38)

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=1

x

i

2 ∑

n

i=1

x

i

2 ∑

n

i=1

x

2i

)

should be a positive definite matrix.

The diagonal elements 2n and 2 ∑

n

i=1

x

2i

are positive.

The determinant:

2n 2 ∑

n

i=1

x

i

2 ∑

n

i=1

x

i

2 ∑

n

i=1

x

2i

= 4n

n i=1

x

2i

− 4(

n i=1

x

i

)

2

= 4n

n i=1

(x

i

x)

2

is positive. = ⇒ The second-order condition is satisfied.

The first two equations yield the following two equations:

y = β ˆ

1

+ β ˆ

2

x , (8)

n i=1

x

i

y

i

= nx β ˆ

1

+ β ˆ

2

n i=1

x

2i

, (9)

(39)

where y = 1 n

n i=1

y

i

and x = 1 n

n i=1

x

i

.

Multiplying (8) by nx and subtracting (9), we can derive ˆ β

2

as follows:

β ˆ

2

=

n

i=1

x

i

y

i

nxy

n

i=1

x

2i

nx

2

=

n

i=1

(x

i

x)(y

i

y)

n

i=1

(x

i

x)

2

. (10)

From (8), ˆ β

1

is directly obtained as follows:

β ˆ

1

= y − β ˆ

2

x . (11)

When the observed values are taken for y

i

and x

i

for i = 1 , 2 , · · · , n, we say that ˆ β

1

and ˆ β

2

are called the ordinary least squares estimates (or simply the least squares estimates, 最小二乗推定値 ) of β

1

and β

2

.

When y

i

for i = 1 , 2 , · · · , n are regarded as the random sample, we say that ˆ β

1

and ˆ β

2

are called the ordinary least squares estimators (or the least squares estimators,

最小二乗推定量 ) of β

1

and β

2

.

(40)

2.3 Properties of Least Squares Estimator

Equation (10) is rewritten as:

β ˆ

2

=

n

i=1

(x

i

x)(y

i

y)

n

i=1

(x

i

x)

2

=

n

i=1

(x

i

x)y

i

n

i=1

(x

i

x)

2

y

n

i=1

(x

i

x)

n

i=1

(x

i

x)

2

=

n i=1

x

i

x

n

i=1

(x

i

x)

2

y

i

=

n i=1

ω

i

y

i

. (12)

In the third equality,

n i=1

(x

i

x) = 0 is utilized because of x = 1 n

n i=1

x

i

. In the fourth equality, ω

i

is defined as: ω

i

= x

i

x

n

i=1

(x

i

x)

2

. ω

i

is nonstochastic because x

i

is assumed to be nonstochastic.

ω

i

has the following properties:

n i=1

ω

i

=

n i=1

x

i

x

n

i=1

(x

i

x)

2

=

n

i=1

(x

i

x)

n

i=1

(x

i

x)

2

= 0 , (13)

(41)

n i=1

ω

i

x

i

=

n i=1

ω

i

(x

i

x) =

n

i=1

(x

i

x)

2

n

i=1

(x

i

x)

2

= 1 , (14)

n i=1

ω

2i

=

n i=1

( x

i

x

n

i=1

(x

i

x)

2

)

2

=

n

i=1

(x

i

x)

2

(∑

n

i=1

(x

i

x)

2

)

2

= 1

n

i=1

(x

i

x)

2

. (15)

The first equality of (14) comes from (13).

From now on, we focus only on ˆ β

2

, because usually β

2

is more important than β

1

in the regression model (4).

In order to obtain the properties of the least squares estimator ˆ β

2

, we rewrite (12) as:

β ˆ

2

=

n i=1

ω

i

y

i

=

n i=1

ω

i

( β

1

+ β

2

x

i

+ u

i

)

= β

1

n i=1

ω

i

+ β

2

n i=1

ω

i

x

i

+

n i=1

ω

i

u

i

= β

2

+

n i=1

ω

i

u

i

. (16)

In the fourth equality of (16), (13) and (14) are utilized.

(42)

[Review] Random Variables:

Let X

1

, X

2

, · · · , X

n

be n random variavles, which are mutually independently and identically distributed.

mutually independent = ⇒ f (x

i

, x

j

) = f

i

(x

i

) f

j

(x

j

) for i , j.

f (x

i

, x

j

) denotes a joint distribution of X

i

and X

j

. f

i

(x) indicates a marginal distribution of X

i

. identical = ⇒ f

i

(x) = f

j

(x) for i , j.

[End of Review]

(43)

[Review] Mean and Variance:

Let X and Y be random variables (continuous type), which are independently dis- tributed.

Definition and Formulas:

• E(g(X)) =

g(x) f (x)dx for a function g( · ) and a density function f ( · ).

• V(X) = E((X − µ )

2

) =

(x − µ )

2

f (x)dx for µ = E(X).

• E(aX + b) = aE(X) + b and V(aX + b) = a

2

V(X).

• E(X ± Y ) = E(X) ± E(Y ) and V(X ± Y) = V(X) + V(Y ).

[End of Review]

図 2: Y i ,X i ,b Y i 0510Yi 0 5 10 15 20 X i×× × ×bYi→ b Y i を実績値 Y i の予測値または理論値と呼ぶ。 bui = Y i − bYi ,
Figure 1. True and Estimated Regression Lines ( 回帰直線 ) y xXXXXXXXzDistributionsof the Errors×.............................................................×.............................................................×ErroruiRe

参照

関連したドキュメント

In Section 4 we present conditions upon the size of the uncertainties appearing in a flexible system of linear equations that guarantee that an admissible solution is produced

The issue of classifying non-affine R-matrices, solutions of DQYBE, when the (weak) Hecke condition is dropped, already appears in the literature [21], but in the very particular

Since our aim in this article is to prove the strong Feller property and give a gradient estimate of the semigroup, we don’t need the smooth conditions for all the coefficients or

This set will be important for the computation of an explicit estimate of the infinitesimal Kazhdan constant of Sp (2, R) in Section 3 and for the determination of an

From the delayed cosine and sine type matrix function on the fractal set R αn (0 < α ≤ 1) corresponding to second order inhomogeneous delay differential equations with

[Mag3] , Painlev´ e-type differential equations for the recurrence coefficients of semi- classical orthogonal polynomials, J. Zaslavsky , Asymptotic expansions of ratios of

Existence of nonperturbative nonlocal field theory on noncommutative space and spiral source in renormalization.. group approach of

The exponentiated gamma EG distribution and Fisher information matrices for complete, Type I, and Type II censored observations are obtained.. Asymptotic variances of the