3) Test the hypothesis that the duration of effusion is less prolonged among bre
ID: 3369455 • Letter: 3
Question
3) Test the hypothesis that the duration of effusion is less prolonged among breast-fed babies than among bottle-fed babies using a nonparametric test.
6. The following table is survival rates for cancer of the pancrease under different age groups for the year 1955-1964 by the US Department of Health. 75 13 1279 1292 0.01 Total 92 5282 5374 0.017 696 710 0.02 Die 1750 1348768 0.01 Total 0.02 rate 1) What is the appropriate test being used to test if there is an age trend in the 3 year survival rates? 2) Perform the test and report the p-value 1,075-3.84, X21,0995-10.83)Explanation / Answer
1) Here we can use chisquare test of independency .
2) Thus here we have to test ;
H0 : Survival rate for cancer is independent on age .
H1 : Survival rate for cancer is not independent on Age.
For this we make R - code , in which we cunstruct contengency table and perform test .
Thus the R- code is given below as;
x=c(20,14,27,18,13)
y=c(236,696,1321,1750,1279)
d=t(data.frame(x,y));d
chisq.test(d)
And the output is as;
> chisq.test(d)
Pearson's Chi-squared test
data: d
X-squared = 66.469, df = 4, p-value = 1.262e-13
Here p-value is 1.262* 10-13 which is much smaller than 0.05 thus we reject null hypothesis
and conclude that Survival rate for cancer is dependent on Age.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.