Evaluates the log-likelihood and population size over a grid of values for a chosen alpha coefficient, holding other parameters at their MLE (concentrated profile) or re-optimizing them (true profile).
Arguments
- object
An
"uncounted"object.- coef_index
Integer: which alpha coefficient to profile (1 = intercept).
- grid
Numeric vector of values to evaluate. If
NULL(default), auto-generates 30 points spanning \(\pm 3\) SE around the MLE.- reoptimize
Logical. If
TRUE, optimize all other parameters at each grid point (true profile likelihood). IfFALSE(default), hold everything else at the MLE (concentrated profile, faster).- plot
Logical; produce the plot? Default
TRUE.- ...
Additional arguments passed to
plot().
