sclr_log_likelihood.Rd
Computes the log-likelihood of the scaled logit model at a given set of
parameter estimates (or the MLE if pars
is not supplied). Either
fit
or x
, y
and pars
need to be supplied.
sclr_log_likelihood(fit = NULL, x = NULL, y = NULL, pars = NULL)
fit | An object returned by |
---|---|
x | Model matrix. Will be taken from |
y | Model response. Will be taken from |
pars | A named vector of parameter values. Will be taken from |