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

Precalculus, Enhanced WebAssign Edition

Authors: James Stewart

6th Edition

1285499948, 9781285499949

More Books

Students also viewed these Mathematics questions

Question

What is meant by the term decision analysis?

Answered: 1 week ago

Question

Subjective norms, i.e. the norms of the target group

Answered: 1 week ago