neg.loglik.WeibExp {CPsurv}R Documentation

Negative Log-Likelihood for Weibull-Exponential Distribution

Description

Negative Log-Likelihood for Weibull-Exponential Distribution

Usage

neg.loglik.WeibExp(param, changeP, time, event)

Arguments

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

Value of the negative log-likelihood.


[Package CPsurv version 1.0.0 Index]