Probit 反應模型

在 R 中建立反應模型

Kathrin Gruber

Assistant Professor of Econometrics Erasmus University Rotterdam

Probit 反應函式

  • 購買機率視為潛在傾向
  • 以連續且不可觀測的反應變數做迴歸假設。

在 R 中建立反應模型

啤酒需求的 probit 模型

probit.model <- glm(HOPPINESS ~ price.ratio,
                    family = binomial(link = probit), data  = choice.data)

coef(probit.model)
(Intercept)  price.ratio 
  -1.954092    -3.547546
在 R 中建立反應模型

Logistic 與 probit 比較

cbind(coef(logistic.model), coef(probit.model))
                 [,1]      [,2]
(Intercept) -3.572678 -1.954092
price.ratio -6.738768 -3.547546

重新尺度化

coef(probit.model)*1.6
(Intercept)  price.ratio 
  -3.126547    -5.676073 
在 R 中建立反應模型

平均邊際效果

  • Logistic:可解釋的對數勝算
margins(logistic.model)
price.ratio
    -0.4585
  • Probit:z 值難以直觀解讀
margins(probit.model)
price.ratio
    -0.4503
在 R 中建立反應模型

一起來練習吧!

在 R 中建立反應模型

Preparing Video For Download...