Answered step by step
Verified Expert Solution
Link Copied!

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).

image text in transcribed
- ### 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting A Smart Approach

Authors: Mary Carey, Cathy Knowles

4th Edition

0198844808, 9780198844808

More Books

Students also viewed these Accounting questions