# Two sample t tests statistics

Tags:
1. Mar 12, 2017

### Faiq

1. The problem statement, all variables and given/known data
My question is why is the assumption necessary to make? (Please see the image).

2. Relevant equations

3. The attempt at a solution
We can easily proceed by treating the two samples as two different population, find their individual unbiased estimate of variance and then use the combined estimate to apply the Central Limit Theroem. So why assume the variances of both samples is equal?

#### Attached Files:

• ###### Stats.jpg
File size:
54.2 KB
Views:
28
2. Mar 12, 2017

### Ray Vickson

The Central Limit Theorem applies in the limit of infinite sample slzes and gives a reasonable approximation for very large but finite samples. However, for sample sizes like in the question you cite, the central limit theorem does not apply very well, if at all, so you need to use the t-distribution instead of the normal. For a two-sample t-test you need equality of variances just because without it the test statistic does not follow the t-distribution. It is just a requirement of the mathematics.

3. Mar 12, 2017

### Faiq

Oh so equality of variances is necessary for any two sample t or z test ?

4. Mar 12, 2017

### Ray Vickson

Yes, that is what I said.

However, in a paired-sample t-test you do not need equality of variances, so be careful to make the distinction between"two-sample" and "paired-sample" (both of which look at two samples, but in different ways).

5. Mar 12, 2017

### Faiq

Thank you very much

6. Mar 12, 2017

### Faiq

Can you please tell me what test am I suppose to use in these situations (2 sample z test or 2 sample t test)?
1. Two sample, sample size small, variance of both known and is different
2. Two sample, sample size large, variance of both unknown

I am asking because you said when sample size is small, we have to use t-test for which variance must be equal. In that case I cant identify the type of test to be used in the abovementioned conditions.