Note: R software should be used to complete this assignment.Provide an IMRaD wri
ID: 3131971 • Letter: N
Question
Note: R software should be used to complete this assignment.Provide an IMRaD write-up for the following problem. IMRaD is the introduction, method, result, and discussion.
In a kidney international article, Avram et al. (A-27) reported on a study involving 529 hemodialysis patients and 326 peritoneal dialysis patients. They found that at baseline 249 subjects in the hemodialysis group were diabetic, while at baseline 134 of the subjects in the peritoneal dialysis group were diabetic. Is there a significance difference in diabetes prevalence at baseline between the two groups of this study? Let alpha = 0.05, what does your finding regarding sample significance imply about the populations of subjects?
Explanation / Answer
Here we have to test the hypothesis that,
H0 : p1 = p2 Vs H1 : p1 not= p2
where p1 and p2 are population proportion for hemodialysis group were diabetic and population proportion for peritoneal dialysis group were diabetic respectively.
x1 = number of subjects in the hemodialysis group were diabetic = 249
x2 = number of subjects in the peritoneal dialysis group were diabetic = 134
n1 = number of hemodialysis patients = 529
n2 = number of peritoneal dialysis patients = 326
Assume alpha = level of significance = 0.05
R-command for two proportion test is,
> prop.test(x=c(249, 134), n=c(529, 326), correct = FALSE)
2-sample test for equality of proportions without continuity
correction
data: c(249, 134) out of c(529, 326)
X-squared = 2.9028, df = 1, p-value = 0.08843
alternative hypothesis: two.sided
95 percent confidence interval:
-0.008621297 0.127934273
sample estimates:
prop 1 prop 2
0.4706994 0.4110429
Here we see that P-value = 0.088
P-value > alpha
Accept H0 at 5% level of significance.
Conclusion : Two population proportions are equal.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.