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: 3214
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: weighting data
Next Topic: Cluster level weights for NHFS-5 India
Goto Forum:
  


Current Time: Thu Dec 26 17:37:20 Coordinated Universal Time 2024