FreeSurfer experts,

I am attempting to use the two stage model for longitudinal analysis, however I keep receiving an error message that my design matrix is poorly scaled.
I belive I have cross-checked my qdec, fsgd, design matrix, and contrast files and they all match so  I do not think the problem is a mismatch.
I am wondering if I made some sort of mistake in my script design or design matrix creation...

Anyway here is the command line input:
   
mri_glmfit --glmdir lh.AllSite.gender.group.Age.thickness.fwhm10.twoStage.glmdir --X DOSSDS.twoStage_AllSite_Gender_Group_Age.dat --y lh.testretest.thickness-pc1.stack.fwhm10.mgh --C age_AcctGroup_AcctSite_AcctGender_twoStage.DOSSDS.mtx --C DiffDiagnosis_ControlMore_AcctSite_AcctGender_AcctAge_twoStage.DOSSDS.mtx --C DiffDiagnosis_ControlMore_AgeSlope_AcctSite_AcctGender_twoStage.DOSSDS.mtx --C DiffGender_MaleMore_AcctSite_AcctDiagnosis_AcctAge_twoStage.DOSSDS.mtx --C DiffGender_MaleMore_AgeSlope_AcctSite_AcctDiagnosis_twoStage.DOSSDS.mtx --label lh.testretest.fsaverage.cortex.label --surf fsaverage lh

The error message is attached within file AllSite_twoStageLongitudinal_DsgnMtxErr.txt

Additionally I've included my analysis script, all timepoint qdec file, temporal average qdec file, fsgd file, and design matrix.

-Tim


Timothy Hendrickson
Department of Psychiatry
University of Minnesota
Office: 612-624-6441
Mobile: 507-259-3434 (texts okay)