I have a problem with generated confidence intervals for prevalence using survey data. We are investigating drug resistance in the country and had PSU as regions and enrolled individuals on drugs in health facilities randomly selected from these regions. The dataset is svyset and I use the following command for prevalence with the resulting table of results. Note the highlighted upper bound level
svy linearized, subpop (if GENDER_2 ==0): proportion VL_SUPPRESSED_BN
(running proportion on estimation sample)
Survey: Proportion estimation
Number of strata = 5 Number of obs = 533
Number of PSUs = 23 Population size = 284401
Subpop. no. obs = 182
Subpop. size = 96827.4
Design df = 18
------------------------------------------------------------------
| Linearized
| Proportion Std. Err. [95% Conf. Interval]
-----------------+------------------------------------------------
VL_SUPPRESSED_BN |
0 | .0234302 .0150483 -.0081852 .0550456
1 | .9765698 .0150483 .9449544 1.008185
------------------------------------------------------------------
Note: strata with single sampling unit centered at overall mean.
Related Posts with Confidence Intervals upper bound above 1 (100%) for survey data prevalence
using nlcom to calculate combinations of parameter estimates from different modelsDear Stata users, I am estimating two mixed logit models: (1) mixlogit choice price1, group(idgrou…
creating a loop for multiple regressionsDear Statalist, I am a beginner in Stata and panel data, therefore please excuse me beforehand if m…
r601 error - file C:\Users\admin\AppData\Local\Temp\ST_aef0_000002.t mp not found r(601);I'm try to run the code shown below. The app geocode was down loaded from the internet. I'm running …
Retrieve the numeric value of a labelI have a string variable nation2 distributed as follows: Code: . tab nation2, m nation2 | …
Stata ignores else condition in if-else blocks within forval loopHey everyone, I have three files named something like File_1, File_2, File_3, which I am importing …
Subscribe to:
Post Comments (Atom)
0 Response to Confidence Intervals upper bound above 1 (100%) for survey data prevalence
Post a Comment