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 previous message
lynn.alghazzi@gmail.com is currently offline  lynn.alghazzi@gmail.com
Messages: 8
Registered: July 2018
Member
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
 
Read Message
Read Message
Previous Topic: SHDIST Variable for Ghana
Next Topic: % of children who were dropouts
Goto Forum:
  


Current Time: Fri Apr 26 20:03:49 Coordinated Universal Time 2024