Independent Samples - Quantum Column Means Test

From Q
Jump to navigation Jump to search

By default, when this test is selected Q computes standard errors using Taylor series linearization. To replicate the results of IBM SPSS Data Collection Model programs (e.g., Survey Reporter), you need to also change the Weights and significance to Kish approximation in Statistical Assumptions.

Where Taylor series linearization is performed, and x¯1 and x¯2 are the two means, the test statistic is:

t=x¯1x¯2e1max(1,e1b)sx¯12+e2max(e2b,1)sx¯22n1+n12b(1e1+1e2)

Otherwise, the test statistic is:

t=x¯1x¯2e1max(1,π1b)sx¯12+e2max(π2b,1)sx¯22π1i=1n1wi12π2+π2i=1n2wi22π2(1e1+1e2)

where:

1 and 2 refer to the two variables,
nj is the sample size,
ej is the effective sample size,
πj is the weighted sample size,
wji is the weight for the ith observation in the jth group,
b=1 if Bessel's correction is selected and 0 otherwise,
p2Pr(tround(e1+e22)|t|),
sx¯j is the Standard Error of the mean,
the p is returned as NaN if the denominator is less than 0.00001.