From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: Logistic using aweigths |
Date | Thu, 11 Aug 2005 16:55:20 -0500 |
At 02:00 PM 8/11/2005 -0400, you wrote:
Better yet, run -logit- with the "or" option.Surprising but true. logistic.ado has syntax checks that prevent aweights but logit.ado does not. So which routine is mistaken - logit for allowing aweights or logistic for not? The documentation for aweights says "Typically, the observations represent averages and the weights are the number of elements that gave rise to the average." That wouldn't seem to apply to a logistic regression problem, would it? i.e. the DV is not the average number of successes. In any event, there must be a mistake somewhere!
The odd thing is, -logistic- calls -logit- to do the actual estimation, and the documentation for -logit- suggests that it does not accept aweights, although it does, in fact.
So it seems like either they both should, or neither should accept aweights.
--Nick Winter
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |