mle_alpha_se: Finds max likelihood of the dispersion parameter using...

Description Usage Arguments Value

View source: R/dispersion_parameter_functions.R

Description

Finds the standard error of the maximum likelihood estimate of the inverse of the dispersion parameter,kappa, often denoted alpha, given a vector of egg or worm burdens. Uses sqrt of the inverse of the hessian returned by 'optim' to estimate standard error of alpha then transforms to estimate the standard error of kappa. Assumes max likelihood estimate of the mean of the negative binomial distribution is the empirical mean of the vector Returns the message from 'optim' if convergence fails

Usage

1

Arguments

vec

vector of individual egg or worm burden intensities

Value

standard error of the max likelihood estimate of the dispersion parameter


cmhoove14/SchistoDynAgg documentation built on Dec. 14, 2021, 2:12 p.m.