Re: problem with calculating the Alkire Foster multidimensional poverty index [message #14629 is a reply to message #14596] |
Mon, 23 April 2018 20:45 |
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
|
|
|