Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSchnute error with 0 catch in last run #26
Comments
droglenc
commented
Dec 2, 2016
|
This error only occurs for three passes. This makes sense to send an error here because the Schnute method is attempting to estimate probabilities of capture for the first pass and other than the first pass. If the catch on the third pass is zero then this implies that the probability of capture for other than the first pass was 1 (i.e., it appears that all fish were captured on the second pass). Thus, the optimization routine ultimately gets to 1 for this probability which then causes an error in the likelihood function (because of the logs). I modified
There might be a better way to handle this. What would be the estimate of N and the CIs in such a situation? Can the probability of capture for the second sample be fixed at 1? |