# t-test

#### Exhibit 33.18 Sample means in cases I and II are the same. The variability differs.

The t-test is a test to statistically determine whether the means of two normally distributed groups are different. It is commonly used with small sample sizes when the variances of the two normal distributions is not known. The test also assumes that the distributions are independent.

To understand how the t-test works, consider Exhibit 33.18. In both case scenarios, the difference in the means is the same. However the probability that green is different from blue is much higher for Case I, where the sample variability is much lower, and, consequently, there is much less overlap between their distributions.

So, in order to identify the difference between the means of two groups, the t-test must measure the difference in means relative to the variability within each group.

The test summarizes the data down to a single value, the t-value, a signal-to-noise ratio accounting for the difference in means relative to the variability in the data:

$$t = \frac {signal}{noise} = \frac {difference \; in \; group \; means}{variability \; of \; groups} = \frac {x̄_1-x̄_2}{σ_{x̄_1-x̄_2}}$$ $$σ_{x̄_1-x̄_2} = \sqrt {\frac {s_1^2}{n_1} + \frac {s_2^2}{n_2}}$$

Since s1 and s2, the standard deviation for the two groups, is not known these values are derived from the group samples.

The significance of the t-value is related to the samples’ degrees of freedom, which is equal to n1 + n2 – 2, if the standard deviation for the two groups is the same (s1 = s2). Otherwise, the formula is:

$$degrees\;of\; freedom\; (df) = \frac {\left(\frac {s_1^2}{n_1} + \frac {s_2^2}{n_2}\right)^2} {\frac{(s_1^2/n_1)^2}{n_1-1}+\frac {(s_2^2/n_2)^2}{n_2-1}}$$

Given the t-value and the degrees of freedom (df), we can estimate the probability (p-value) that the means of two groups are the same, i.e., the hypothesis (x̄1=x̄2).

The p-value is obtained from the t-distribution table by looking for the t-value in the row for degrees of freedom = df.

Note: A p-value from t-value calculator is provided on this web page. In Excel, the data analysis add-in provides an easy-to-use facility to conduct the t-test.

If the p-value is lower than α, the significance level (usually set at 5% for market research studies), then the hypothesis that the two groups have the same mean is rejected.

Previous     Next

Use the Search Bar to find content on MarketingMind.

### Marketing Analytics Workshop In an analytics-driven business environment, this analytics-centred consumer marketing workshop is tailored to the needs of consumer analysts, marketing researchers, brand managers, category managers and seasoned marketing and retailing professionals.

### What they SHOULD TEACH at Business Schools Is marketing education fluffy too?

### Experiential Learning via Simulators | Best Way to Train Marketers Marketing simulators impart much needed combat experiences, equipping practitioners with the skills to succeed in the consumer market battleground. They combine theory with practice, linking the classroom with the consumer marketplace.