I need help with part b the most. Please help :( The data set below contains dat
ID: 3333862 • Letter: I
Question
I need help with part b the most. Please help :(
The data set below contains data from two groups of patients: eight patients admitted to a hospital for reasons other than trauma and seven patients admitted for multiple fractures (trauma). The data contains the metabolic expenditure (Calories burned (kcal/kg/day)) for each patient from both groups. The variables in the data set are metexpend – the metabolic expenditure and admit – whether the patient was admitted to the hospital for a nontrauma or trauma condition.
a.) Determine the rank transformation (i.e. the ranking) of the data.
b.) Calculate the rank-sum statistic by hand taking the trauma patients to be Group 1.
c.) Use Stata to perform the rank-sum test for the hypothesis that there is no difference in metabolic expenditure for the two different groups of patients.
Explanation / Answer
.
a)
N Mean StDev SE Mean
nontraums 8 20.96 1.38 0.49
trauma 7 28.77 6.84 2.6
H0: true difference in mean=0
H1: true difference in mean not equal to 0
test value=(20.96-28.77)/sqrt(1.38^2/8+6.84^2/7)=-2.95855
critical values= 2.1604, -2.1604
as testv value<-2.1604 we can reject H0
so there is difference in average resistant
b)
N Mean StDev SE Mean
nontraums 8 4.75 2.80 0.99
trauma 7 11.71 2.69 1.0
H0: true difference in mean=0
H1: true difference in mean not equal to 0
test value=(4.75-1.71)/sqrt(2.80^2/8+2.69^2/7)=-9.87665
critical values= 2.1604, -2.1604
as testv value<-2.1604 we can reject H0
so there is difference in average resistant
c)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.