Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: marginal effects after cmp mprobit
From
Sarit Weisburd <[email protected]>
To
[email protected]
Subject
Re: st: marginal effects after cmp mprobit
Date
Wed, 27 Jun 2012 21:14:44 +0300
I figured out a solution - using "force" - but would be happy to hear
other suggestions.
margins, dydx(*) force predict(equation(_outcome_1_2 )) atmean noatlegend
Sarit
On Wed, Jun 27, 2012 at 12:59 PM, Sarit Weisburd
<[email protected]> wrote:
> Hello statalist,
>
> I have been using cmp to estimate a multinomial probit with an
> instrument. While the output includes coefficients for _outcome_1_2
> and _outcome_1_3. I cannot figure out how to compute marginal effects.
> I have tried mfx, mfx2 and margins - but they all result in errors
>
> This is the cmp command:
> cmp (o_accident = c_insurance car_value01 engine year /*
> */ owner_sex distance bagrut avg_inc year_0* d_N* d_S* /*
> */ policy_length mean_* daccident1) (c_insurance=company), /*
> */ ind($cmp_mprobit $cmp_cont) nolr cluster(client_num) tech(dfp nr)
>
> These are Stat's responses to my attempt at postestimation:
> mfx2 - "there is only one outcome in o_accidents"
> margins / mfx, predict(pr outcome(1)) nonlinear - "Equation #1 is not
> ordered probit. outcome() is not allowed".
>
> I would be happy to hear any suggestions,
> Sarit
>
> --
> Sarit Weisburd
>
> Doctoral Candidate
> Department of Economics
> Hebrew University
> Mount Scopus Campus
> Jerusalem 91905, Israel
> [email protected]
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/