Confirmatory Factor Analysis Model

Hi

I previosuly showed how to estimate one oif these models in Stan, with normal likelihoods. So you can work from it and adjust the likelihoods to gamma and beta for your case

https://discourse.mc-stan.org/t/non-convergence-of-latent-variable-model/12450/13?u=mauricio_garnier-villarre