Hi
I have a dataset with data for individual firms from different countries.
I would like to weight the data within countries by firm turnover and
across countries by GDP.  I can do this for the average by first collapsing
the data within countries with the turnover weight then over countries with
the GDP weight. ie -
collapse var gdpweight [aw=turnoverweight],by(country)
collapse var[aw=gdpweight]
However, I also need the weighted variance, and perform some
regressions/logits.  Is there a way to create a single weight variable?
Thanks in advance.
Mathew
*
*   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/