Question

what is the R functions to plot ,on a single figure, the hazard function h(t) for...

what is the R functions to plot ,on a single figure, the hazard function h(t) for Weibull Distribution

for the cases (i) λ = 1, γ = 1, (ii) λ = 1, γ = 3, (iii) λ =1, γ =0.3, respectively. And the same thing for the survival function s(t) in separate figure

0 0
Add a comment Improve this question Transcribed image text
Answer #1

tesea[1,25,1);t #t be a lifetime 111 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 > l1=1:11 [1] 1 > gi=1g> r3=13*33***193-1);r3 #Hazard rate for Weibull(13.93) [1] 0.30000000 0.18467166 0.13903892 0.11367874 0.09723940 0.0855884906 ந80 11.000 1500 0 15 | 20 25> s1=exp[-11*Ag1);s1 #s1 is survival function for Weibull(11,1) [1] 3.6787942-01 1.353353e-01 4.978707e-02 1831564e-02 6.7379>3=exp(-13*+^g3);3 #s3 is survival function for Weibull(13.93) [1]0.36787944 0.29195827 0.24897839 0.21965073 0.19776880 0.18oo 01 02 03 15

Add a comment
Know the answer?
Add Answer to:
what is the R functions to plot ,on a single figure, the hazard function h(t) for...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT