The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Domestic Violence » How to control for the year of sample (How to model data structure)
Re: How to control for the year of sample [message #21924 is a reply to message #21914] Fri, 08 January 2021 04:52 Go to previous messageGo to previous message
olympiaca is currently offline  olympiaca
Messages: 9
Registered: January 2021
Member
Thank you so much for your response,

I have one more question. To use svyset the stratification seems to be different between 2017 and 2012/2007.

the Jordan 2017 DHS V023 is a combination of region and urban/rural residence and is numeric.
however, for 2012 and 2007 V023 is simply the region and is categorical (the name of the region).

In order to make the strata survey specific do I convert the 2012 and 2007 into numbers and use:

egen strata_survey = group(V021, V023)

Or do I need to create a new variable for 2017 where the strata are just regions and then control for urban rural later as a covariate?

Many thanks
Olympia

p.s I am using R not Stata so apologies if i got the stata code a bit wrong.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changes in the Domestic Violence Module
Next Topic: Matching the total for SADHS domestic violence
Goto Forum:
  


Current Time: Wed Nov 27 22:46:58 Coordinated Universal Time 2024