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

Re: st: RE: Re: Weighted number of observations


From   Richard Williams <Richard.A.Williams.5@nd.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Re: Weighted number of observations
Date   Tue, 03 Aug 2004 15:51:24 -0500

At 03:34 PM 8/3/2004 +0100, Nick Cox wrote:
This isn't a -tabstat- issue as such. -tabstat-
just passes the buck to -summarize-, which
behaves in the same way.

The issue is delicate, but hinges, I surmise,
on this distinction. When -summarize- (e.g.) _uses_
the sum of the weights, it rescales first.
As quoted, [U] 14.1.6 includes the expression
"when it uses them", which thus appears not
ornamental, but crucial.

When -summarize- _displays_ the sum of the
weights, it displays the unscaled sum.
Good point, although it still leaves open the question of why it behaves this way. A long-standing oversight or bug? Sound statistical practice? (If so, it wouldn't be the first time Stata has surprised me by not doing what I expected, and then having it turn out that Stata was right.) Should -tabstat- be modified so it doesn't just pass the buck to -summarize-?


-------------------------------------------
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): 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index