The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Sampling » calculating SE and CIs for selected metrics (both proportions and rates)
Re: calculating SE and CIs for selected metrics (both proportions and rates) [message #27463 is a reply to message #27461] Wed, 16 August 2023 12:34 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3172
Registered: February 2013
Senior Member
Following is a response from Senior DHS staff member, Tom Pullum:

We cannot distribute the SAS programs you describe, but you don't need them. Stata has commands to calculate standard errors and confidence intervals. Here is an example, which gives the proportion of children born in the past 5 years who are boys or girls, in the NFHS-5, in each state, with standard errors and confidence intervals adjusted for the survey design with svyset and svy. In addition to "proportion", there are similar commands for the "mean" and "ratio".

use "...IAKR7EFL.DTA", clear 
svyset v001 [pweight=v005], strata(v023) singleunit(centered)
svy: proportion b4, over(v024)

Your PS suggests that you want to analyze stillbirths. Please look at other forum posts on that topic, but if you still need help, please post another message with a different title.

 
Read Message
Read Message
Previous Topic: PSU and GOV in Egypt
Next Topic: Madagascar 2021: representative at district level?
Goto Forum:
  


Current Time: Sun Oct 20 03:45:14 Coordinated Universal Time 2024