bin_horse {mcen} | R Documentation |
The workhorse function for the binomial updates in mcen. It uses IRWLS glmnet updates to solve the regression problem.
Description
The workhorse function for the binomial updates in mcen. It uses IRWLS glmnet updates to solve the regression problem.
Usage
bin_horse(Y, X, delta, gamma_y, y_clusters, set_length, eps, maxiter)
Arguments
Y |
the matrix of responses |
X |
the matrix of predictors with the intercept included |
delta |
the tuning parameter for the lasso penalty |
gamma_y |
the tuning parameter for the ridge fusion penalty |
y_clusters |
the cluster assignments from the provided clustering algorithm |
set_length |
the size of each cluster corresponding to a given response. r dimensions with each element containing the cluster size of that responses cluster. |
eps |
the tolerance for conversion normally 1e-5 |
maxiter |
the maximum number of iterations |
Value
Returns a matrix of coefficients
Author(s)
Brad Price <brad.price@mail.wvu.edu>
[Package mcen version 1.2.1 Index]