以下は図18.10 で hierarchical diagram for multiple linear regression, with shrinkage prior across the slope coefficients 。
左の図18.4「複数 Predictors の実装例」との違いは、回帰式係数 βj の推定方法のみ。
with shrinkage prior がポイント(参照:階層型モデル:Therapeutic Touch を検証)。
Model Prob:モデル確率
以下は式 18.6
μi = β0 + Σj σj βj xi,j
predictors が 4 つの場合ユニークなモデルの数は 24 = 16 。そして predictor の事前確率が 0.5 とすると、各モデルの事前確率は 0.54 = 0.0625 。事前確率の単純な設定方法として an independent Bernoulli prior を用いる。ここで σj ~ dbern(0.5) とは、「全 16 個のモデルが平等にあり得る」と仮定したもの。
SATスコアのデータを用いて、predictors は Spend と PrcntTake の 2 つで「Model Prob」を推定する。各モデルの事前確率は 0.52 = 0.25 。以下の図18.13 が推定結果。
ここにない他の 2 モデル(Spend だけ、Intercept だけ)の Model Prob は 0 。それは、上図の Model Prob の合計が 0.684 + 0.316 = 1.00 からも判断できる。
上段モデルの約 70% の Model Prob とは
the number of times that the MCMC chain had <σ1, σ2> = <1,1> divided by the total number of steps in the chainよって、下段の約 30% の Model Prob のモデルより上段の方が「2 倍あり得るモデル」ということ。
注意すべきは
Notice that the parameter estimates are different for different models. For example, the estimate of the intercept is quite different for different included predictors.
つまり、「パラメーター推定ではない」こと。それは、上記二つのモデルで、Intercept の推定値が違いすぎることからも分かる。
参照:"10.6 Extreme sensitivity to prior distribution"、「モデル比較:モデル比較の注意点」



0 件のコメント:
コメントを投稿