Description Usage Arguments Value
Given a fixed sigma parameter, use the fraction of zeros to estimate the mu parameter of a Poisson-lognormal distribution via the method of moments.
1 | poilog_pzero2mu(lpz, sig = 2.5, lims = c(-200, 200))
|
lpz |
a numeric vector representing the natural log of the empirical fraction of zeros from count data. |
sig |
either a positive scalar or a vector of same length as lpz
specifying the fixed sigma parameter (see |
lims |
interval of possible values for the scale
parameter (mu), passed to |
a numeric vector of estimated scale parameters (mu) for each element of lpz.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.