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

Re: st: Logistic using aweigths

From   Richard Williams <>
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: Richard.A.Williams.5@ND.Edu
WWW (personal):
WWW (department):

* For searches and help try:

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