Given that we have a set of data and a desired level of significance
, we want a function
which can be either zero or one. If the value is one then the function tells us that the sample mean of the dataset
is significantly different from zero, at level
. Similarly, if we have two datasets
then we want a function
that tells us whether or not the two datasets have a significantly different mean, at level
. …