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

Re: st: Probabilities after logit?

From   "E. Paul Wileyto" <>
Subject   Re: st: Probabilities after logit?
Date   Mon, 01 Jun 2009 09:12:10 -0400

Probabilities are calculated here given predictor values, and generating probabilities subject by subject is what makes sense. What you are suggesting is only going to work well in very simple cases.

It won't work at all for continuous predictors If all of your predictors are binary, categorical, or ordinal, I'd still use predict, and then collapse across your predictor categories. If you have 1 or 2 binary predictors, you could use nlcom, inserting predictor values into the equations.


Kanter, Rebecca wrote:

I would like to get the logit output in stata in a form of "probabilities" (via transforming the log odds through the formula e^x / (1 + e^x)). Does anyone know if there is a command(s) to do this? (I know you can get the "predicted" line in the probability format, but am looking here, to be able to see the coefficients in the form of probabilities).


Rebecca M. Kanter
PhD Candidate
Johns Hopkins Bloomberg School of Public Health
Department of International Health
Center for Human Nutrition

*   For searches and help try:

E. Paul Wileyto, Ph.D.
Assistant Professor of Biostatistics
Tobacco Use Research Center
School of Medicine, U. of Pennsylvania
3535 Market Street, Suite 4100
Philadelphia, PA  19104-3309

Fax: 215-746-7140
*   For searches and help try:

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