WorkingResp {WLogit} | R Documentation |
Calculate the working response
Description
Calculate the working response in the iterative least square regression
Usage
WorkingResp(y, Px, X, beta, intercept = 0)
Arguments
X |
Design matrix of the logistic model considered. |
y |
Binary response of the logistic model considered. |
Px |
The probability of the reponse to be 1 |
beta |
Vector of coefficients |
intercept |
If there is an intercept |
Value
This function returns the vector of working response.
Author(s)
Wencan Zhu, Celine Levy-Leduc, Nils Ternes
See Also
Please read https://hastie.su.domains/Papers/glmnet.pdf for more details
[Package WLogit version 2.1 Index]