profile.mle2-class {bbmle}R Documentation

Class "profile.mle2"; Profiling information for "mle2" object

Description

Likelihood profiles along each parameter of likelihood function

Objects from the Class

Objects can be created by calls of the form new("profile.mle2", ...), but most often by invoking profile on an "mle2" object.

Slots

profile:
Object of class "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:
Object of class "summary.mle2". Summary of object being profiled.

Methods

confint
signature(object = "profile.mle2"): Use profile to generate approximate confidence intervals for parameters.
plot
signature(x = "profile.mle2", y = "missing"): Plot profiles for each parameter.
summary
signature(x = "profile.mle2"): Plot profiles for each parameter.
show
signature(object = "profile.mle2"): Show object.

See Also

mle2, mle2-class, summary.mle2-class

Examples

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(ymax=0.001,xhalf=0.001))
p1 <- profile(fit1)
plot(p1,main=c("first","second"),
     xlab=c(~y[max],~x[1/2]),ylab="Signed square root deviance")

[Package bbmle version 0.9.0 Index]