I am working on a 3dMVM script, with two quantitative covariates of no interest (BTXTime and TotalBTX) - this has worked fine. I would now like to add a qualitative/categorical covariate of no interest with two factors (benefit: yes, no). Would you be able to help me incorporate the qualitative covariate?
I have added it as a wsVars but would appreciate some guidance in adding it to the gltLabel, if needed:
I tried adding the categorical covariate “benefit” in -bsVars and did not mention it in -qVars because it’s categorical, but I get an Error saying: Quitting due to model test failure.
Attaching the 3dMVM code and data table. Interestingly, if I simply delete the benefit bsvars and let the model run with the the two qualitative covariates it runs without an issue. Would really appreciate any guidance!! Thanks!
Unfortunately, I get the same error without the mask line.
Lena
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.