Internal function that extracts confidence intervals from a profile log-likelihood curve at specified confidence levels.
comp.prof.ci(d, v, conf = NULL)A list containing:
Maximum log-likelihood value
Same as vmax
xi value at maximum likelihood
Lower CI bounds for each confidence level
Upper CI bounds for each confidence level
CI lengths for each confidence level
Data frame with columns x (xi values) and v (log-likelihood).
Numeric vector of log-likelihood values.
Numeric vector of confidence levels (e.g., 0.95).