Displaying 1 result from an estimated 1 matches for "xhalf".

Did you mean:
half

2009 Feb 01

2

Extracting Coefficients and Such from mle2 Output

The mle2 function (bbmle library) gives an example something like the
following in its help page. How do I access the coefficients, standard
errors, etc in the summary of "a"?
> x <- 0:10
> y <- c(26, 17, 13, 12, 20, 5, 9, 8, 5, 4, 8)
> LL <- function(ymax=15, xhalf=6)
+ -sum(stats::dpois(y, lambda=ymax/(1+x/xhalf), log=TRUE))
> a <- mle2(LL, fixed=list(xhalf=6))
> summary(a)
Maximum likelihood estimation
Call:
mle2(minuslogl = LL, fixed = list(xhalf = 6))
Coefficients:
Estimate Std. Error z value Pr(z)
ymax 19.2881 1.711...