Description Usage Arguments Value See Also Examples
Computes the ridge regularized estimates of the age-cohort-interaction model
1 2 3 4 5 | ridge_solver_aci(O, R, pen, weights_age = NULL, weights_cohort = NULL,
old_par = NULL, use_band = FALSE, maxiter = 100)
aridge_solver_aci(O, R, pen, sample_size, use_band = FALSE,
maxiter = 1000, verbose = FALSE)
|
O |
Observed events as returned by |
R |
Time at risk as returned by |
pen |
The penalty constant. |
weights_age |
weights of the age differences in the log-hazard. See ADD REFERENCE SHEET |
weights_cohort |
weights of the cohort differences in the log-hazard. See ADD REFERENCE SHEET |
old_par |
initial point of the iteration. The default choice is |
use_band |
Whether to use faster inversion of the hessian function. |
maxiter |
The maximal number of iteractions of the Newton-Raphson procedure. |
verbose |
Whether to display the progress of the Newton-Raphson procedure. |
The vector estimate of the ridge regularized age-cohort-interaction model.
Other ridge: ridge_solver_interaction
Other adaptive_ridge: ridge_solver_interaction
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.