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

Re: st: weighted regression


From   Ernest Berkhout <[email protected]>
To   [email protected], [email protected]
Subject   Re: st: weighted regression
Date   Wed, 14 Jan 2004 11:28:56 +0100

At 01:00 14-1-2004, [email protected] wrote:
Dear List,

so this is an interesting case: having the choice using either iweights or
pweights.

May I ask, what is the difference? How does it affect the estimation
results?
When doing regressions, I always use aweights. I'm a bit ignorant about pweights but my guess is that they give the same results. However iweights are very different! When you use iweights (or fweights) in your regression, you sort of 'blow up' your dataset. That is, you realy *multiply* each observation with the number in your weight-variable. So if you have 100 observations, and the average of your weight-variable is, say, 11.5, then Stata will run a regression on 1150 observations. If, as in most cases, the weights are used to correct for over/undersampling, this is incorrect. As a result your standard errors will be far too small and significance test wil bee invalid (unless you really have 1150 cases in your sample, but then you don't need iweights).

When you use pweights or aweights however, the total sum of your weights is rescaled to match the total number of observations. The only effect of the weight-variable is to change the relative importance between the observations. This is the correct procedure in most cases.

It might be best to take a look at the Users Manual where this topic is adressed in more detail, to learn everything about the different weighting procedures.


Ernest Berkhout
SEO Amsterdam Economics
University of Amsterdam

Room 3.08
Roetersstraat 29
1018 WB Amsterdam
The Netherlands

tel.:+ 31 20 525 1657
fax:+ 31 20 525 1686
http://www.seo.nl
===========================
A statistician: someone who insists
on being certain about uncertainty
===========================

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