Paired t-Test of Means

From Q
Jump to navigation Jump to search

Where [math]\displaystyle{ \bar x_1 }[/math] and [math]\displaystyle{ \bar x_2 }[/math] are the two means, and [math]\displaystyle{ s_{{\bar x_1} - {\bar x_2}} }[/math] is an estimate of the Standard Error of the difference between the means:

[math]\displaystyle{ t=\frac{\bar x_1-\bar x_2}{s_{{\bar x_1} - {\bar x_2}}} }[/math]

where

[math]\displaystyle{ p \approx 2\Pr(t_{n-1} \ge |t|) }[/math],
[math]\displaystyle{ n }[/math] is the sample size,
[math]\displaystyle{ s_{{\bar x_1} - {\bar x_2}} }[/math] is computed as the Standard Error of [math]\displaystyle{ d }[/math],
the value for the [math]\displaystyle{ i }[/math]th observation is computed as [math]\displaystyle{ d_i = x_{i1} - x_{i2} }[/math] where [math]\displaystyle{ x_1,x_2 }[/math] are the observed values on the two variables.