# Independent Samples Z-Test - Comparing Two Means with Equal Variances

From Q

The test statistic is:

where:

- and are the average values of variables and respectively, where each of these variables represents the data from two independent groups,
- the groups have sample sizes of and respectively,
- ,
- is 1 if
**Bessel's correction**for**Means**is selected in Statistical Assumptions and 0 otherwise, - and are the variances in the two groups, and