Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • STATA CODES FOR EXTRACTING A SUBVARIABLE FROM A VARIABLE IN STATA(DHS) URGENT..........

    Hi, I am new to stata and i was wondering if anyone can help.

    I am analyzing the DHS and I am interested in extracting a subvariable from a variable. I am interested in contraceptive use by region in which contraceptive use has been collected by as region(v010) and contraceptive use(v310) the regions are divided as ss,se,sw, nc,ne,nw (6 regions). i am only interested in ss se and ne regions contraceptive use but i am also interested in analysing contraceptive use in se, ss and ne regions by education, marital status, age, etc. my question is how can i create a new variable that has contraceptive use by ss,se and ne regions so that i can use it for further analysis by age,marital status etc. can anyone advise please. I will appreciate a response

  • #2
    No question about Mata (the topic of this forum) is evident here.

    If interested in this thread, please go to the duplicate thread at http://www.statalist.org/forums/foru...nalysis-of-dhs (noting the excellent advice there from Friedrich Huebler).

    Comment

    Working...
    X