Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Is pweight the right weight for me and how to specify my weight vector


From   Jesse Burkhardt <jesse.burkhardt@yale.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Is pweight the right weight for me and how to specify my weight vector
Date   Wed, 25 Dec 2013 23:06:25 -0800

Dear Members.
I have data with multiple observations per zip code.  I count the
number of observations per zip code and use that number as the
sampling weight. So I have a vector called weights, which is equal to
the number of observations per zip code. When I run a regression and
use the [pweight=weights] option, does stata invert each element of
the vector or am I supposed to do take the inverse manually?

Secondly, can someone provide some intuition for when I use pweight as
stated above?  Is the result a regression in which each zip code is
weighted equally?  The worry is that without this weight command, a
zip code with 10,000 observations will drive regression results more
than a zip code with 1 observation.  I'm wondering if using pweight
will down weight the zip code with 10,000 observations and upweight
zip codes with fewer observations. Is there a better weighting scheme
to use in this situation? Thanks for any advice.
Jesse
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index