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: sample selection (-sample) in stata
From
Shikha Sinha <[email protected]>
To
[email protected]
Subject
st: sample selection (-sample) in stata
Date
Tue, 28 Jun 2011 12:43:12 -0700
Dear all,
My question is about sample selection in stata. I want to select 100
companies loated in 10 cities from an universe of 800 comapnies. My
data structure is as below:
City company id Type (manufacturing)
1 1 1
1 2 0
1 3 1
2 4 0
2 5 1
2 6 0
..
.
.
.
.
.
so on.
I want to select a sample of 25 companies from these 100, using
probablity weights of slection i.e. Probability proportional to size.
Is there any comand in stata.
I have tried -sample but of no avail.
Please advise.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/