Complex Samples Dependent T-Test - Comparing a Sub-Group Proportion to Total

From Q
Jump to navigation Jump to search

Where gt is the proportion in the total sample and gs is the proportion in the sub-group, nt and ns are their respective effective sample sizes, and ws is the proportion of the total population in sub-group s:

t=gtgs(1ws)deff(ses2+sek2),

where:

p=2Pr(tv|t|),
gk=(gtgsws)/(1ws),
sek=gk(1gk)ntnsb,
seg=gg(1gg)nsb,
v=(ses2ns+sek2nk)2(ses2ns)2nsb+(sek2nk)2nkb, or, if Weights and significance is set to Un-weighted sample size in tests (see Weights, Effective Sample Size and Design Effects), v=nt2b
b is 1 if Bessel's correction is selected for Proportions in Statistical Assumptions and 0 otherwise,
deff is Extra Deff, and
ws is the proportion of the Population represents by the sub-group.