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: Assign more weights to specific countries
From
Ruohong Cai <[email protected]>
To
[email protected]
Subject
st: Assign more weights to specific countries
Date
Mon, 14 Oct 2013 16:28:05 -0400
Dear all,
I am estimating a country-level fixed effects model. Now I want to assign
more weights to a country with larger population as a robustness checks of
my main results. Will the following command works?
inverse_population = 1/population
areg Y Xlist [aweight=inverse_population], absorb(id) vce(cluster id)
Thank you very much!
Ruohong
*
* 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/