External Email - Use Caution        

Hello,

could you check if the contrast matrix CM.C has the same number of columns as the design matrix X that was supplied to the lme_mass_fit_Rgw() (or possibly lme_mass_fit_vw()) function?

The number of columns (and their respective meaning) need to match between CM.C and X.

Best regards,

Kersten


Am 21.11.2020 um 18:12 schrieb vittal korann <vittalkorann@gmail.com>:

        External Email - Use Caution        






---------- Forwarded message ---------
From: vittal korann <vittalkorann@gmail.com>
Date: Tue, Nov 17, 2020 at 1:16 PM
Subject: Error in longitudinal pipeline
To: <freesurfer@nmr.mgh.harvard.edu>


Hi FreeSurfer experts

Recently I started working on the longitudinal data.
I followed the pipeline described in the below link.
Also, I attached my longitudinal table along with freesurfer data.


I got the error while executing the following commands:
CM.C = [zeros(3,5) [1 0 0 0 0 0 0;-1 0 0 1 0 0 0;0 0 0 -1 0 0 1] zeros(3,5)];

F_lhstats = lme_mass_F(lhstats,CM);
And the Matlab threw an error shown below 

>> CM.C = [zeros(3,5) [1 0 0 0 0 0 0;-1 0 0 1 0 0 0;0 0 0 -1 0 0 1] zeros(3,5)];
>> F_lhstats = lme_mass_F(lhstats,CM);
Error using lme_mass_F (line 50)
The number of colums in the contrast matrix CM(1).C is different from the corresponding number of fixed effects in stats(1).Bhat

Any help would be appreciated!

With regards
Korann

<long.qdec.table.dat.xlsx>_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

--
Kersten Diers
Image Analysis Group (AG Reuter)
German Center for Neurodegenerative Diseases (DZNE) 
B.1.114 | Building 99 | Venusberg-Campus 1 | 53127 Bonn | Germany 
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.dzne.de/en/sites/bonn/research-groups/reuter.html
Phone: +49 / 228 / 43302 - 381