fun.opt {sicure} | R Documentation |
Objective function
Description
This function computes the negative log-likelihood for a given set of parameters.
Usage
fun.opt(theta_h, x_cov, time, delta)
Arguments
theta_h |
A numeric vector containing the initial iterant for the vector of parameters and the initial bandwidths. |
x_cov |
A matrix or data frame giving the covariate values. Each row represents an individual and each column corresponds to a variable. |
time |
A numeric vector giving the observed times. |
delta |
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. |
Value
The value of the negative log-likelihood.
[Package sicure version 0.1.1 Index]