Independent Samples - Survey Reporter 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 [math]\displaystyle{ \bar x_1 }[/math] and [math]\displaystyle{ \bar x_2 }[/math] are the two means, the test statistic is:

[math]\displaystyle{ t=\frac{\bar x_1-\bar x_2}{\sqrt{\frac{e_1 max(1, e_1-b)s^2_{\bar x_1} + e_2 max(e_2-b, 1)s^2_{\bar x_2}}{n_{1} + n_{1} - 2b}}(\frac{1}{e_1}+\frac{1}{e_2})} }[/math]

Otherwise, the test statistic is:

[math]\displaystyle{ t=\frac{\bar x_1-\bar x_2}{\sqrt{\frac{e_1 max(1, \pi_1-b)s^2_{\bar x_1} + e_2 max(\pi_2-b, 1)s^2_{\bar x_2}}{\pi_1 - \frac{\sum^{n_{1}}_{i=1} w^2_{i1}}{\pi_2} + \pi_2 - \frac{\sum^{n_{2}}_{i=1} w^2_{i2}}{\pi_2}}(\frac{1}{e_1}+\frac{1}{e_2})}} }[/math]

where:

[math]\displaystyle{ 1 }[/math] and [math]\displaystyle{ 2 }[/math] refer to the two variables,
[math]\displaystyle{ n_j }[/math] is the sample size,
[math]\displaystyle{ e_j }[/math] is the effective sample size,
[math]\displaystyle{ \pi_j }[/math] is the weighted sample size,
[math]\displaystyle{ w_{ji} }[/math] is the weight for the [math]\displaystyle{ i }[/math]th observation in the [math]\displaystyle{ j }[/math]th group,
[math]\displaystyle{ b=1 }[/math] if Bessel's correction is selected and 0 otherwise,
[math]\displaystyle{ p \approx 2 \Pr(t_{round( e_1 + e_2-2)} \ge |t|) }[/math],
[math]\displaystyle{ s_{\bar x_j} }[/math] is the Standard Error of the mean,
the p is returned as NaN if the denominator is less than 0.00001.