Complex Samples Dependent Z-Test - Comparing a Sub-Group Mean to Total

From Q
Jump to navigation Jump to search

Where x¯t is the mean in the total sample and x¯s is the mean 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:

z=x¯tx¯s(1ws)sx¯s2+sx¯k2,

where:

p=2(1Φ(|z|)),
sx¯k2=deffsxk2nk,
nk=ntng,
sxk2=sxt2(ntb)sxs2(nsb)(x¯tx¯s)2ns(x¯tx¯k)2nknkb,
x¯k=x¯twsx¯s1ws,
sx¯s is the Standard Error of x¯s,
b is 1 if Bessel's correction is selected for Proportions in Statistical Assumptions and 0 otherwise,
sxt2 and sxs2 are the estimated standard deviations for the total sample and sub-groups respectively,
sx¯t2 and sx¯s2 are the estimated standard error of the means for the total sample and sub-groups respectively,
deff is Extra Deff, and
ws is the proportion of the Population represents by the sub-group.