NHST for sample means of a continuous random variable with critical values