Tests whether the mean of a sample differs from an assumed population mean μ₀. It calculates t = (sample mean − μ₀) ÷ (sample standard deviation ÷ √n) and the two-sided p-value from the t distribution with n − 1 degrees of freedom. A p-value below the significance level means the population mean differs from μ₀.