Description Usage Arguments Value
View source: R/objective_funcs.R
Returns the objective function evaluated with the current parameters and observed data. Used to perform non-linear least squares. This objective function is specific to Exponential deconvolution, so it requires 3 parameters (one for each Weibull and one for the frailty).
1 2 | objective.function.Exponential(params, y, t_y, z, t_z, control_list,
alpha = 1, epsilon = epsilon, correlated = TRUE, int.upper = Inf)
|
params |
A list of parameters in the order |
y |
A vector of observations representing survival at |
t_y |
A vector of times at which survival is observed for |
z |
A vector of observations representing survival at |
t_z |
A vector of times at which survival is observed for |
control_list |
A named list of options to be passed to |
alpha |
A number, usually fixed to 1, that is the shape parameter of the frailty distribution |
epsilon |
The smallest value from which to integrate, passed to integration functions, for approximations |
correlated |
If |
int.upper |
The largest value from which to integrate (in place of |
A float, the objective function evaluated at the current parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.