Statistics
How do you carry out a hypothesis test step by step?
State the null and alternative hypotheses, choose a significance level, calculate the test statistic, find the p-value or critical value, then decide and write the conclusion in context. In the example, a sample of 25 batteries averaging 490 hours (s = 20) gives t = −2.5, p ≈ 0.01, so we reject the claim that they average 500 hours.