提问人:Shabnaz 提问时间:10/30/2023 更新时间:10/30/2023 访问量:20
我正在做 LCGM 和 GMM,但我遇到了一个我无法解决的错误,该错误与模型的收敛有关。请指教
I am doing LCGM and GMM but I am getting an error that i cannot solve that is related to convergence of the model. please advise
问:
lcga1 <- hlme(logMBZP ~ trimester, subject = "CHEAR_id", ng = 1, data = phthalate_MBZP, posfix = NULL)
lcga2 <-gridsearch(rep = 20, maxiter = 100, minit = lcga1,m=hlme(logMBZP ~ trimester, subject = "CHEAR_id",ng = 2, data = phthalate_MBZP, mixture = ~ trimester))
lcga3 <- gridsearch(rep = 20, maxiter = 100, minit = lcga1,m=hlme(logMBZP ~ trimester, subject = "CHEAR_id",ng = 3, data = phthalate_MBZP, mixture = ~ trimester))`
警告:由 coercionInfinite 参数引入的 NA...最后一步值:b : NA 0 0 1 1目标函数 : 0收敛标准: 参数 stability= 1: 函数 stability= 1: 与最大值的最佳相对距离
gridsearch(rep = 20, maxiter = 20, minit = lcga1, m = hlme(logMBZP ~ :模型minit未收敛
答: 暂无答案
评论
dput()