The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Geographic Data » Random effects_to account for districts in Ghana (How to account for differences across districts in a regression when there are 136 districts)
Random effects_to account for districts in Ghana [message #26319] Tue, 07 March 2023 13:37
Jenna is currently offline  Jenna
Messages: 6
Registered: September 2021
Member
Hello, I am using the IR 2014 file for Ghana (which I merged with the geographical dataset). I need to account for differences across districts in the regression analysis. So far, I have been using i.districts. However, in the case of Ghana there are 136 districts. So, when I use i.districts the output table only shows results for 60 districts. Could you please let me know what I am doing wrong, and what code I should use instead to get results for all the districts? Below is the equation: name_22 stands for districts. Thank you for your help.

svy: regress decidesonhealthcare i.hubdistDummy i.production i.hubdistDummy#i.production agediff i.neweduc i.neweduchusb v218 i.urban i.name_22
 
Read Message
Previous Topic: Opening and using GPS-Data
Next Topic: South Africa 2016 Geographic Datasets
Goto Forum:
  


Current Time: Mon Nov 25 13:07:15 Coordinated Universal Time 2024