Bob and Daniel are arguing over the average cost of a particular chocolate bar in their local neighborhood. Bob believes that the average cost of a chocolate bar is at least $\$1.50$ while Daniel believes the contrary. To settle their argument, they head out to local stores and record each price they observe for this particular chocolate bar.
After visiting $10$ stores, they find that the average cost is $\$1.35$ with a standard deviation of $\$0.05$. Conduct a hypothesis test to contradict or confirm Bob's argument. You may assume that the cost of the chocolate bars are normally distributed.
My working:
$H_0$: $\mu < 1.50$ and $H_a$: $\mu \geq 1.50$.
The test statistic is,
$T = \frac{1.35-1.50}{\frac{0.05}{\sqrt{10}}} = -9.48$ with df = $9$.
This is where I'm stuck, usually we calculate the p-value in the direction of the null hypothesis. That is, $Pr(T\geq-9.48)$, which is effectively $1$. What am I missing here? Surely I'm wrong.
You should be calculating the $P(-9.48≥T)$ (the opposite of what you have done) and then work from there. You know thus that the p-value is very close to $0$, meaning that $H_0$ should be rejected. However, this is dependent on the confidence level, although, it is safe to say with such a low p-value, $H_0$ should be rejected to a reasonable degree of certainty. If this feels counter-intuitive, bear in mind that the standard deviation of the data collected is very small.