2A)
ward_a <- c(12.2, 11.1, 14.0, 11.3, 10.8, 12.5, 12.2, 11.9,
13.6, 12.7, 13.4,
13.7)
ward_b <- c(11.9, 10.7, 12.3, 13.9, 11.1, 11.2, 13.3, 11.4,
12.0, 11.1)
hemoglobin <- data.frame(hemo_level = c(ward_a, ward_b), ward =
c(rep("Ward A", 12), rep("Ward B", 10)))
boxplot(hemo_level~ward , data =hemoglobin )
YOU CAN also use
ggplot(hemoglobin, aes(y = hemo_level, x= ward)) + geom_boxplot(aes(col = ward)) + theme_minimal(base_size = 15) + geom_point()
2B)
Assumtion 1: The observations are independent of one
another.
Assumption 2: The data should be approximately normally
distributed.
Please rate
In two wards for elderly patients in a local hospital the following levels of hemoglobin (grams p...
Suppose you want to test to see if there is a difference in steady-state hemoglobin levels (measured in gdL) for patients with different types of sickle-cell disease. The two diseases for which you will study are: HB SS - Commonly referred to as "sickle cell anemia" (I will abbreviate this as X) HB SC - Commonly referred to as "sickle cell disease" (I will abbreviate this as Y) Although both have their complications, HB SS is referred to as the...