The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » table replication
table replication [message #14690] Mon, 30 April 2018 08:25 Go to previous message
memon_suma@yahoo.com
Messages: 15
Registered: April 2018
Member
Hi,
I am trying to make bar graphs of table 13.5 about Participation in Decision Making of Pakistan's Demographic Health Survey 2012-13. Somehow I cannot get the exact figures. I am using the following code in stata;

gen hhpurchase=0
replace hhpurchase=1 if v743b==1
label variable hhpurchase "Decision of large hh purchase"
label define hhpurchase 0 No 1 Yes
label values hhpurchase hhpurchase
graph bar hhpurchase [pw=v005]

The results are near but not exact. I am sure I am making a mistake but don't know what. Similarly, for mobility and female's own health decision results are not exact.
Please help.

[Updated on: Mon, 30 April 2018 08:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: What is the difference between hw70_1 hw70_2 hw70_3 etc?
Next Topic: Missing data
Goto Forum:
  


Current Time: Mon Dec 2 01:55:07 Coordinated Universal Time 2024