Can we offer this option like what glmmTMB does? This should be relatively simple to do (in principle!!), because all it requires is adding any fixed effect beta coefficients in the X component as random effects. This then gets TMB to integrate over these as well, thus leading to an integrated likelihood approach to REML for LVMs.
This makes the biggest difference for Gaussian responses, we know REML should need to better (less biased) estimates of any variance component/loading matrices. For non-Gaussian responses, things are less clear, but it can often be beneficial (https://arxiv.org/abs/2402.12719)
Well I say it is easy to implement in principle, but with fourth corner models and all that jazz I am not as positive.
Can we offer this option like what
glmmTMBdoes? This should be relatively simple to do (in principle!!), because all it requires is adding any fixed effect beta coefficients in theXcomponent as random effects. This then getsTMBto integrate over these as well, thus leading to an integrated likelihood approach to REML for LVMs.This makes the biggest difference for Gaussian responses, we know REML should need to better (less biased) estimates of any variance component/loading matrices. For non-Gaussian responses, things are less clear, but it can often be beneficial (https://arxiv.org/abs/2402.12719)
Well I say it is easy to implement in principle, but with fourth corner models and all that jazz I am not as positive.