Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inquiry on your paper " Zheng P, Barber R, Sorensen R J D, et al. Trimmed Constrained Mixed Effects Models: Formulations and Algorithms[Z]. 2020." and the codes. #22

Open
al00014 opened this issue Jan 20, 2022 · 1 comment

Comments

@al00014
Copy link

al00014 commented Jan 20, 2022

Dear Professor Zheng,

I came across your lately published paper "[Zheng P, Barber R, Sorensen R J D, et al. Trimmed Constrained Mixed Effects Models: Formulations and Algorithms[Z]. 2020.](url: https://arxiv.org/abs/1909.10700)", it is astounding and inspiring. However, I have one question for your paper. In Table 1, you suggest that INLA package cannot deal with "Covariates in random effects variance", and has no "Linear constraints". Yet, it seems to me that the f() function within inla() function can exactly deal with covariates in random effects. Besides, the "extraconstr" argument in inla() can also introduce linear constraints to the fitting model. Thus, I have some doubts for your results.

Also, the link of codes provided by your paper is no longer accessible, could you please share with us your experimental codes for your paper?

Much appreciated,
Dr Xiao Lin

@zhengp0
Copy link
Owner

zhengp0 commented Aug 8, 2023

Hi @al00014,

Thanks for being interested!
I think the constraints functionality INLA has is different than what limetr. According to
https://becarioprecario.bitbucket.io/inla-gitbook/ch-INLAfeatures.html#sec:constraints
INLA has linear equality constraints on the random effects (latent effect). And limetr can do linear inequality constraints (and equality constraints) on fixed effects rather than the random effects.

Hope this helps and please let me know if this makes sense.
Best,
Peng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants