comparing two means and two variances

2.7 Comparing Two Means and Two Variances

2.7.1 Point Estimation: Independent Samples

Point Estimator for the Difference Between Two Means

Distribution of $overline{X}_{1}-overline{X}_{2}$

2.9.1. Theorem. Let $overline{X}_{1}$ and $overline{X}_{2}$ be the sample means based on independent random samples of sizes $n_{1}$ and $n_{2}$ drawn from normal distributions with means $mu_{1}$ and $mu_{2}$ and variance $sigma_{1}^{2}$ and $sigma_{2}^{2},$ respectively. Then $overline{X}_{1}-overline{X}_{2}$ is normal with mean $mu_{1}-mu_{2}$ and variance $sigma_{1}^{2} / n_{1}+sigma_{2}^{2} / n_{2}​$. i.e,

is a standard normal random variable.

As usual, the Central Limit theorem allows us to apply this result even to non-normal populations if we have large sample sizes.

2.7.2 Comparing Variances: The F Distribution

Let $X_{gamma_{1}}^{2}$ and $X_{gamma_{2}}^{2}$ be independent chi-squared random variables with $gamma_{1}$ and $gamma_{2}$ degrees of freedom:

is said to follorw an F-distribution。

Remark:

If $sigma_{1}^{2}=sigma_{2}^{2},$ then the statistic

follows an $F$ -distribution with $n_{1}-1$ and $n_{2}-1$ degrees of freedom.

The F -Test

We reject at significance level $alpha $:

2.7.3 Comparing Means: Variances Equal (Pooled Test)

Pooled Variance

Pooled T-Test

follows a T-distribution with $n_1 + n_2 -2$ degrees of freedom.

We reject at significance level $alpha $:

Confidence Interval for the Difference of Means

2.7.4 Comparing Means: Variance Unequal

Pooled test for equality of means

We reject at significance level $alpha $:

2.7.5 Comparing Means: Paired Data

Define $D = X-Y$, whose mean will be

Paired T-Test

Confidence bounds on $mu_X-mu_Y$ for paired data

2.7.6 Alternative Nonparametric Methods

The Wilcoxon Rank-Sum Test

m: smaller szmple size between $X$ and $Y$.

for large values of $m$, $W_m$ is approximately normally distributed with