I have an augmented capture-history matrix `y_{it}` for `M` candidate animals observed over `T` sampling occasions. I want a closed-population capture-recapture model with behavioral response, so the capture probability changes after an animal was caught on the previous occasion.

My model is:
`z_i ~ Bernoulli(omega), for i = 1, ..., M,`
`p_{i1} = p,`
`p_{it} = p` if `y_{i,t-1} = 0` and `p_{it} = c` if `y_{i,t-1} = 1`, for t = 2, ..., T,`
`y_{it} | z_i ~ Bernoulli(z_i p_{it}), for i = 1, ..., M and t = 1, ..., T.`

Here:
`y_{it}` is the observed capture indicator for individual i at occasion t,
`z_i` is the latent inclusion indicator for augmented individual i,
`omega` is the inclusion probability,
`p` is the capture probability when the animal was not captured on the previous occasion,
`c` is the capture probability when the animal was captured on the previous occasion,
`p_{it}` is the effective occasion-specific capture probability implied by the previous capture history,
`M` is the size of the augmented data set,
`T` is the number of sampling occasions.
