Hi, professor Chris Jackson. When running the below code, I encountered a problem. I have tried the methods mentioned in the manual, but it didn't work. Could you please take a look and see if there is a problem? Is it because my subgroup cannot handle so much covariate information? But these covariates are indeed necessary for adjustment, I am very troubled. If you could help me, I would be extremely grateful.
fit<-msm(fomular=dmms~time_year,
subject=id,
data=combine_prsfhbmi_group4
qmatrix=Q
covariates=factor(BMI_group)+age_scale+factor(sex)+factor(cohorts)+factor(area)+factor(region)+factor(CSMOKE)+factor(drink),
obstype=1,
hessian=T,
method="BFGS",
control=list(fnscale=500000,maxit=10000),
death=3
)
warning message: optimisation has probably not converged to the maximum likelihood-hessian is not positive definite
Hi, professor Chris Jackson. When running the below code, I encountered a problem. I have tried the methods mentioned in the manual, but it didn't work. Could you please take a look and see if there is a problem? Is it because my subgroup cannot handle so much covariate information? But these covariates are indeed necessary for adjustment, I am very troubled. If you could help me, I would be extremely grateful.
fit<-msm(fomular=dmms~time_year,
subject=id,
data=combine_prsfhbmi_group4
qmatrix=Q
covariates=factor(BMI_group)+age_scale+factor(sex)+factor(cohorts)+factor(area)+factor(region)+factor(CSMOKE)+factor(drink),
obstype=1,
hessian=T,
method="BFGS",
control=list(fnscale=500000,maxit=10000),
death=3
)
warning message: optimisation has probably not converged to the maximum likelihood-hessian is not positive definite