ScoreFun_new {lboxcox} | R Documentation |
New Log Likelihood Gradient of Logistic Box-Cox
Description
This function gives the gradient of the log likelihood of the Box-Cox model. Main purpose is to be an input to the maxLik function.
Usage
ScoreFun_new(init, ixx, iyy, iw, iZZ)
Arguments
init |
initial values for the intercept and slope coefficients |
ixx |
continuous predictor |
iyy |
binary outcome |
iw |
sample weight |
iZZ |
covariates to be incorporated in the model |
Value
the gradient of the log likelihood estimate for the coefficients in 'bb'
[Package lboxcox version 1.2 Index]