WorkingResp | R Documentation |
Calculate the working response in the iterative least square regression
WorkingResp(y, Px, X, beta, intercept = 0)
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 |
This function returns the vector of working response.
Wencan Zhu, Celine Levy-Leduc, Nils Ternes
Please read https://hastie.su.domains/Papers/glmnet.pdf for more details
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.