Design matrices of saturated logit parametrization
Design matrices of saturated logit parametrization
For J binary responses, it provides design matrices A and B used to express the saturated recursive logit parametrization of type log(p) = [Aeta-Blog(1+exp(eta))].
matrix_logit(J)
Arguments
J: number of capture occasions
Returns
A: first matrix involved in the recursive logit parametrization
B: second matrix involved in the recursive logit parametrization
References
Forcina, A. and Bartolucci, F. (2021). Estimating the size of a closed population by modeling latent and observed heterogeneity, arXiv:2106.03811.