For example in this example I don't know $H_o$ is whether $\eta>28 $ or $\eta<28 $ ,and in general how should we choose $H_o$? I'm really confused with this,any help would be appreciated.
2026-03-30 20:39:19.1774903159
On
Difficulty formulating $H_0$ and $H_1$ in hypothesis testing.
173 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
8
On
If you assume that the data are independent and normal distributed (as it is reasonable to do, but it should be written somewhere on your sheet), the solution of this exercise is a typical t-test (because the standard deviation $\sigma$ is not given). We (or the seller) claim(s) that the average mileage is at least 28, thus \begin{equation} H_0: \mu \ge \mu_0 = 28. \end{equation} Now, for this situation, the alternative-hypothesis is $H_1: \mu < \mu_0 = 28$ (one-sided), because we want to test if our claim $H_0: \mu \ge \mu_0= 28$ is reasonable, which means that we reject our null-hypothesis $H_0$ if the data gives a value too smaller than $28$.

We assume that the 17 cars are chosen at random from among cars with approximately normally distributed MPG's.
The claim $H_0$ is that the population mean MPG is 28 or better. Typing the data into Minitab statistical software (I hope correctly), we see that the mean of the $n = 17$ tested cars is $\bar X = 27.67,$ just below 28 MPG, with $S = 4.2.$ Is that evidence that the claim is untrue?
Notice that a properly formulated null hypothesis must contain an equal sign. Here $H_0: \mu \ge 28$ against the two-sided alternative $H_a: \mu < 28.$ The value 28 is used in computing the t-statistic for this test.
The answer is that the the data do not give strong evidence against the claim. For such a population with $\mu = 28$ it would not be unusual to get a random sample of 17 cars with $\bar X = 27.67$ or smaller. The probability of that is the P-value = .375. Only if the P-value is smaller than 0.05 would one normally accuse the manufacturer of making a false claim.
Printout from Minitab:
Here is a printout of the data as I typed them, so you can proofread my data entry. Proofreading is always a good idea.
Finally, you should make sure you understand how the t-statistic -.32 is computed, and how to use a printed t table (DF = n - 1 = 16) to decide whether to reject $H_0$ at the 5% level of significance.
If you have access to software, you should try this in whatever kind of software is provided for your course. Input and output formats differ for various kinds of software, but all require you to show the null and alternative hypotheses in some way, and all should provide the same basic results.
Note: Below is the same t-test done in R statistical software.