Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Fw: st: Calculating the e^b using listcoef


From   adiallo5@worldbank.org
To   statalist@hsphsun2.harvard.edu
Subject   Fw: st: Calculating the e^b using listcoef
Date   Wed, 7 Sep 2005 10:43:18 -0400

----- Forwarded by Amadou Bassirou Diallo/Person/World Bank on 09/07/2005 10:41
AM -----
                                                                                                                                       
                      Amadou Bassirou                                                                                                  
                      Diallo                   To:       statalist@hsphsun2.harvard.edu                                                
                                               cc:                                                                                     
                      09/04/2005 09:46         Subject:  Re: st: Calculating the e^b using listcoef                                    
                      PM                                                                                                               
                                                                                                                                       
                                                                                                                                       
                                                                                                                                       




Mosi,

which listcoef
ssc inst adotype, replace
adotype listcoef

If you want to see listcoef in
action:
se tr on
logit ....
listcoef

HTHs.

Amadou.


-----owner-statalist@hsphsun2.harvard.edu wrote: -----

To: "Statalist@HARVARD.EDU" <statalist@hsphsun2.harvard.edu>
From: "Mosi A. Ifatunji" <mifatunji@yahoo.com>
Sent by: owner-statalist@hsphsun2.harvard.edu
Date: 09/04/2005 05:40PM
Subject: Re: st: Calculating the e^b using listcoef


Thanks Nick,

How do I look at the code for listcoef?

M.


On 9/4/05 10:51 AM, "Nick Cox" <n.j.cox@durham.ac.uk> wrote:

> Two points:
>
> 1. In extreme cases, you can always look
> at the code. The formula used by -listcoef-
> to calculate e^b appears to be e^b.
>
> 2. The question is confused by not
> distinguishing between levels here. -listcoef-
> is a user-written command; Stata just works on
> what -listcoef- tells it to.
>
> Nick
> n.j.cox@durham.ac.uk
>
> Mosi A. Ifatunji
>
>> My question is not so much, "How do
>> I get Stata to
>> produce an e^b?" but more like "What formula does Stata use
>> to produce the
>> e^b?" Here is the scenario that produced the question:
>>
>> In checking the e^b with by hand calculations (FYI: my hand
>> calculation are
>> based on a text book and while some e^bs were very close to
>> being the same,
>> some were not), I found that the results were different when
>> I calculated by
>> hand and with Stata. So the question is, what formula does Stata use?
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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