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

st: Pearson's X2 for binomial logistic regression models

From   Maurizio Pisati <[email protected]>
To   [email protected]
Subject   st: Pearson's X2 for binomial logistic regression models
Date   Mon, 22 Jul 2002 14:31:50 +0200

Dear Statalisters,
suppose I want to compute Pearson's X2 after a binomial logistic regression model. Stata offers me two ways to do it:

1) glm y x1 x2 x3, family(binomial)

2) logit y x1 x2 x3

Sometimes - i.e., when the number of covariate patterns M equals the number of observations N - the two measures are the same, but other times - i.e., when M<N - the two measures differ. In the latter case, should I rely on the Pearson's X2 computed by -glm- or on the one computed by -lfit-?
Thank you for any help and best regards,
Maurizio Pisati

Maurizio Pisati
Associate Professor
Department of Sociology and Social Research
University of Milano Bicocca
Edificio U7
Via Bicocca degli Arcimboldi, 9
20126 Milano MI
Tel: +39-02-64487533
Fax: +39-02-64487561
E-mail: [email protected]

* For searches and help try:

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