Defining a PLProblem
PLProblem
type is designed to contain the necessary information to define a profile likelihood problem. For a comprehensive overview of the profile likelihood approach, please consult Raue, A. et al.
LikelihoodProfiler.PLProblem
— TypePLProblem{T,probType,P,PF,PR}
Defines a profile likelihood problem.
Mathematical Specification of a Profile Likelihood Problem:
A profile likelihood problem is defined by
- an objective function (usually negative log-likelihood function) wrapped within an
optprob::OptimizationProblem
. Consult Optimization.jl docs for details. - a set of optimal values of the parameters
optpars
that minimize the objective function.
Constructors
PLProblem(optprob, optpars, profile_range = tuple.(optprob.lb, optprob.ub);
conf_level = 0.95, df = 1, threshold = chi2_quantile(conf_level, df))
Arguments
optprob
: TheOptimizationProblem
to be solved.optpars
: Initial (optimal) values of the parameters.profile_range
: The range over which the profile likelihood is computed. Defaults totuple.(lb,ub)
of theOptimizationProblem
.
Keyword arguments
conf_level
: The confidence level for the profile likelihood. Defaults to0.95
.df
: The degrees of freedom for the profile likelihood. Defaults to1
.threshold
: The threshold for the profile likelihood. Can be set toInf
if confidence interval endpoint estimation is not required. Defaults tochi2_quantile(conf_level, df)
.