SOLUTION: At the Fredericton High School it is estimated that at most 25% of the students ride bikes to school. Does this seem to be a valid estimate if, in a random sample of 90 high school

Algebra.Com
Question 1177451: At the Fredericton High School it is estimated that at most 25% of the students ride bikes to school. Does this seem to be a valid estimate if, in a random sample of 90 high school students, 20 are found to ride bikes to school? Use = 0.01. Find the p-value for this test.
Answer by CPhill(1987)   (Show Source): You can put this solution on YOUR website!
We're going to conduct a hypothesis test for a proportion.
Let $p$ be the true proportion of students who ride bikes to school.
1. **Hypotheses:**
* Null hypothesis: $p \le 0.25$ (The estimate is valid.)
* Alternative hypothesis: $p > 0.25$ (The estimate is not valid; the true proportion is higher.)
2. **Test statistic:**
We use the z-statistic for proportions:
```
z = \frac{\hat{p} - p_0}{\sqrt{p_0 (1 - p_0) / n}}
```
where $\hat{p} = \frac{20}{90} = \frac{2}{9}$ is the sample proportion, $p_0 = 0.25$ is the hypothesized proportion, and $n = 90$ is the sample size. This gives us
```
z = \frac{\frac{2}{9} - 0.25}{\sqrt{0.25 (1 - 0.25) / 90}} \approx -0.23.
```
3. **P-value:**
The p-value is the probability of observing a sample proportion as extreme as $\hat{p} = \frac{2}{9}$, assuming the null hypothesis is true. Since this is a right-tailed test, the p-value is
```
P(Z > -0.23) = 1 - P(Z \le -0.23) \approx 1 - 0.4090 = 0.5910.
```
4. **Conclusion:**
Since the p-value (0.5910) is greater than $\alpha = 0.01$, we fail to reject the null hypothesis. There is not enough evidence to conclude that the estimate of at most 25% of students riding bikes to school is not valid.

RELATED QUESTIONS

40 percent of students at a high school are colorblind. if 11 students are picked at... (answered by ikleyn)
If 25 percent of the 300 students at MSA High School walk to school, and of the students... (answered by CubeyThePenguin)
Students at a certain school were surveyed, and it was estimated that 10% of college... (answered by stanbon)
Students at a certain school were​ surveyed, and it was estimated that 15​% of... (answered by Theo)
There are 540 students at Sunny Acres Middle School. 432 students ride the bus to... (answered by richard1234)
At big city school, 4,248 students ride mass transit to school. If this number is 90% of... (answered by JulietG)
If 25 percent of the 300 students at MSA High School walk to school, and of the students (answered by jim_thompson5910)
If 25 percent of the 300 students at MSA High School walk to school, and of the students... (answered by JulietG)
It is claimed that the proportion of high school students in the United States who use... (answered by stanbon)