alpha_likelihood: Custom max likelihood function for dispersion parameter

Description Usage Arguments Value

View source: R/dispersion_parameter_functions.R

Description

Estimates the likelihood of a vector of egg counts with negative binomial distribution fixed mean and inverse of the dispersion parameter, kappa, frequently denoted alpha can be used in conjunction with an opimizer function to find max likelihood of the dispersion parameter, implemented here in the 'mle_kap' function

Usage

1
alpha_likelihood(alpha, vec)

Arguments

alpha

value of the inverse of the dispersion parameter, kappa

vec

vector of individual egg or worm burden intensities

Value

estimate of the negative log likelihood


cmhoove14/SchistoDynAgg documentation built on April 12, 2021, 3:18 a.m.