Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Exponentiating bootstrapped coefficients?


From   "Polis, Chelsea B." <cpolis@jhsph.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Exponentiating bootstrapped coefficients?
Date   Wed, 3 Sep 2008 13:23:18 -0400

Using -logit- did work!  Many thanks to all of you for the excellent help (and to Marcello Pagano for helping me with posting difficulties)!


Best regards,
Chelsea

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: Wednesday, September 03, 2008 10:53 AM
To: statalist@hsphsun2.harvard.edu
Subject: RE: st: RE: Exponentiating bootstrapped coefficients?

To join up the dots, what I tried before making my recommendation was
-logit- and surmised that -logistic- would be OK too. That was wrong.
Thanks to Maarten for the clarification.

Nick
n.j.cox@durham.ac.uk

Maarten buis

--- "Polis, Chelsea B." <cpolis@jhsph.edu> wrote:
> Many thanks for this suggestion, Nick.  Unfortunately, Stata is still
> saying that "option eform not allowed".  My results are pasted below.

I can reproduce the problem and it looks like a bug to me. However it
is very easy to work around it till someone from StataCorp either tells
us that it isn't a bug but that we are doing something dumb or that
they will fix it: Use -logit- instead of -logistic-. See the example
below:

*---------------- begin example ---------------
sysuse auto, clear
recode rep78 1/2=3

// Works:
xi: bootstrap _b, eform reps(100) dots: ///
    logit foreign i.rep78 price

// Does not work:
xi: bootstrap _b, eform reps(100) dots: ///
    logistic foreign i.rep78 price
*------------------ end example ---------------
(For more on how to use examples I sent to the Statalist, see
http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.html )


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index