LogLikeFun | R Documentation |
This function gives the log likelihood of the Box-Cox model. Main purpose is to be an input to the maxLik function.
LogLikeFun(bb, ixx, iyy, iw, iZZ)
bb |
current values for the intercept and slope coefficients |
ixx |
continuous predictor |
iyy |
binary outcome |
iw |
sample weight |
iZZ |
covariates to be incorporated in the model |
the log likelihood estimate for the coefficients in 'bb'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.