The following is data on the blood group of 36 patients in a hospital. Answer the questions below using R programming.
"O","A","B","O","A","A","A","O","O", "O","A","O","A","B","O","O","O","AB", "B","A","A","O","O","A","A","O","AB", "O","A","A","B","A","O","A","O","O"
a.) Conduct a hypothesis testing to test if the population proportion of blood type "B" is above 0.06. Find the p-value.
b.) Conduct a hypothesis testing to test if the population proportion of blood type "O" is below 0.5. Find the test statistic using function " prop.test " in R.
Blood Group | Count | Proportion |
O | 16 | 0.444444 |
A | 14 | 0.388889 |
B | 4 | 0.111111 |
AB | 2 | 0.055556 |
Total | 36 | 1 |
a)
b)
Prop.test is used to conduct a chi-square test for proportions. What we did above is the test for one proportion.
Get Answers For Free
Most questions answered within 1 hours.