Table 2. HIV prevalence among study participants by Sex (N=13614)

CharacteristicWomenMenTotalApprox. P-value
Unweighted n/NWeighted Prev % (or Mean)Weighted 95% CIUnweighted n/NWeighted Prev % (or Mean)Weighted 95% CIUnweighted n/NWeighted Prev % (or Mean)Weighted 95% CI
Rural/urban setting0.394
Rural265/44186.275.20-7.33108/30093.912.96-4.85373/74275.144.29-5.99
Urban190/23228.106.66-9.5585/17855.133.71-6.56275/41076.585.40-7.75
Total455/67406.926.06-7.77193/47944.393.58-5.19648/115345.684.98-6.37
Region0.062
Nairobi45/7266.114.24-7.9922/5843.762.37-5.1567/13104.893.73-6.06
Central49/8255.623.97-7.2611/5881.970.71-3.2260/14133.832.74-4.92
Coast50/8426.134.17-8.0916/6102.591.14-4.0566/14524.363.06-5.67
Eastern62/13835.243.40-7.0713/9142.190.59-3.7875/22973.762.43-5.08
Nyanza152/95116.2112.23-20.1990/67014.059.82-18.29242/162115.2111.49-18.93
RiftValley54/11724.322.95-5.7025/8773.221.79-4.6679/20493.772.78-4.77
Western43/8415.893.89-7.9016/5513.561.67-5.4459/13924.793.01-6.57
Total455/67406.926.06-7.77193/47944.393.58-5.19648/115345.684.98-6.37
Age category (5 year categories)<.001
15-1911/9811.140.42-1.866/8600.980.12-1.8317/18411.050.47-1.64
20-2452/11934.573.20-5.946/7031.320.26-2.3858/18963.112.24-3.98
25-2985/11097.926.08-9.7627/6774.322.12-6.51112/17866.274.83-7.71
30-3462/8336.624.72-8.5335/5856.614.49-8.7397/14186.625.24-8.00
35-3982/72712.329.45-15.1926/4935.053.05-7.05108/12208.736.74-10.73
40-4458/56010.577.42-13.7232/4248.104.89-11.3090/9849.327.09-11.54
45-4945/41710.707.30-14.0921/2988.874.78-12.9666/7159.827.14-12.49
50-5437/41010.207.01-13.4023/3246.704.02-9.3960/7348.416.34-10.48
55-5916/2895.102.13-8.078/2343.731.00-6.4624/5234.392.39-6.40
60-647/2213.250.42-6.089/1964.631.53-7.7316/4174.011.96-6.05
Total455/67406.926.06-7.77193/47944.393.58-5.19648/115345.684.98-6.37
Educational level0.038
No primary38/10084.022.49-5.546/3242.420.42-4.4144/13323.592.40-4.79
Incomplete primary35/6036.353.69-9.0011/3713.241.18-5.3046/9745.013.26-6.76
Complete primary152/20747.165.92-8.3971/15934.793.36-6.21223/36675.994.97-7.01
Secondary+230/30557.466.34-8.58105/25064.423.43-5.41335/55615.864.98-6.73
Total455/67406.926.06-7.77193/47944.393.58-5.19648/115345.684.98-6.37
Marital status<.001
Ever widowed56/15733.602.61-4.5922/18221.420.81-2.0478/33952.281.74-2.82
Married/cohabiting216/40895.324.39-6.26126/25945.314.19-6.44342/66835.324.46-6.18
Never married/never cohabited53/38214.4610.72-18.2110/1765.761.89-9.6363/55811.078.31-13.83
Separated/divorced130/69520.2516.12-24.3835/19919.1612.61-25.71165/89419.9616.26-23.65
Unknown0/10.000.00-0.000/30.000.00-0.000/40.000.00-0.00
Total455/67406.926.06-7.77193/47944.393.58-5.19648/115345.684.98-6.37
Sexual debut1.000
First sex <15 years63/7399.206.51-11.8831/6034.412.66-6.1794/13426.554.91-8.20
First sex 15+ years346/47607.316.37-8.25136/32284.683.69-5.68482/79886.065.28-6.85
Total409/54997.566.57-8.55167/38314.643.69-5.58576/93306.145.34-6.94
Age At Last Brithday45536.2635.26-37.2619338.6437.34-39.9564837.1636.40-37.930.015

SurveyFreqs_Footnotes

Footnote
Categorical cells show prevalence percentages.
Confidence intervals are 95% normal-approximation intervals based on the selected survey variance method.
The n column reports unweighted sample counts, while estimates and confidence intervals use survey weights.
P-values compare distributions across by-variable groups and are shown once on the characteristic row.
Categorical p-values use a Rao-Scott-style design-adjusted chi-square approximation derived from design-based cell variances.
Continuous mean p-values use weighted regression with robust or cluster-adjusted covariance.
For PREV tables, categorical characteristic p-values are computed within the outcome-positive subset and are shown as N/A when that subset does not span at least two by-variable groups.
Weighted estimates use the weight variable 'abweight'.
Taylor linearization is used for weighted/design-based variance estimation.
SAS-parity mode formats the combined table like %svy_freqs: macro-style decimals, value-label order where available, and Total rows after each categorical block.
The Python p-values are labeled as approximations because SAS PROC SURVEYFREQ Rao-Scott P_RSCHI is not called directly in this environment.

SurveyFreqs_Metadata

SettingValue
analysis_typePREV
continuous_statMEAN
variance_methodTAYLOR
by_variablesex2
outcome_variablehiv
outcome_value1
survey_design_typestratified_cluster
weight_variableabweight
strata_variablestrata2
cluster_variableqclust
include_missingNo
include_detailed_tablesNo
decimal_points2
pvalue_decimal3
sas_parityYes
table_titleTable 2. HIV prevalence among study participants by Sex
table_nametable2
survey_nameKAIS