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

Re: st: Standard Error in logit


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: Standard Error in logit
Date   Fri, 18 Feb 2005 11:44:45 +0000

At 22:01 17/02/2005, Svend Juul wrote:

Now that we are here: Does anybody have any idea why -logistic- and other -eform- outputs avoid displaying the baseline constant? I know that I can produce it by -lincom _cons-, but I often need it (dependent on study design), so it would be nice if it were - or at least could be - included.

See my Stata Tip on the -eform- option of -regress- (Newson, 2003), which applies equally to -logistic- and can be downloaded from my website from within Stata by typing

. net from http://www.kcl-phs.org.uk/rogernewson/papers/

The trick is to define a variable equal to 1 in all observations and then to include it in the X-variable list, using the -noconst- and -eform- options. A variant of this trick is to define multiple baseline odds for multiple groups, using the multiple variables generated by the -generate()- option of -tabulate- instead of a single variable equal to 1 in all observations.

I hope this helps.

Roger


Newson R. 2003. Stata tip 1: The eform() option of regress. The Stata Journal 3(4): 445.



--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/

Opinions expressed are those of the author, not the institution.

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