Learn R Programming

bbmle (version 0.8.9)

profile.mle2-class: Class "profile.mle2"; Profiling information for "mle2" object

Description

Likelihood profiles along each parameter of likelihood function

Arguments

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.

See Also

mle2, mle2-class, summary.mle2-class

Examples

Run this code
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")

Run the code above in your browser using DataLab