Hi FSL experts --
Thank you for this response. I have corrected that error and I am now 100% sure( after finding some more) that there are no columns that are perfectly correlated in my design.mat. However, I still got the same exact error -- this time it ran for ~ 30 minutes before stopping with this error, whereas before it was crashing within 1 minute.
My question is: could the "matrix is singular" be referring to the design.con file? or the matrix multiplication of the design.con file and the design.mat file? What are other trouble shooting possibilities?
I have attached my (corrected) design.mat, design.grp and design.con here again.
Thank you,
Michelle
----------
Hi Michelle -
It seems like at least 2 columns are perfectly correlated (59,63), which will produce this issue.
Best,
Eugene
On 24 August 2016 at 21:55, Michelle VanTieghem <[log in to unmask]> wrote:
Hi FSL experts,
As stated previously, I decided to make the design.mat by hand because I am trying to run a 2 (between sub, group) x3 (within sub, conditions of task) mixed effects model which requires entering 76 EVs. Without fail, the Feat GUI freezes when I try to increase the number of EVs to 76, so I cannot copy and paste my design.mat into the GUI.
I have figured out that I can use flameo in the command line instead of the GUI to run the analysis. However, I ran across the following error when trying to implement flameo and would appreciate any assistance in troubleshooting.
First, I generated files that concatenated all of the cope/varcope files for each subject for each condition (using fslmerge) in the order that corresponds to my design.mat.
Then I ran flameo:
flameo --cope=N72_cond1_cond2_cond3_copes --varcopes=N72_cond1_cond2_cond3_varcopes --mask=mast --dm=design.mat --tc=design.con --cs= design.grp --runmode=flame1
Error:
"An exception has been thrown Runtime error:-detected by Newmat: matrix is singular
MatrixType = Crout #Rows = 76 #Cols = 76"
Do you know what the reason for this error is? I have attached my design.mat, design.con and design.grp here.
Thank you,
Michelle
|