Profile likelihood and (GEE) score methods for estimation of random coefficient binary
response models. This function is a wrapper for rcbr
that uses the offset
argument to implement estimation of additional fixed parameters. It may be useful to
restrict the domain of the optimization over the profiled parameters, this can be
accomplished, at least for box constraints by setting omethod = "L-BFGS-B"
and specifying the lo
and up
accordingly.
prcbr(
formula,
b0,
data,
logL = TRUE,
omethod = "BFGS",
lo = -Inf,
up = Inf,
...
)
a list comprising the components:
output of the optimizer for the profiled parameters beta
output of the optimizer for the random coefficients eta
is of the extended form enabled by the Formula package.
In the Cosslett, or current status, model the formula takes the form
y ~ v | z
where v
is the covariate designated to have coefficient
one, and z
is another covariate or group of covariates that are assumed
fixed coefficients that are to be estimated.
is either an initial value of the parameter for the Z covariates or a matrix of such values, in which case optimization occurs over this discrete set, when there is only one covariate then b0 is either scalar, or a vector.
data frame for formula variables
if logL is TRUE the log likelihood is optimized, otherwise a GEE score criterion is minimized.
optimization method for optim
, default "BFGS".
lower bound(s) for the parameter domain
upper bound(s) for the parameter domain
other arguments to be passed to rcbr.fit
to control fitting.