第9章: 定式化とデータの問題

Jeffrey Wooldridge (2016).
Introductory Econometrics: A Modern Approach
Seventh Edition. Cengage Learning.

2026-03-06

準備

必要なパッケージの読み込み

library(wooldridge)
library(lmtest)

9-1 関数形式の誤設定 (Functional Form Misspecification)

定式化の誤りとは

RESET検定 (Ramsey RESET Test)

RESET検定の例 (hprice1)

data(hprice1)
res <- lm(price ~ lotsize + sqrft + bdrms, data = hprice1)

# lmtestパッケージのresettestを使用
resettest(res, power = 2:3, type = "fitted")
## 
##  RESET test
## 
## data:  res
## RESET = 4.6682, df1 = 2, df2 = 82, p-value = 0.01202

9-2 観測不可能な変数の代用 (Proxy Variables)

代理変数 (Proxy Variables)

9-3 ランダム傾きモデル (Models with Random Slopes)

ランダム傾きモデルの考え方

OLSで平均効果を推定できる条件

9-4 測定誤差 (Measurement Error)

従属変数の測定誤差

独立変数の測定誤差

9-5 欠損データと非ランダム標本

データの欠損

外れ値 (Outliers)

まとめ