Answer:
It can be concluded that the median number of part-time employees has increased hence we will reject the null hypothesis ( H0 : p = 0.5 )
Step-by-step explanation:
<u>Test using α = 0.5 to determine whether the median number of part-time employees has increased</u>
number of restaurants with more than 18 part-time employees = 7 ( + sign )
number of restaurants with less than 18 part-time employees = 1 ( - sign )
number of restaurants with exactly 18 part-time employees = 1
first step : ( state the null and alternate hypothesis )
Null hypothesis : ( H0) : median ≤ 18
Alternate hypothesis : ( Ha ) : median ≥ 18
The size of the sample ( n ) can be considered to be 8 because
number of restaurants with more than 18 part-time employees = 7 ( + sign )
number of restaurants with less than 18 part-time employees = 1 ( - sign )
Hence the actual hypothesis that should be tested will be :
H0 : p = 0.5
Ha : p ≠ 0.5
Next apply the binomial distribution to determine the number of + signs
= nP = 8 ( 0.5 ) = 4 + signs ( right tailed test i.e. upper tail of the binomial distribution )
determine the P ( ≥ 7 ) + signs in order to obtain the p-value of this right tailed test ( using the binomial probability table )
P ( ≥ 7 )+ signs = p(7) +signs + p(8)+signs
= 0.0313 + 0.0039 = 0.0352
Hence the P-value = 0.0352 is < 0.05 hence we will reject the Null hypothesis ( H0 : p = 0.5 )
hence It can be concluded that the median number of part-time employees has increased