Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 589 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 589 Bytes

Converting code from Haines 2019 to nimble

Haines 2019 provides likelihood (density) calculation and data generating (randomization) functions in R for multinomial N-mixture models. Here, I translate those models into nimble code for use alongside the binomial N-mixture models available in nimbleEcology.

Haines' work extends the fast-algorithm approach that nimbleEcology uses with binomial N-mixture models by use of recursion to avoid infinite sums.