The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Guidance Needed on Weighting for Pooled DHS Data in Logistic Regression
Re: Guidance Needed on Weighting for Pooled DHS Data in Logistic Regression [message #30333 is a reply to message #30332] Thu, 07 November 2024 13:17 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3230
Registered: February 2013
Senior Member

Following is a response from Senior DHS staff member, Tom Pullum:

This looks fine to me. But the statement " gen survey = "country name" " will not work for creating a string variable. You need something like " gen str30 survey = "country name" ". For example, " gen str30 survey = "Kenya" " . 30 characters will be enough for most country names.... Otherwise, looks good.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multilevel weights level 2
Next Topic: Multilevel weighting issue in Bangladesh DHS data
Goto Forum:
  


Current Time: Sun Jul 20 02:26:20 Coordinated Universal Time 2025