The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Reshaping data using Stata
Reshaping data using Stata [message #3398] Fri, 05 December 2014 02:24 Go to next message
Mercysh is currently offline  Mercysh
Messages: 35
Registered: April 2014
Member
I would appreciate some help regarding reshaping of the variables b16_01 to b16_20 (from individual datasets)so that I have one variable that I can compare with hv112 (from PR file),for mothers reported to be on the household schedule and whose children are younger than 18 years. I have followed a few examples but not getting it right.

Mercy
Re: Reshaping data using Stata [message #3407 is a reply to message #3398] Fri, 05 December 2014 18:33 Go to previous messageGo to next message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 803
Registered: January 2013
Senior Member
Rather than reshaping the data, have you tried using the BR or the KR files which are already reshaped.
Re: Reshaping data using Stata [message #3409 is a reply to message #3407] Sat, 06 December 2014 02:40 Go to previous message
Mercysh is currently offline  Mercysh
Messages: 35
Registered: April 2014
Member
Thank you, the BR file works for me.

Mercy
Previous Topic: How to view full name of X variables in Stata (almost e...)
Next Topic: Merging male and female datasets
Goto Forum:
  


Current Time: Sun Nov 24 06:21:24 Coordinated Universal Time 2024