Finally, I want to see what percent of household months were in poverty each month.
Thanks in advance!
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input double ssuid int year str9 month byte poverty 19128000276 2008 "June" 1 19128000276 2008 "July" 1 19128000276 2008 "August" 1 19128000276 2008 "September" 1 19128000276 2008 "October" 1 19128000276 2008 "November" 1 19128000276 2008 "December" 1 19128000276 2009 "January" 1 19128000276 2009 "February" 1 19128000276 2009 "March" 1 19128000276 2009 "April" 1 19128000276 2009 "May" 1 19128000276 2009 "June" 1 19128000276 2009 "July" 1 19128000276 2009 "August" 1 19128000276 2009 "September" 1 19128000276 2009 "October" 1 19128000276 2009 "November" 1 19128000276 2009 "December" 1 19128000276 2010 "January" 1 19128000276 2010 "February" 1 19128000276 2010 "March" 1 19128000276 2010 "April" 1 19128000276 2010 "May" 1 19128000276 2010 "June" 1 19128000276 2010 "July" 1 19128000276 2010 "August" 1 19128000334 2010 "June" 0 19128000334 2010 "July" 0 19128000334 2010 "August" 0 19128000932 2008 "June" 0 19128000932 2008 "July" 0 19128000932 2008 "August" 0 19128000932 2008 "September" 0 19128000932 2008 "October" 0 19128000932 2008 "November" 0 19128000932 2008 "December" 0 19128000932 2009 "January" 0 19128000932 2009 "February" 0 19128000932 2009 "March" 0 19128000932 2009 "April" 0 19128000932 2009 "May" 0 19128000932 2009 "June" 0 19128000932 2009 "July" 0 19128000932 2009 "August" 0 19128000932 2009 "September" 0 19128000932 2009 "October" 0 19128000932 2009 "November" 0 19128000932 2009 "December" 0 19128000932 2010 "January" 0 19128000932 2010 "February" 0 19128000932 2010 "March" 0 19128000932 2010 "April" 0 19128000932 2010 "May" 0 19128038099 2010 "June" 0 19128038099 2010 "July" 0 19128038099 2010 "August" 0 19128038334 2008 "June" 0 19128038334 2008 "July" 0 19128038334 2008 "August" 0 19128038334 2008 "September" 0 19128038334 2009 "February" 0 19128038334 2009 "March" 0 19128038334 2009 "April" 0 19128038334 2009 "May" 0 19128038334 2009 "June" 0 19128038334 2009 "July" 0 19128038334 2009 "August" 0 19128038334 2009 "September" 0 19128038334 2009 "October" 0 19128038334 2009 "November" 0 19128038334 2009 "December" 0 19128038334 2010 "January" 0 19128038334 2010 "February" 0 19128038334 2010 "March" 0 19128038334 2010 "April" 0 19128038334 2010 "May" 0 19133451319 2008 "June" 0 19133451319 2008 "July" 0 19133451319 2008 "August" 0 19133451319 2008 "September" 0 19133451319 2008 "October" 0 19133451319 2008 "November" 0 19133451319 2008 "December" 0 19133451319 2009 "January" 0 19133451319 2009 "February" 0 19133451319 2009 "March" 0 19133451319 2009 "April" 0 19133451319 2009 "May" 0 19133451319 2009 "June" 0 19133451319 2009 "July" 0 19133451319 2009 "August" 0 19133451319 2009 "September" 0 19133451389 2009 "October" 0 19133451389 2009 "November" 0 19133451389 2009 "December" 0 19133451389 2010 "January" 0 19133451389 2010 "February" 0 19133451389 2010 "March" 0 19133451389 2010 "April" 0 end
0 Response to stata programming combining 2 variables
Post a Comment