Inadequate visits (< 4 visits) = 0

Adequate visits ( 4 and more visits) =1

against women sociodemographic characteristics such as with Age, Educational status, working status ... etc applying Logistic regression using STATA version 15. But the output gave me error message as 'weights not allowed'. For instance, I used the following command to weight the data: xtmelogit FANC MABC [iweight = wgt]; here, FANC is the dependent variable that stands for Frequency of ANC (Antenatal Care) Service and MABC stands for Mothers age in categoery.

My question is, is it possible to analysis models like Logistic regression by weighting the DHS data or not? If yes, would you give me a direction to walk, please?

]]>

When you get that message, it means that the current version of the estimation command does not allow weights. You then have only two options. One is to proceed without weights, in which case your estimates will be biased toward the over-sampled strata in the survey. The other option is to use a less advanced model. For example, try using just logit, or melogit, with svy. Logit will certainly work and I think melogit will work. I would take the second option, because I think the bias from ignoring the weights is more serious than the fine tuning of the standard errors, which is the main role of the more advanced models. But not everyone would agree. You have to decide--but it's one or the other.

In the history of statistical software, many procedures that now include weights and the other svy adjustments first appeared in versions that did not initially include them. Who knows, maybe Stata 16 will allow weights for this command.

]]>