Articles published in this site are based on the references made by the editors. Information provided in these articles are meant only for general information and are not suggested as replacement to standard references. Any inaccurate information, if found, may be communicated to the editor.
t-test looks at the mean and variance of a sample of measurements, where the null hypothesis is that the sample is drawn from a distribution with mean m.
The test explains the difference between the observed and expected means, scaled by the variance of the data, and tells us how likely one is to get a sample of that mean and variance, assuming that the sample is drawn from a normal distribution with mean mu..