Hello,
This is fairly simple question, but one I have not been able to find an answer to (although I have found a few unanswered threads). This is also my first time posting, so I apologize if I don't get this completely right (i have read the FAQs!).
I am running multinomial logits, and would like to include in my regression output a column for coefficients and a column for the marginal effects next to it. While I have no problem running the regression or calculating the marginal effects, the -margins- output will only report horizontally for each outcome. I have to manually drag the marginal effects for each outcome to match where the coefficients are in the column.
To help illustrate, my code:
What I get from this is a table with 4 columns, instead of a table with 2 columns (I would love marg3a, marg3b and marg3c to stack on top of each other in one column, corresponding to their relevant outcome from m3.
I have read everything that I can find, but nothing enables me to report them in one column. I can get the rrr reported in one column, and ultimately it would be great to have the coefficient, rrr, and margin listed together. Finally, I can see how this is done for logits or probits, but once there are multiple outcomes I don't see how I can get this to stack. Any help is much appreciated!
This is fairly simple question, but one I have not been able to find an answer to (although I have found a few unanswered threads). This is also my first time posting, so I apologize if I don't get this completely right (i have read the FAQs!).
I am running multinomial logits, and would like to include in my regression output a column for coefficients and a column for the marginal effects next to it. While I have no problem running the regression or calculating the marginal effects, the -margins- output will only report horizontally for each outcome. I have to manually drag the marginal effects for each outcome to match where the coefficients are in the column.
To help illustrate, my code:
Code:
mlogit zero2_end_cat_0015 di pi, base(1) estimates store m3, title("1900-1915") estpost margins, dydx(*) predict(outcome(1)) /* marginal effects - outcome 1 */ estimates store marg3a, title(1) mlogit zero2_end_cat_0015 di pi, base(1) estpost margins, dydx(*) predict(outcome(3)) /* marginal effects - increasing to 100% */ estimates store marg3b, title(3) mlogit zero2_end_cat_0015 di pi, base(1) estpost margins, dydx(*) predict(outcome(5)) /* marginal effects - partial increase */ estimates store marg3c, title(5) esttab m3 marg3a marg3b marg3c using marginals1cq.csv, label se replace
I have read everything that I can find, but nothing enables me to report them in one column. I can get the rrr reported in one column, and ultimately it would be great to have the coefficient, rrr, and margin listed together. Finally, I can see how this is done for logits or probits, but once there are multiple outcomes I don't see how I can get this to stack. Any help is much appreciated!
Comment