Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Weighted Tables


From   David Lublin <dlublin@american.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Weighted Tables
Date   Thu, 23 Feb 2006 15:49:47 -0500

Does this just mean that I could also just do

. tab prtvtch lnghoma [aw=dweight]

and I would get the same results as if pweight were allowed with tables?

Thanks also for your suggestions of add-ons--saves me the trouble of 
calculating percentages!

David




"Austin Nichols" <austinnichols@gmail.com> 
Sent by: owner-statalist@hsphsun2.harvard.edu
02/23/2006 12:15 PM
Please respond to
statalist@hsphsun2.harvard.edu


To
statalist@hsphsun2.harvard.edu
cc

Subject
Re: st: Weighted Tables






After reading -help svy-, also try

 . tab prtvtch lnghoma [aw=dweight], row col nofr

since the point estimates are identical using aweights or pweights
(only the standard errors change, as [pw]=[aw]+_robust, roughly), and
the -svy- commands can be much slower in big datasets.

On 2/23/06, Richard Goldstein <richgold@ix.netcom.com> wrote:
> look at the -svytab- command
> Rich
>
> David Lublin wrote:
> I am using a dataset (the European Social Survey) where it is important 
to
> weight the data appropriately in order to get the correct results.
. tab prtvtch lnghoma [pw=dweight]
pweight not allowed
r(101);

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


*
*   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–2025 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index