JenniNiku / gllvm

Generalized Linear Latent Variable Models
https://jenniniku.github.io/gllvm/
49 stars 20 forks source link

TMB ordinal model with species common intercepts #11

Closed BertvanderVeen closed 4 years ago

BertvanderVeen commented 4 years ago

Added a TMB ordinal implementation with species common cut-offs. This relaxes the requirement of one observation per category per species, to at least one observation per category. The default is species-specific cut-offs, but if there are missing classes per species, an error will be thrown with the recommendation to switch zeta.struc or reclassify the data per species.