Question
in R markdown, MLE with Survival Data The Weibull model can be used to model time xx until an event, such as the time until
in R markdown,
MLE with Survival Data
The Weibull model can be used to model time xx until an event, such as the time until a battery burns out or a patient's cancer returns.
f(x)=k(x)k1e(x/)k, where 0x<), the scale 0<<, the shape 0 Consider the following (simulated) months until various batteries of the same type burn out: Ex3 <- c(2.228, 2.051, 1.683, 3.285, 1.219, 2.879, 2.976, 2.112, 2.357, 2.425, 1.255, 2.562, 0.829, 2.581, 2.340, 3.043, 0.684, 1.810, 2.529, 0.700) Assume we know that the time to burnout is Weibull, and that the shape k=3. (a) We want to estimate the scale parameter . What is the log-likelihood for our sample? (b) Plot the likelihood function L() as a function of . (c) What is the maximum log-likelihood estimate of ?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started