Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 lmer 执行混合效果建模。但正如你所料,我可以得到正负固定和随机效应作为系数。如何对我的最终系数设置界限,以便我只得到正系数?
我也在尝试将 stan_lmer 与贝叶斯一起使用。
示例: lmer 方程
如果我检查,coef(fm1),我得到以下输出 lmer 输出
我想将系数限制为仅是正数。请帮忙。