Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the dataset retinopathy available in the R survival package. See ?retinopathy in R for a description of the dataset. a) Fit a Cox model

Use the dataset retinopathy available in the R survival package. See ?retinopathy in R for a description of the dataset. a) Fit a Cox model to estimate the crude hazard ratio comparing the treated eye to the untreated eye. Provide a point estimate and 95% confidence interval. Interpret your results. b) Adjust the variance in the model from part a) for clustering of the two eyes of each individual. Calculate a new 95% confidence interval. c) Now adjust for the risk score (risk) in each eye. Without adjusting for clustering, try models with polynomial or factor terms for risk. Which model fits best? Explain your reasoning. d) Adjust for clustering by individual in the model for part c). Give a new point estimate and 95% confidence interval for the hazard ratio of vision loss comparing treatment to control. e) Using the model from part d), plot the predicted survival for treated and untreated patients with risk = 9. Give meaningful axis labels, differentiate the treated and untreated survival curves, and provide a legend.

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

Cost Accounting A Managerial Emphasis

Authors: Charles T. Horngren, Srikant M.Dater, George Foster, Madhav

13th Edition

8120335643, 136126634, 978-0136126638

Students also viewed these Mathematics questions

Question

What is meant by the term decision analysis?

Answered: 1 week ago