The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » problem with calculating the Alkire Foster multidimensional poverty index
Re: problem with calculating the Alkire Foster multidimensional poverty index [message #14629 is a reply to message #14596] Mon, 23 April 2018 20:45 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3203
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

We can't help you with the calculation of something outside of what we normally include in our reports. However, I think your question is not about this poverty index, as such, but about your Stata code. Specifically, you have a loop to construct some "wg0_*" variables but they do not come up in a "summarize wg0_*" command. Apparently the variables are not actually being constructed, either because your local varlist_pov is empty or because something is happening with quotation marks (`' or ""). I would put something inside the "foreacn..."loop, such as a summarize statement, to see what's happening within the loop. There's always a fair amount of trial and error in writing Stata programs, at least for me. Good luck

 
Read Message
Read Message
Previous Topic: Women's decision making power
Next Topic: Hypertension in Nepal
Goto Forum:
  


Current Time: Wed Dec 4 12:45:47 Coordinated Universal Time 2024