Question: why won't my code run? /*3. Create and compare the Kaplan-Meier survival curves for the categories of BMI using the categorical indicator variables: BMI.1, BMI.2,
why won't my code run? /*3. Create and compare the Kaplan-Meier survival curves for the categories of BMI using the categorical indicator variables: BMI.1, BMI.2, BMI.3. Use the log-rank test to determine whether the time to onset of CVD is the same or different by BMI category. Interpret your results in the context of the problem.*/ proc lifetest data=hw7.comprisk plots=survival; time Time*Status(0); strata BMI.1 BMI.2 BMI.3; test log-rank; run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
