profile.mle
or profile.mle2
), plots the relative log-likelihood profiles and the
plausibility intervals for each one of the (or selected ones) parameters of a model.plotprofmle(object, nseg=20, ratio=log(8), which=NULL, ask=NULL,
col.line="blue", varname=NULL, ...)
mle2
or
profile.mle2
.spline
to
interpolate the line of log-likelihood profileprofobj
to be plotted.TRUE
, the user is _ask_ed before each plot, see par(ask=.)profobj
.plot
.profile.mle
and profile.mle2
)
return transformed values of the likelihood function, which are based
on the deviance (=minus twice log-likelihood). These
values are called 'z' and are the signed square-root of the deviance difference from the minimum deviance. As samples get
larger, z-profiles tends to be symmetrical V-shaped, and are used to calculate
confidence intervals using an approximation to the Chi-square
distribution (see details in Bolker (2008) and in the vignette('mle2',package='bbmle')
). In its original form (e.g. Edwards 1972), likelihood profiles do not
use z-transformed values, and can be interpreted directly, even if they are
asymmetric. At the scale of the log-likelihood function, all
values of the parameters resulting in a negative log-likelihood
less or equal to a given value k are exp(k) times as plausible as
the mle. Hence, exp(k) is a likelihood ratio, and delimits a plausibility interval (or likelihood
interval) for the mle's. Function plotprofmle
plots profiles of the
negative log-likelihood functions, along with the limits of
likelihood interval for a given log-likelihood ratio
.
profile.mle.class
, mle
, mle-class
from
profile.mle2.class
, mle2
, mle2-class
from birds.pln <- fitsad(birds, "lnorm")
birds.pln.p <- profile(birds.pln)
par(mfrow=c(1,2))
plotprofmle(birds.pln.p)
par(mfrow=c(1,1))
Run the code above in your browser using DataLab