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

st: weigths


From   "Antonio Rodrigues Andres" <[email protected]>
To   <[email protected]>
Subject   st: weigths
Date   Tue, 03 Aug 2004 10:41:05 +0200

My
 dependent variable is the mortality rate. Since the variance of
ln(d/p)
 is inversely proportional to p (population), this implies 
heteroskedasticity. To correct for it, observations should be weighted 
by the square root of the denominator of the mortality rate, i.e.,
 population. In Stata,   i am using
 
 xi: regress y x1 x2 i.country i.year [w=1/pop], 
 Is that correct? I might also use the robust option
 I would appreciate any answers
> Antonio

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