fig8.5and6: Negative Binomial Likelihood Profile

View source: R/fig8.5and6.R

fig8.5and6R Documentation

Negative Binomial Likelihood Profile

Description

This function generates Figures 8.5 and Figure 8.6, and returns the maximum likelihood estimate of r and k as calculated through grid-based search and by applying numerical optimization methods, and the confidence interval of r

Usage

fig8.5and6(viewcode = FALSE)

Arguments

viewcode

TRUE or FALSE (default) indicating whether to print the function code

Value

a list object containing the maximum likelihood estimate of r and the confidence interval

Examples

# generate plots shown in Fig 8.5 and Fig 8.6, and save results
soln <- fig8.5and6()
print(soln)
#view code
fig8.5and6(viewcode = TRUE)

tessington/quantecol documentation built on June 1, 2025, 9:06 p.m.