Help using Base SAS procedures

PROC MDC TYPE=mxl Need individual beta estimates

Reply
New Contributor
Posts: 4

PROC MDC TYPE=mxl Need individual beta estimates

I have estimated a mixed logit using the code below.  It seems output=xbeta only provides the sum on the all estimated xb values for each observation.  I need access to each estimated beta for each observation. 

 

 

proc mdc data=one outest=Mix.eParm; id rep_id;

model choice = Price attri attr2 attr3 / type=mxl choice=(ChoiceN)

mixed=(normalparm=Price attr1 attr2);

output out=Mix.Pred p=prob xbeta=xb;

 

Example:

obs1   b_price b_attr1 b_attr2

obs2   b_price b_attr1 b_attr2

etc...

Ask a Question
Discussion stats
  • 0 replies
  • 235 views
  • 0 likes
  • 1 in conversation