I am trying to export marginal effects output for mlogit into stata. the commands i used are as follows:
qui mlogit loan_source ib5.asset_class ib4.caste ib3.hh_type ib6.hh_head_educ i.year i.female_head i.irrigated_land ib21.state if rural == 1 & cultivator == 1 [pw = WEIGHT_SC], rrr cluster(Vill_Blk_) base(1)
margins, dydx(*) post
outreg2 using margins_AC.xls, cti("Loan Source for Farmers-By Asset-Class") label append
When i use the marginal effects command as given above, the result in excel is arranged in a wide format. ie all the variables that would normally appear in rows end up on the columns; so literally i have some 20 columns in the result output. Could someone advise how i can make them appear in the usual format, in the rows?
Related Posts with Exporting Mlogit Marginal Effects to Excel
Modify -summarize- to list only variable labelsHi Statlist I would like to ask if there is an alternative to -summarize- in which the variable lab…
How to T-Test means of the same variables at different points in time?Hello, I am looking to perform a t-test of the means of different variables between 2013-2014 and 2…
estimating lagged standard deviation of past three yearsI have a panel data setting. I want to create another variable i.e. the standard deviation of invest…
Trouble with date functionHey, this is my first post in here, I hope I can master this software and later on help others. So r…
Panel data format: varlist as IDsHello Statalisters, I have the following daily data shape: date day city_1_price_A ... city_70_pric…
Subscribe to:
Post Comments (Atom)
0 Response to Exporting Mlogit Marginal Effects to Excel
Post a Comment