matrix_logit function

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.

Author(s)

Francesco Bartolucci, Antonio Foricna

See Also

matrix_logit, estLCCR

  • Maintainer: Francesco Bartolucci
  • License: GPL (>= 2)
  • Last published: 2025-03-22

Useful links