SAS中文论坛

 找回密码
 立即注册

扫一扫,访问微社区

查看: 654|回复: 0
打印 上一主题 下一主题

Help:estimated Mixed Logit model with PROC GLIMMIX or PROC M

[复制链接]

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
楼主
 楼主| 发表于 2009-7-10 12:16:21 | 只看该作者

Help:estimated Mixed Logit model with PROC GLIMMIX or PROC M

I am trying to estimate a mixed logit model to understand taste variation among the people. In my sample, there are 5000 people as decision makers and each of them make repeated choices ranging from 1 to 300 times. So I end up having 160000 observations.

I tried to use PROC MDC first (code listed below), then this model takes 160000 observation at one time and I can't specify individual person as cluster.  
****************************************************

  proc mdc data=gdp.matlab_model_0610 type=mixedlogit;
      model response =
ini_dly_beta_trun
dly_sav_min2
freq
distance
rev
hub
mj_index
prm_airlines
marketfare
seat
/
               nchoice=2
               mixed=(normalparm=ini_dly_beta_trun  dly_sav_min2);
      id id;
   run;
**************************************

Then I tried PROC GLIMMIX, then it can't converge. Damn it....
******************************
proc glimmix INITGLM data=gdp.y7;
class cluster;
model response  =
ini_dly_beta_trun
dly_sav_min2
freq
distance
rev
hub
mj_index
prm_airlines
marketfare
seat  /   
dist=binary     link=logit
solution ;
random ini_dly_beta_trun
dly_sav_min2
/subject=cluster ;
;
run;
*******************************************
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SAS中文论坛  

GMT+8, 2026-2-5 17:59 , Processed in 0.068546 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表