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: Ang: Re: st: calibrated weights
From
Steve Samuels <[email protected]>
To
[email protected]
Subject
Re: Ang: Re: st: calibrated weights
Date
Thu, 25 Oct 2012 20:33:52 -0400
Tomas:
Sorry, I misunderstood your question. Never having used -calibest-, I assumed that what you wanted to do is create the weights.
Steve
On Oct 25, 2012, at 7:12 AM, Tomas Lind wrote:
I have downloaded -calibest- from SSC. There is also a companion ado-file -calibrate- (on SSC) that creates the calibrated weights. In my case I have got a dataset with calibrated weights.
I have tried egen with the group() extension but in that case all new subgroups (agegroup by sex) sum to 100%. I want to know the proportion of women in each agegroup (for example).
/Tomas
[email protected] skrev: -----
Till: [email protected]
Från: Steve Samuels
Sänt av: [email protected]
Datum: 2012-10-25 00:05
Ärende: Re: st: calibrated weights
Tomas Lind:
Please give a link/source to the unofficial command -caibest- as the FAQ request.
To answer your question: create a combination variable that has age-gender categories.
You can use -egen- with the group() extention or -groups-, by Nick Cox, available
from SSC, which will save a data set with the combinations.
Steve
On Oct 24, 2012, at 7:34 AM, Tomas Lind wrote:
Hi Statalist
Question about how to analyze survey data with calibrated weights.
There is an ado-file calibest that makes it possible to analyze survey data with calibrated weights (ref below). However, it seems impossibly to use calibest to calculate mean values and proportions for men and women _subdivided_ on agegroups (for example). Like you usually do using -over()- or -by- options.
Is there a way around this problem?
Yours
Tomas Lind
I´m using Stata 11 on a PC.
Reference
Deville, J.-C., and C.-E. Särndal. 1992. Calibration estimators in survey
sampling. Journal of the American Statistical Association 87:
376-382.
*
* 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/
*
* 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/
*
* 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/
*
* 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/