Respuesta :
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:
Test using α = 0.5 to determine whether the median number of part-time employees has increased
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
The true statement is that, the median number of part-time employees has increased
The given parameters are:
- [tex]\mathbf{n_1 = +7}[/tex] ---- restaurants with more than 18 part-time employees
- [tex]\mathbf{n_2 = -1}[/tex] ---- restaurants with less than 18 part-time employees
- [tex]\mathbf{n_3 = 1}[/tex] ---- restaurants with exactly 18 part-time employees
Using a 0.5 test of significance, the null and the alternate hypotheses are:
- Null hypothesis : [tex]\mathbf{H_0 : p= 0.5}[/tex]
- Alternate hypothesis : [tex]\mathbf{H_a : p \ne 0.5}[/tex]
The sample size (n) is calculated using
[tex]\mathbf{n =n_1 -n_3}[/tex]
So, we have:
[tex]\mathbf{n =7 --1}[/tex]
[tex]\mathbf{n =8}[/tex]
The mean of the distribution is:
[tex]\mathbf{\bar x = np}[/tex]
This gives
[tex]\mathbf{\bar x = 8 \times 0.5}[/tex]
[tex]\mathbf{\bar x = 4}[/tex]
Using the right tailed test, we calculate the probability that a restaurant has more than 7 part-time employees.
This is calculated as:
[tex]\mathbf{P(x \ge 7+) = P(x = 7+) + P(x = 8+)}[/tex]
Using the binomial probability table, we have:
[tex]\mathbf{P(x \ge 7+) = 0.0313 + 0.0039 }[/tex]
[tex]\mathbf{P(x \ge 7+) = 0.0352}[/tex]
By comparison,
When the p-value is less than the level of significance, then we will reject the Null hypothesis
Hence, it can be concluded that the median number of part-time employees has increased
Read more about probabilities at:
https://brainly.com/question/6476990