mean_var_agg_crctd: Get aggregation parameter from observed data In cmhoove14/SchistoDynAgg: dynamic aggregation and helminthic disease elimination

Description

Estimates the aggregation parameter, 'kappa', from vector of observed values (egg or worm burden) based on estimation of the mean and variance as: $$\kappa=\frac\mu^2-\frac\sigma^2n\sigma^2-\mu$$

Usage

 1 mean_var_agg_crctd(vec) 

Arguments

 egg_vec vector of individual egg or worm burden estimates

Value

estimate of the aggregation parameter of the negative binomial dist'n

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