plot method for class "confreg".
Plots confidence regions for pairs of parameters using the profile
loglikelihood values calculated by conf_region.
Up to 4 different types of loglikelihood (see the argument type
to the function returned by adjust_loglik)
may be superimposed on the same plot.
Arguments
- x, y, y2, y3
objects of class "confreg", results of calls to
conf_regionfor a common model and a common value ofwhich_pars. Contours are plotted for each object.- conf
A numeric vector of confidence levels, i.e. numbers in (0, 100). A confidence region contour is plotted for each value in
conf.- legend
A logical scalar or a character vector. If this is supplied then a legend is added to the plot. If
legendis a character vector then it is used as the argumentlegendtolegend. Otherwise, i.e. iflegend = TRUEthen the componenttypeof the input object(s)x, y, y2, y3are used.- legend_pos
The position of the legend (if required) specified using the argument
xinlegend.- ...
Additional arguments passed to
contourorlegend. The argumentscol,ltyandlwdwill be used (in a consistent way) by bothcontourandlegend.
Examples
See the examples in conf_region.
See also
adjust_loglik to adjust a user-supplied
loglikelihood function.
conf_region for a confidence region for
a pair of parameters.
conf_intervals and plot.confint to
plot confidence intervals for individual parameters.