Attachment | Size |
---|---|
twinAceOrdAgeSex_Script.R [6] | 7.21 KB |
Hi,
I ran the attached ordinal ACE script with age and sex as covariates, and I noticed that for some of my variables I would get the following error message:
"Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
SLSQP: Failed due to singular matrix E or C in LSQ subproblem or rank-deficient equality constraint subproblem or positive directional derivative in line search "
I'm not quite sure what the error message mean and what I should change, but I did notice that when I only included sex as covariate, the code would be able to run properly. Does it mean something went wrong when I included age as one of the covariates?
Any help will be appreciated! Thank you very much!