Dear all my question is related to
.
I ran a simple logit regression:
where employ is a binary variable for being employed, and i.birth is a categorical variable covering regions of birth (AMERICA, ASIA, EUROPE, etc.) with the home country set as the base. The variable id represents specific countries (at, be, de, uk, etc.).
When I run coefplot:
I get this graph:

I would like to reshape this graph so that id (lu, cy, be, etc.) is on the y-axis and the coefficients for i.birth (AFRICA, ASIA…) are shown in this row (spreaded across x-axis).
I read forums related to coefplot but did not find a similar case.
This example is also not covered in the help documentation for coefplot.
Could someone please suggest a solution?
Code:
coefplot
I ran a simple logit regression:
Code:
logit employ i.birth if id == "lu", or baselevels nolog eststo lu logit employ i.birth if id == "cy", or baselevels nolog eststo cy * etc...
When I run coefplot:
Code:
coefplot lu cy be, label drop(_cons) eform xline(1)
I would like to reshape this graph so that id (lu, cy, be, etc.) is on the y-axis and the coefficients for i.birth (AFRICA, ASIA…) are shown in this row (spreaded across x-axis).
I read forums related to coefplot but did not find a similar case.
This example is also not covered in the help documentation for coefplot.
Could someone please suggest a solution?
Comment