i

R Programming Complete Tutorial

T-Tests

T-Test to compare the means of two groups under the assumption that both samples are random, independent, and come from an equal variance, normally distributed population.

Example:

In this specific case, Null Hypothesis H0 = Mean of a and b are the same. We accept this null Hypothesis (equality of the means) as the p-value is higher than the significance level (.05).