| profile.mle2-class {bbmle} | R Documentation |
Likelihood profiles along each parameter of likelihood function
Objects can be created by calls of the form new("profile.mle2",
...), but most often by invoking profile on an "mle2" object.
profile:"list". List of
profiles, one for each requested parameter. Each profile is a data
frame with the first column called z being the signed square
root of the deviance, and the others being the
parameters with names prefixed by par.vals.summary:"summary.mle2". Summary
of object being profiled.signature(object = "profile.mle2"): Use profile
to generate approximate confidence intervals for parameters.signature(x = "profile.mle2", y = "missing"): Plot
profiles for each parameter.signature(x = "profile.mle2"): Plot
profiles for each parameter.signature(object = "profile.mle2"): Show object.
mle2, mle2-class, summary.mle2-class
x <- 0:10
y <- c(26, 17, 13, 12, 20, 5, 9, 8, 5, 4, 8)
fit1 <- mle2(y~dpois(lambda=ymax/(1+x/xhalf)),start=list(ymax=1,xhalf=1),
method="L-BFGS-B",lower=c(0.001,0.001))
p1 <- profile(fit1)
plot(p1,main=c("first","second"),
xlab=c(~y[max],~x[1/2]),ylab="Signed square root deviance")