Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ang: Re: st: calibrated weights

From   Tomas Lind <>
Subject   Ang: Re: st: calibrated weights
Date   Thu, 25 Oct 2012 13:12:58 +0200

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 skrev: ----- 
Från: Steve Samuels 
Sänt av:
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.


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?

Tomas Lind

I´m using Stata 11 on a PC.

Deville, J.-C., and C.-E. Särndal.  1992.  Calibration estimators in survey
       sampling.  Journal of the American Statistical Association 87:
*   For searches and help try:

*   For searches and help try:
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index