Answer:
H 0 : p ≤ 0.4 H a : p > 0.4
And based on the alternative hypothesis we can conclude that we have a right tailed test
Step-by-step explanation:
Data given
n=300 represent the random sample size
estimated proportion of people with cats
is the value that we want to test
represent the significance level
z would represent the statistic
represent the p value
Null and alternative hypothesis
We want to test if the true proportion of people with cats is higher than 0.4, so then the best alternative is:
Null hypothesis:
Alternative hypothesis:
H 0 : p ≤ 0.4 H a : p > 0.4
And based on the alternative hypothesis we can conclude that we have a right tailed test
The statistic is given by:
(1)
Replacing we got: