Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Using the provided data, Do A through D in R markdown. A.) Create the survival function graphs in R with both the Intermittent and

image text in transcribed

1) Using the provided data, Do A through D in R markdown.

A.) Create the survival function graphs in R with both the Intermittent and the Continuous data.

B) Run the tests to determine if these survival curves are significantly different.

C) Plot the cumulative hazard graphs.

D) Perform a Cox Proportional Hazards regression.

ni di Month (i) ni 1 32 2 27 3 23 4 22 5 19 6 15 7 14 8 10 9 9 9 10 6 11 2 12 2 13 14 15 16 Intermittent di $(to) 5 .1563 .8437 4 .1481 .7187 1 .0435 .6875 3 .1364 .5938 4 .2105 .4688 1 .0667 .4375 4 .2857 .3125 1 .1000 .2813 3 .3333 .1877 4 .6667 .0625 0 .0000 .0625 2 1.000 .0000 .0000 .0000 .0000 .0000 33 26 24 21 19 15 13 12 12 12 11 8 7 5 5 2 Continuous Sto) 7 .2121 .7879 2 .0769 .7273 3 .1250 .6364 2 .0952 .5758 4 2105 .4530 2 .1333 .3926 1 .0769 .3624 0 .0000 3624 0 .0000 .3624 1 .0833 .3322 3 .2727 .2416 1 .1250 .2114 2 0 3 0 10 ni di Month (i) ni 1 32 2 27 3 23 4 22 5 19 6 15 7 14 8 10 9 9 9 10 6 11 2 12 2 13 14 15 16 Intermittent di $(to) 5 .1563 .8437 4 .1481 .7187 1 .0435 .6875 3 .1364 .5938 4 .2105 .4688 1 .0667 .4375 4 .2857 .3125 1 .1000 .2813 3 .3333 .1877 4 .6667 .0625 0 .0000 .0625 2 1.000 .0000 .0000 .0000 .0000 .0000 33 26 24 21 19 15 13 12 12 12 11 8 7 5 5 2 Continuous Sto) 7 .2121 .7879 2 .0769 .7273 3 .1250 .6364 2 .0952 .5758 4 2105 .4530 2 .1333 .3926 1 .0769 .3624 0 .0000 3624 0 .0000 .3624 1 .0833 .3322 3 .2727 .2416 1 .1250 .2114 2 0 3 0 10

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_2

Step: 3

blur-text-image_3

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

Bank Stability, Sovereign Debt And Derivatives

Authors: Author

1st Edition

113733214X, 9781137332141

More Books

Students also viewed these Accounting questions

Question

Explain how cost savings may arise from e-procurement.

Answered: 1 week ago

Question

display all the pasanger skyjett

Answered: 1 week ago