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]
Re: st: R: Estimating the number of workers in each industry in each district - flag: Stata 9/2 SE
From
Steve Samuels <[email protected]>
To
[email protected]
Subject
Re: st: R: Estimating the number of workers in each industry in each district - flag: Stata 9/2 SE
Date
Wed, 15 Sep 2010 10:16:35 -0400
Arka-
I can't answer without more information about the sampling design.
Please describe the design in detail, including answers to the
following questin..
1. Were all districts in the target population included in the sample?
Or, were districts sampled?
2. Are the final sampling weights the probability sampling weights? Or
was there adjustment to the probabilithy weights (post-stratification,
"raking") so that the sample results will better reflect population
census proportions? If the weights are so adjusted, are the original
sampling weights available to you?
Steve
Steven J. Samuels
[email protected]
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax: 206-202-4783
On Wed, Sep 15, 2010 at 4:07 AM, Carlo Lazzaro <[email protected]> wrote:
> Arka wrote:
> "Now I want to estimate the number of workers
> belonging to each industry in a particular district"
>
> A quite trivial example about Arka's issue may be the following one (set
> aside survey technicalities):
>
> ---------------------code begins------------------------------------
> drop _all
> set obs 100
> g Workers=_n
> g District="East" in 1/50
> replace District="West" in 51/100
> g Industry="Concrete" in 1/30
> replace Industry="Steel" in 31/100
> g A= 1 if District=="East" & Industry=="Steel"
> g B= 1 if District=="West" & Industry=="Steel"
> g C= 1 if District=="East" & Industry=="Concrete"
> ---------------------code ends------------------------------------
>
> HTH and Kind Regards,
> Carlo
> -----Messaggio originale-----
> Da: [email protected]
> [mailto:[email protected]] Per conto di Arka Roy
> Chaudhuri
> Inviato: mercoledì 15 settembre 2010 9.24
> A: [email protected]
> Oggetto: st: Estimating the number of workers in each industry in each
> district
>
> Dear All,
> I have a data set which has information at the individual
> level.I have variables which record the district of residence of the
> individual, the industry of employment of the individual and other
> demographic characterstics.The data set also comes with weights which
> represents the probability that a particular household is included in
> the sample.Thus all individuals belonging to a particular household
> get the same weight.Now I want to estimate the number of workers
> belonging to each industry in a particular district.Could anyone
> please advice on the correct stata code that I should write to get my
> desired estimates?Also I would be grateful if somebody could advice me
> on the possible biases that might affect my estimates at the
> industry-district level.I would really appreciate any help in this
> regard.Thanks
>
> Regards,
> Arka
> --
> Arka Roy Chaudhuri
> PhD Student
> University of British Columbia
> 997-1873 East Mall
> Vancouver
> Canada
> Ph: +1 (604) 349-8283
> Email: [email protected]
>
> *
> * 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/
>
>
> *
> * 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/
>
*
* 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/