Dear Members,

I am using mri_glmfit for the first time with the .fsgd file below, however, I am receiving the following error: ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08
--------------------------------
Possible problem with experimental design:
Check for duplicate entries and/or lack of range of
continuous variables within a class.

I have also pasted the design matrix below as I cannot figure out what is wrong with it. I would really appreciate if anyone could help me this issue. Also note that I am running this for just a subset of my total data set as a test before I run it on my full data set. 

Thank you very much for your help,

Sinead

GroupDescriptorFile 1
Title MIR137
Class TGFemale
Class TGMale
Class TTFemale
Class TTMale

Variables                         Age
Input CON3140/001 TGFemale 37
Input CON3891/001 TTFemale 33
Input CON4664/001 TTFemale 40
Input CON5591/001 TTMale   41
Input CON7009/001 TGMale   21
Input CON7024/001 TTMale   59
Input CON7038/001 TTMale   56
Input CON7050/001 TTMale   30
Input CON7054/001 TTMale   43
Input CON7055/001 TTMale   43
Input CON7072/001 TTFemale 41
Input CON7082/001 TTFemale 29
Input CON7087/001 TTFemale 23
Input CON7090/001 TGFemale 59
Input CON7092/001 TTFemale 21
Input CON9004/001 TGFemale 28
Input CON9009/001 TTMale   42
Input CON9040/001 TTMale 56
Input CON9064/001 TTMale 55
Input CON9069/001 TGFemale 54
Input CON9070/001 TTFemale 55
Input CON9081/001 TTFemale 50
Input CON9091/001 TTMale 27
Input CON9093/001 TTMale 54
DefaultVariable Age

Normalized matrix condition is 1e+08
Design matrix ------------------
 1.000   0.000   0.000   0.000   37.000   0.000   0.000   0.000;
 0.000   0.000   1.000   0.000   0.000   0.000   33.000   0.000;
 0.000   0.000   1.000   0.000   0.000   0.000   40.000   0.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   41.000;
 0.000   1.000   0.000   0.000   0.000   21.000   0.000   0.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   59.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   56.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   30.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   43.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   43.000;
 0.000   0.000   1.000   0.000   0.000   0.000   41.000   0.000;
 0.000   0.000   1.000   0.000   0.000   0.000   29.000   0.000;
 0.000   0.000   1.000   0.000   0.000   0.000   23.000   0.000;
 1.000   0.000   0.000   0.000   59.000   0.000   0.000   0.000;
 0.000   0.000   1.000   0.000   0.000   0.000   21.000   0.000;
 1.000   0.000   0.000   0.000   28.000   0.000   0.000   0.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   42.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   56.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   55.000;
 1.000   0.000   0.000   0.000   54.000   0.000   0.000   0.000;
 0.000   0.000   1.000   0.000   0.000   0.000   55.000   0.000;
 0.000   0.000   1.000   0.000   0.000   0.000   50.000   0.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   27.000;
 0.000   0.000   0.000   1.000   0.000   0.000   0.000   54.000;


--
Sinead Kelly
Neuropsychiatric Genetics Group
Trinity Centre
St. James's Hospital
Dublin 8