怎样用stata做嵌套logit模型
答案:2 悬赏:30 手机版
解决时间 2021-02-20 14:00
- 提问者网友:暮烟疏雨之际
- 2021-02-20 08:18
怎样用stata做嵌套logit模型
最佳答案
- 五星知识达人网友:低血压的长颈鹿
- 2021-02-20 09:01
命令格式:
nlogit depvar [indepvars] [if] [in] [weight] [|| lev1_equation [|| lev2_equation ...]] || altvar: [byaltvarlist], case(varname) [nlogit_options]
例:
webuse restaurant
nlogitgen type = restaurant(fast: Freebirds | MamasPizza, family: CafeEccell | LosNortenos | WingsNmore, fancy: Christophers | MadCows)
nlogittree restaurant type, choice(chosen) case(family_id)
logit chosen cost distance rating || type: income kids, base(family) || restaurant:, noconst case(family_id)
nlogit depvar [indepvars] [if] [in] [weight] [|| lev1_equation [|| lev2_equation ...]] || altvar: [byaltvarlist], case(varname) [nlogit_options]
例:
webuse restaurant
nlogitgen type = restaurant(fast: Freebirds | MamasPizza, family: CafeEccell | LosNortenos | WingsNmore, fancy: Christophers | MadCows)
nlogittree restaurant type, choice(chosen) case(family_id)
logit chosen cost distance rating || type: income kids, base(family) || restaurant:, noconst case(family_id)
全部回答
- 1楼网友:蓝房子
- 2021-02-20 09:36
logit模型以极大似然法估计出参数及其标准差
这两个估计量之比并不服从t分布。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯