Problem 3. (15 points) We want to study the distribution of sleep deprivation for people affected by 3 distinct diseases. Random samples of affected subjects of sizes 80, 70 and 60 from disease 1,2 a...
Problem 3. (15 points) We want to study the distribution of sleep deprivation for people affected by 3 distinct diseases. Random samples of affected subjects of sizes 80, 70 and 60 from disease 1,2 and 3, respectively were obtained. The results are shown in the following table. Mild 30 20 None Very severe Seve Discase1 Disease 2 Disease 3 80 70 60 30 34 For all subsequent parts state the null and altemative hypothesis, write down the test statistics and their degrees of freedom, calculate the test statistics, find the p-values and give interpretations. a) 5 points) Test the hypothesis that the proportions of subjects affected by Disease 3 that severe, severe, mild and no s leep deprivation are (0 .1, 0.1, 0.3, 0.5) (ie the experience very distribution of sleep deprivation for subjects affected by Disease 3 is multinomial with probabilities (0.1, 0.1, 0.3, 0.5)). Use R to confirm your result (need chisq.tcst0 command). b) (5 points) Test the hypothesis that the proportions of subjects that experience very severe, severe, mild and no sleep deprivation are (0.1,0.1, 0.3, 0.5) for all three diseases (i.c. the distributions of sleep deprivation are completely specified multinomial with probabilities (0.1, 0.1, 0.3, 0.5)) c) 5 points) Test the hypothesis that the proportions of subjects that experience very severe, severe, mild and no sleep deprivation are the same for all three diseases (is the distributions of sleep deprivation are multinomial with the same unspecified probabilities).
Problem 3. (15 points) We want to study the distribution of sleep deprivation for people affected by 3 distinct diseases. Random samples of affected subjects of sizes 80, 70 and 60 from disease 1,2 and 3, respectively were obtained. The results are shown in the following table. Mild 30 20 None Very severe Seve Discase1 Disease 2 Disease 3 80 70 60 30 34 For all subsequent parts state the null and altemative hypothesis, write down the test statistics and their degrees of freedom, calculate the test statistics, find the p-values and give interpretations. a) 5 points) Test the hypothesis that the proportions of subjects affected by Disease 3 that severe, severe, mild and no s leep deprivation are (0 .1, 0.1, 0.3, 0.5) (ie the experience very distribution of sleep deprivation for subjects affected by Disease 3 is multinomial with probabilities (0.1, 0.1, 0.3, 0.5)). Use R to confirm your result (need chisq.tcst0 command). b) (5 points) Test the hypothesis that the proportions of subjects that experience very severe, severe, mild and no sleep deprivation are (0.1,0.1, 0.3, 0.5) for all three diseases (i.c. the distributions of sleep deprivation are completely specified multinomial with probabilities (0.1, 0.1, 0.3, 0.5)) c) 5 points) Test the hypothesis that the proportions of subjects that experience very severe, severe, mild and no sleep deprivation are the same for all three diseases (is the distributions of sleep deprivation are multinomial with the same unspecified probabilities).