BME 530 Assignment 4 Use α= 5% and report p-values as well for all the questions. For Q1 and Q2, perform the step-by-step testing as well as use R functions for hypothesis testing. For each test...

1 answer below »
Need help with R hw


BME 530 Assignment 4 Use α= 5% and report p-values as well for all the questions. For Q1 and Q2, perform the step-by-step testing as well as use R functions for hypothesis testing. For each test problem please indicate the hypotheses, test statistics, and the distributions of the test statistics. Justify the distributions used in your calculation. Q1. (4 pts). In a Kidney research paper, the results of a study involving 529 hemodialysis patients and 326 peritoneal dialysis patients were reported. The authors found that at baseline 249 subjects in the hemodialysis treatment group were diabetic, while at baseline 134 of the subjects in the peritoneal dialysis group were diabetic. 1) Do the data provide sufficient evidence to indicate that the diabetes prevalence in the population of hemodialysis patients is not equal to 40%? 2) Do the data provide sufficient evidence to indicate that the diabetes prevalence in the population of peritoneal patients is greater than 40%? Q2 (4 pts). A research team studied the effects of reminiscence therapy for older women with depression. The authors studied 15 women of 60 years or older residing for 3 months or longer in an assisted living long-term care facility. For this study, depression was measured by the Geriatric Depression Scale (GDS). Higher scores indicate more severe depression symptoms. The participants received reminiscence therapy for long-term care, which uses family photographs, scrapbooks, and personal memorabilia to stimulate memory and conversation among group members. Pre-treatment and post-treatment depression scores are given in the following table. HW4_Data.xlsx is provided Can we conclude, based on these data, that subjects who participate in reminiscence therapy experience, on average, a decline in GDS depression scores? Q3. (12 pts) Use the data in HW1 to make the statistical inferences about the following attributes in a general heart disease population where the data were generated. 1) Test the null hypothesis that the average creatinine phosphokinase (CPK) levels in deceased and alive patients in the population are the same. Please test if the variances of the CPK levels in deceased and alive patients in the population are the same. Based on the result, choose the proper test statistic for hypothesis testing. 2) Test the null hypothesis that the proportions of diabetes in deceased and alive patients in the population are the same. Submission. Submit a zip file (HW4_name.zip) on Blackboard that includes: 1) both R notebook (.Rmd) and rendered results (.html). Your notebook should include some annotations for the scripts so that a grader knows what the script is for. 2) report document (.pdf) question4 Length (mm) Non-OSASLength (mm) OSAS 96.8105.95 100.7114.9 94.55110.35 99.65123.1 109.15119.3 102.75110 97.798.95 92.1114.2 91.9108.95 89.5105.05 97114.9 97.7114.35 97112.25 94.55106.15 106.45102.6 94.55102.4 94.05105.05 89.45112.65 89.85128.95 98.2117.7 101113.7 88.25116.3 92.6108.75 98.25113.3 90.85106 95.25101.75 88.8 101.4 90.55 109.8 88.95 101.05 92.6 97 91.95 88.95 95.75 question5 Pre-GDSPost-GDS 1211 1010 1611 23 129 1813 118 1614 1616 1010 1412 2122 99 1916 2018 question6 CD4 entryCD4 end 173257 58108 103315 181362 105141 301549 169369 question8 Strain AStrain B 5493 9991 10593 46150 7080 87104 55128 5883 13988 9195 94 97
Answered 3 days AfterOct 21, 2021

Answer To: BME 530 Assignment 4 Use α= 5% and report p-values as well for all the questions. For Q1 and Q2,...

Gaurav answered on Oct 23 2021
117 Votes
BME 530 Assignment 4
Use α= 5% and report p-values as well for all the questions.
For Q1 and Q2, perform the step-by-step testing as well as use R functions for hypothesis te
sting.
For each test problem please indicate the hypotheses, test statistics, and the distributions of the test statistics. Justify the distributions used in your calculation.
Q1. (4 pts). In a Kidney research paper, the results of a study involving 529 hemodialysis patients and 326 peritoneal dialysis patients were reported. The authors found that at baseline 249 subjects in the hemodialysis treatment group were diabetic, while at baseline 134 of the subjects in the peritoneal dialysis group were diabetic.
1) Do the data provide sufficient evidence to indicate that the diabetes prevalence in the population of hemodialysis patients is not equal to 40%?
n=529
p=proportion of diabetic patient in haemodialysis
= 249/529 = 0.47
Null Hypothesis: proportion of Diabetes prevalence, P = 0.40
Alternative Hpothesis : proportion of Diabetes prevalence , P 0.40
Test Statistic. Under Ho,the test statistic is
Z = ~ N(0,1)
Z =
Z = 3.31
P value = 0.000464799
At 95% Level, Z value for two-tailed test is 1.96
We reject the null hypothesis that diabetic prevalence is equal to 0.40 or 40%
Hence we can conclude that the data provide sufficient evidence to indicate that the diabetes prevalence in the population of hemodialysis patients is not equal to 40%
2)Do the data providesufficient evidence to indicate that the diabetes prevalence in the population of peritoneal patients is greater than 40%?
n=326
p=proportion of diabetic patient in haemodialysis
= 134/326 = 0.41
Null Hypothesis: proportion of Diabetes prevalence, P > 0.40
Alternative Hpothesis : proportion of...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here