help
help > RE: error with matrix
Jan 21, 2017 12:01 AM | Andrew Zalesky
RE: error with matrix
Hi Alex,
please check your design matrix carefully. Column 45 of your design matrix contains all 0's (and no 1's). This is most likely an error in your design. I cannot think of a situation where a column of a design matrix contains only zeros.
Whenever you get a "rank deficient" error, this usually means something is wrong with your design matrix.
Andrew
Originally posted by Alex Rainer:
please check your design matrix carefully. Column 45 of your design matrix contains all 0's (and no 1's). This is most likely an error in your design. I cannot think of a situation where a column of a design matrix contains only zeros.
Whenever you get a "rank deficient" error, this usually means something is wrong with your design matrix.
Andrew
Originally posted by Alex Rainer:
Dear Dr. Zalesky,
Thank you for the wonderful toolbox. Upon running, I received three warnings: Rank deficient, rank = 50, Rank deficient, rank = 51, and Matrix is singular to working precision. Could you please tell me why these warnings are present?
I have 51 subjects, and two task conditions, within-subject design and thus I am doing a paired sample t-test. For convenience, I have uploaded the design matrix here (first column is the task condition, remaining columns are subject means). The order of my connectivity input is
subj1 cond1
subj1 cond2
subj2 cond1
subj2 cond2
...
subj51 cond2
The contrast is [1 0 0 ...0] (52 elements total). Thank you for your help!
Best,
Alex
Thank you for the wonderful toolbox. Upon running, I received three warnings: Rank deficient, rank = 50, Rank deficient, rank = 51, and Matrix is singular to working precision. Could you please tell me why these warnings are present?
I have 51 subjects, and two task conditions, within-subject design and thus I am doing a paired sample t-test. For convenience, I have uploaded the design matrix here (first column is the task condition, remaining columns are subject means). The order of my connectivity input is
subj1 cond1
subj1 cond2
subj2 cond1
subj2 cond2
...
subj51 cond2
The contrast is [1 0 0 ...0] (52 elements total). Thank you for your help!
Best,
Alex
Threaded View
Title | Author | Date |
---|---|---|
Alex Rainer | Jan 20, 2017 | |
Andrew Zalesky | Jan 21, 2017 | |
Alex Rainer | Jan 21, 2017 | |
Andrew Zalesky | Jan 21, 2017 | |