Do you perhaps have any advice on how to calculate the ratio with 95% confidence interval from the table that is produced from svy, over(exposure): proportion outcome? What kind of command I could use on this?
Here is the result that I got from this command:
Code:
. svy, over(birth_place): proportion v401 if bidx==1 & b5==1
(running proportion on estimation sample)
Survey: Proportion estimation
Number of strata = 67 Number of obs = 15,028
Number of PSUs = 1,967 Population size = 14,740.883
Design df = 1,900
---------------------------------------------------------------------
| Linearized Logit
| Proportion Std. Err. [95% Conf. Interval]
--------------------+------------------------------------------------
v401@birth_place |
no public sector | .7844617 .0079373 .7684879 .7996208
no private sector | .7804379 .0073014 .7657834 .7944217
no other | 1 . . .
yes public sector | .2155383 .0079373 .2003792 .2315121
yes private sector | .2195621 .0073014 .2055783 .2342166
yes other | 0 (no observations)
---------------------------------------------------------------------
nlcom yes public sector/yes private sector
nlcom [v401@birth_place]yes public sector/[v401@birth_place]yes private sector
nlcom _b[yes public sector]/_b[yes private sector]
nlcom [birth_place]yes public sector/[birth_place]yes private sector
nlcom _b[birth_place:0]/_b[birth_place:1]
nlcom [v401@birth_place]yes public sector/[v401@birth_place]yes private sector
nlcom _b[yes public sector]/_b[yes private sector]
nlcom [birth_place]yes public sector/[birth_place]yes private sector
nlcom _b[birth_place:0]/_b[birth_place:1]
0 Response to Calculating ratio with confidence interval
Post a Comment