neg.loglik.WeibExp {CPsurv} | R Documentation |
Negative Log-Likelihood for Weibull-Exponential Distribution
neg.loglik.WeibExp(param, changeP, time, event)
param |
Shape and scale parameter for Weibull distribution. |
changeP |
Changepoint. |
time |
Vector of survival times. |
event |
Vector indicating censoring status; 0 = alive (censored), 1 = dead (uncensored). |
Value of the negative log-likelihood.