This function computes the negative log-likelihood for a given set of parameters.
fun.opt(theta_h, x_cov, time, delta)The value of the negative log-likelihood.
A numeric vector containing the initial iterant for the vector of parameters and the initial bandwidths.
A matrix or data frame giving the covariate values. Each row represents an individual and each column corresponds to a variable.
A numeric vector giving the observed times.
A numeric vector giving the values of the uncensoring indicator, where 1 indicates that the event of interest has been observed and 0 indicates that the observation is censored.