[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: error message in survwgt rake

From   Steven Samuels <>
To   Shawn DuBravac <>,
Subject   st: Re: error message in survwgt rake
Date   Tue, 29 Jul 2008 10:10:15 -0500

Shawn, Please send future communications to Statalist. Questions like yours may be of interest to others--and others may provide better answers than I can.

In the file "survwgt.ado" there is a "MAXRep(int XXXXX)" setting, where "XXXX" is an integer. You can try increasing the default value.

However in my experience, raking fails to converge when when there are too many adjustment cells, when the sample or population numbers in some cells are small, or when different margins are inconsistent. As an example of inconsistency: an age-gender margin and an age-race margin yield different counts for the age-only dimension. See the reference: raking_survey_data_2_JOS.pdf.


On Jul 26, 2008, at 12:13 AM, Shawn DuBravac wrote:


I read your solution here: 2007-08/msg00387.html

But I’m getting the error, “Warning: variable old_wt reached maximum iterations before convergence.”

Any thoughts?



*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index