Re: Skilled assistance at birth- Kenya and Senegal [message #25034 is a reply to message #25026] |
Mon, 22 August 2022 08:50 ![Go to previous message Go to previous message](/theme/default/images/up.png) |
Shireen-DHS
Messages: 140 Registered: August 2020 Location: USA
|
Senior Member |
|
|
Hello,
The code you have used is correct, assuming you have used the KR file. If you used the BR file you need to restrict to children under five as shown in the GitHub code you used.
I was able to get a match to the final reports using this code as you can see in the attached screenshots.
Perhaps you are not using weights?
Please try again with applying weights. First you would need to generate a weight variable as follows:
gen wt = v005/1000000
Then tabulate your variable:
tab sba [iw=wt]
Best,
Shireen Assaf
The DHS Program
|
|
|