Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pie charts after margins in cmclogit postestimation

    I am doing a multinomial logit estimation, using cmclogit in version 16. I then look at the predicted probabilities for different levels of factor variables. For example
    Code:
    use data, clear
    
    cmset cid alts
    cmclogit choice income, casevars(i.race i.gender)
    margins race
    Clearly the predicted values are the probabilities of selecting each option for each of the categories in race. My question is, is there any way to get the pie charts for each category of race after this estimation? marginsplot presents the lines with the dots. I haven't tried recast() because I'm not sure it would work.

    Advice please?
    Alfonso Sanchez-Penalver
Working...
X