Paired Z-Test of Means

From Q
Jump to navigation Jump to search

Where x¯1 and x¯2 are the two means, the test statistic is:

z=x¯1−x¯2sx¯1−x¯2

where:

p≈2(1−Φ(|z|)),
sx¯1−x¯2 is computed as the Standard Error of d,
the value for the ith observation is computed as di=xi1−xi2, and
x1,x2 are the observed values on the two variables.