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

Re: st: Logistic using aweigths


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.

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
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!



-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

*
* 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