Statalist


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

Re: st: Estimating Odds Ratios (ORs) from logit coefficients


From   Chao Yawo <[email protected]>
To   [email protected]
Subject   Re: st: Estimating Odds Ratios (ORs) from logit coefficients
Date   Fri, 17 Apr 2009 13:12:51 -0400

thanks very much... I have used the estimates table command, but then
it gives me a huge matrix of the estimates.  Is there anyway  I can
display it with the variables on the left column and estimated values
in the right?

I will try to bring it into Excel and play with it..

thanks again - CY
------------------------------------------------------------------



On Fri, Apr 17, 2009 at 12:01 PM, Maarten buis <[email protected]> wrote:
>
> --- On Fri, 17/4/09, Chao Yawo wrote:
>> I have used  Gary King's Relogit to estimate several
>> logit models, but I want to be able to report the ORs.
>> Instead of manually calculating each separate odds ratio,
>> is there a command that I can give after each model to
>> report the odds ratios?
>
> You can use the -estimates table- command in combination
> with the -eform- option. This way you can also collect
> all the models in one table. See the example below:
>
> *------------- begin example ------------------
> sysuse auto, clear
> sum price
> local mprice = r(mean)
>
> relogit foreign mpg if price <= `mprice'
> est store cheap
> relogit foreign mpg if price > `mprice'
> est store expensive
> estimates table cheap expensive , eform b se
> *-------------- end example -------------------
>
> Hope this helps,
> Maarten
>
> -----------------------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
>
>
>
>
> *
> *   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index