Question: Question 6: Define a function compute_hazard_difference which takes in a table like summed_mn_hazard_data and returns the absolute difference between the hazard rates of the control

Question 6: Define a function compute_hazard_difference which takes in a table like summed_mn_hazard_data and returns the absolute difference between the hazard rates of the control group and the diet group. Use it to get the observed test statistic and assign it to death_rate_observed_statistic. def compute_hazard_difference (tbl) : death_rate_observed_statistic = compute_hazard_difference (summed_mn_hazard_data) death_rate_observed_statistic ok . grade ("q4_6")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
