Description Usage Arguments Value Examples
Negative lok-likelihood in the age-cohort-interaction model with constaints
1 2 3 4 5 | loglik_aci_sel(par, O, R, sel_array)
score_aci_sel(par, O, R, sel_array)
hessian_aci_sel(par, O, R, sel_array)
|
par |
parameter of the age-cohort-interaction model in the
form |
O |
Observed events as returned by |
R |
Time at risk as returned by |
sel_array |
an array defining the selection found by the adaptive ridge
procedure. (see |
The vector of derivatives of the negative log-likelihood as described in TODO NAME OF REFERENCE SHEET
1 2 3 4 5 6 7 | ## Not run:
par <- rnorm(ncol(O) * nrow(O))
loglik_aci_sel(par, O, R) # length 1 vector
score_aci_sel(par, O, R) # vector of length (ncol(O) + nrow(O))
hessian_aci_sel(par, O, R) # square matrix of dimension (ncol(O) + nrow(O))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.