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
Missing data at level 2 predictor variable - is it possible to do multiple imputation in Stata?Hi, I have missing data at level 2 for predictor variables, and I can't find a way to do multiple i…
Why i get same results for Logit panel regression and its marginal effect?Dear all, Hope everyone is having good time in pandemic. I am having trouble in my marginal effect…
Dropping panels with too few observations in some yearsI have a panel dataset where the rows (panels) are local government areas and the columns are years.…
Use of compounded double quotes in a string containing several quotation marks and single quotesI think I have a problem understanding compounded double-quotes. I am writing an incorrect code on p…
How to create a loop function to implement fuzzy matching on a large dataset?Hi, I have two really large datasets (5,00,000 observations each) and I have been using the command…
Subscribe to:
Post Comments (Atom)
0 Response to Confidence Intervals upper bound above 1 (100%) for survey data prevalence
Post a Comment