Answered step by step
Verified Expert Solution
Question
1 Approved Answer
- ### Homework Question 2 335 The nwtco daset in the survival package include s a study predicting survival based on tumor histology (tissue structure).
- ### Homework Question 2 335 The nwtco daset in the survival package include s a study predicting survival based on tumor histology (tissue structure). data(nwtco, package="survival") head(nwtco) - The variable *edrel gives the time to relapse. {r} hist(nwtcoSedrel) summaryCas.factor(nwtcosinstit)) summaryCas.factor(nwtcoshistol) summarycas.factor (nwtcosstage)) Construct a cross-validation where you compare how well *instit* predicts time to relapse compared to "histol*. These represent the histology from the local institution versus the central lab. In both cases include age and stage as predictors. Stage should be included as factor variable. - ### Homework Question 2 335 The nwtco daset in the survival package include s a study predicting survival based on tumor histology (tissue structure). data(nwtco, package="survival") head(nwtco) - The variable *edrel gives the time to relapse. {r} hist(nwtcoSedrel) summaryCas.factor(nwtcosinstit)) summaryCas.factor(nwtcoshistol) summarycas.factor (nwtcosstage)) Construct a cross-validation where you compare how well *instit* predicts time to relapse compared to "histol*. These represent the histology from the local institution versus the central lab. In both cases include age and stage as predictors. Stage should be included as factor variable
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started