View source: R/penalized_logistic.R
Penalized logistic regression (GLM with roughness penalty on coefficient vector)
1 2 | penlogistic(y, H, weights, B, available.indx, degree.spline, constant,
lambda.range, Tol)
|
y |
Response matrix of the penalized logistic regression |
H |
Design matrix of the penalized logistic regression |
weights |
Weights of each row of design matrix H |
B |
A set of basis functions (K x q matrix) |
available.indx |
A list of observed time points |
degree.spline |
Degree of splines. Default is 3 (cubic splines). |
constant |
TRUE for constrained model of homogeneous VCERGM. FALSE for unconstrained model for heterogeneous VCERGM. Default is FALSE. |
lambda.range |
Range of lambda (Tuning parameter) |
Tol |
Tolerance level used for calculating MPLE (IRLS iterations) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.