Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: margins


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: margins
Date   Sun, 10 Mar 2013 20:16:58 -0500

On Sun, Mar 10, 2013 at 5:52 AM, Chiara Mussida <cmussida@gmail.com> wrote:
> I estimated mlogit model as follows:
>
> xi: mlogit utr male_north male_centre male_south fem_north fem_centre
> age2 age3 age4 italian famsize primary diploma durric gdp_growth
> i.year if age>=15 & age<=55, b(3)

Why are you using -xi- ?  See -fvvarlist-

Perhaps you want something like this:

webuse sysdsn1,clear
qui mlogit insure c.age male nonwhite i.site, b(3)
qui margins, at(age=(10(10)100)) over(male site)
marginsplot, xdim(age) plotdimension(male)

Scott
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index