Dear statalisters,
I have a population of company's. I want a sample from this population,
but the probability of a company to be sampled has to be equivalent with
the number of employees (let's call this "size").
So I thought i could
-sample 10 [fweight=size]
To get a 10 percent sample. But -sample- doesn't accept weights. A
solution might be to expand the dataset with size, but then a company
can get sampled several times if it has more than one employee, and I
don't want that to happen. I think there must be a very simple solution,
but I haven't been able to find it.
Any help would be much appreciated.
Willard
*
* 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/