yrosseel / lavaan

an R package for structural equation modeling and more
http://lavaan.org
412 stars 99 forks source link

request: family link functions of types ordered + logit #282

Closed joh4nd closed 11 months ago

joh4nd commented 1 year ago

It is possible to request features that enable specifying link functions of various families?

I am particularly interested in ordered logit estimates. Other users may be interested in e.g. probit, Poission, etc.

Stata's command GSEM enables that. And the gllmv package does it too, yet, without the SEM framework, such that all items have to load on all latent factors.

As far as I understand, family link functions allow modeling the distribution of the items that load on latent factors.

In contrast, feeding polychoric correlation matrices does not inform models about the distribution of the items loading on latent factors.

yrosseel commented 11 months ago

It is not possible, and it will not happen any time soon. This requires numerical integration, and is way-to-slow in R. A decent implementation needs to use C++ code. A project (called glavaan) was started a two years back, but the main developer has left academia...). Closing for now.