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

Re: st: Calculating the e^b using listcoef


From   "Mosi A. Ifatunji" <mifatunji@yahoo.com>
To   "Statalist@HARVARD.EDU" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Calculating the e^b using listcoef
Date   Sun, 04 Sep 2005 16:40:09 -0500

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/



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