biodiverse / ubms

Fit models to data from unmarked animals using Stan. Uses a similar interface to the R package 'unmarked', while providing the advantages of Bayesian inference and allowing estimation of random effects.
https://biodiverse.github.io/ubms/
GNU General Public License v3.0
35 stars 8 forks source link

Add hazard-rate key function option to stan_distsamp #12

Closed kenkellner closed 4 years ago

kenkellner commented 4 years ago

Fixes #9. I've found that matching unmarked's parameter estimates using this key function requires fairly large datasets. I added a warning to the function output and help file about this. Also, using this key function is much slower than the others due to the need for quadrature to approximate the integral of the hazard detection function.