The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » loop regression
loop regression [message #15537] Wed, 08 August 2018 16:35 Go to next message is currently offline
Messages: 8
Registered: July 2018
Hello! I have an appended dataset that contains 10 countries that have the domestic violence module. In order to study the determinants of seeking help, i need to run a regression with seeking help as the dependant variable and some explanatory variables. However i have to do that for each of the countries. I know that i can use loop to do it once for all the countries but i can't figure out how and i am a beginner in Stata. Can you please show me the exact commands i need. (variable for countries is v000 , includes countries like C05 CO6 IA5 IA6 ZM6 PE6)

Thank you
Re: loop regression [message #15538 is a reply to message #15537] Wed, 08 August 2018 16:41 Go to previous message
Messages: 1392
Registered: February 2013
Senior Member
Dear User,
For Stata help, please visit:
Thank you!
Previous Topic: SHDIST Variable for Ghana
Next Topic: % of children who were dropouts
Goto Forum:

Current Time: Fri Mar 22 07:18:34 Eastern Daylight Time 2019