USE R AND SHOW CODES!!
1.a. There is a theorem that the ratios of blood types O, A, Band AB are 49:38:9:4,
respectively. A research team, investigating a small communityand obtained the following frequencies of blood type.
Blood type
Blood Type O A B AB
Frequency 87 59 20 4
Test the hypothesis that the proportions in this community donot differ significantly
from those in the general theorem.
1.b. The severity of participants' migraines is clinicallyassessed. The following table
displays the severity classifications for patients assigned tothe medical and the non
traditional therapies
Severity Classification
Therapy Minimal Moderate Severe
Medical 90 60 50
Non traditional 50 60 90
Is there any evidence that severity is independent of type oftherapy?