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

From |
Richard Williams <Richard.A.Williams.5@ND.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: Return results only from observations used in estimated model |

Date |
Sun, 04 Oct 2009 15:23:12 -0400 |

At 03:17 PM 10/4/2009, John Antonakis wrote:

Hi: Suppose I run a model using logistic on a data set with 150 observations: logistic y x z q r Now, suppose that because of listwise, the number of observations in the logistic model are 120. How would I table the results (using say only variable x and z) based ONLY on the data from the logistic model (i.e., the listwise sample) and not the whole sample ? Thanks in advance, John.

One approach: logistic y x z q r logistic y x z if e(sample) Or, check out nestreg, e.g. nestreg, lr: logistic y (x z) (q r) ------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * 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/

**References**:**st: Return results only from observations used in estimated model***From:*John Antonakis <john.antonakis@unil.ch>

- Prev by Date:
**Re: st: Ai and Norton** - Next by Date:
**Re: st: create new variable from imputed variable; -ice-** - Previous by thread:
**AW: st: AW: Return results only from observations used in estimated model** - Next by thread:
**st: Formatting tables with estpost & esttab** - Index(es):

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