stan-dev / example-models

Example models for Stan
http://mc-stan.org/
766 stars 478 forks source link

Fix capture-recapture likelihoods #205

Closed mbjoseph closed 3 years ago

mbjoseph commented 3 years ago

A bug in capture-recapture likelihoods implied only one non-detection for individuals that may or may not be in the population, when in fact we have T non-detections (one for each sampling occasion). Issue described in #204.

ito4303 commented 3 years ago

Looks good to me.

bbbales2 commented 3 years ago

@mbjoseph @ito4303 thanks for looking at this. Is this ready to merge?

mbjoseph commented 3 years ago

Yes @bbbales2 this is ready to merge - thanks!