The DHS Program User Forum      
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » cameroon 1998 v002
cameroon 1998 v002 [message #11938] Thu, 09 March 2017 12:21 Go to next message
krritter is currently offline  krritter
Messages: 4
Registered: February 2017
Location: US
Member
Hi all,
I'm looking at the IR file for cameroon for 1998. Looks like the v002 field doesn't match the portion of the caseid field I'm used to seeing. Am I missing something about Cameroon? Or early years' data?
Thanks,
Karen


Karen
Re: cameroon 1998 v002 [message #12053 is a reply to message #11938] Thu, 23 March 2017 15:00 Go to previous messageGo to next message
Liz-DHS
Messages: 924
Registered: February 2013
Senior Member
Dear User,
I looked at the Standard Recode Manual for DHS II and found the following regarding the CASEID:
Quote:

Case identification used to uniquely identify each respondent. In most surveys this is
constructed by concatenating the cluster or sample point number, the household number
and the respondent' s line number, but in some surveys this may be the questionnaire
number taken from the front page of the questionnaire.

For V002 I found the following:
Quote:

V002 Household number is the number identifying the household in which the respondent was
interviewed, within the sample point. In some cases, this variable may be the
combination of dwelling number and household number within dwelling. In these cases,
the original variables are included as country-specific variables.

For more information on the various recode manuals please visit http:// dhsprogram.com/publications/publication-DHSG4-DHS-Questionna ires-and-Manuals.cfm
Re: cameroon 1998 v002 [message #12054 is a reply to message #12053] Thu, 23 March 2017 15:44 Go to previous messageGo to next message
krritter is currently offline  krritter
Messages: 4
Registered: February 2017
Location: US
Member
Liz,
Thanks for responding. I created a new v002 field by extracting the portion from the caseid field. I was then able to merge with the files I needed. Not sure if this is 'proper' but it worked.


gen v002str=substr(caseid,8,3)
gen v002= real(v002str)
order v002, after(v001)



Karen
Re: cameroon 1998 v002 [message #12055 is a reply to message #12054] Thu, 23 March 2017 16:13 Go to previous message
Liz-DHS
Messages: 924
Registered: February 2013
Senior Member
That's Great!
Previous Topic: children ages 5-17
Next Topic: how to download a data set
Goto Forum:
  


Current Time: Mon Mar 27 02:40:23 Eastern Daylight Time 2017