Hi,
I processed all data in older version (20040218). Can I do group comparison with mris_glm?
I just wanted to try, I got the following error message:
gdfReadHeader: reading ./ad_cn_fsgd.txt INFO: ignoring tag vs. INFO: ignoring tag SomeTag INFO: gd2mtx_method is doss INFO: Normalized Design Matrix Condition Number is 18.894 INFO: found 3 elements in group contrast vector 1.000 -1.000 0.000; $Id: mris_glm.c,v 1.43 2005/08/17 22:19:35 greve Exp $ setenv SUBJECTS_DIR /home/antao/freesurfer/subjects /home/antao/freesurfer/subjects/stats mris_glm lh --trgsubj average_ftd --fsgd ./ad_cn_fsgd.txt doss --beta_in ./lh_beta_ad_cn.mgz --var_in ./lh_var_ad_cn.mgz --gcv 1 -1 0 --ces ./lh_ces_ad_cn.mgz --t ./lh_t_ad_cn.mgz --sigt ./lh_sigt_ad_cn.mgz Design Matrix ------------------------------------ 1.000 0.000 71.000; 1.000 0.000 63.000; 1.000 0.000 60.000; 1.000 0.000 63.000; 0.000 1.000 62.000; 1.000 0.000 51.000; 0.000 1.000 77.000; 0.000 1.000 60.000; 0.000 1.000 57.000; 0.000 1.000 65.000; Design Covariance Matrix ------------------------------------ 5.000 0.000 308.000; 0.000 5.000 321.000; 308.000 321.000 40027.000; Contrast Matrix: ----------------------------- 1.000 -1.000 0.000; DOF = 7 INFO: loading surface /home/antao/freesurfer/subjects/average_ftd/surf/lh.sphere.reg nvertices = 163842 surface nvertices 163842 surface area 125674.750000 INFO: loading beta_in ./lh_beta_ad_cn.mgz ERROR: number of components in input beta does not match the number of regressors in the design matrix [antao@freesurfer stats]$
Thanks,
Antao
It means that you ran the initial estimation with one design matrix but are trying to test the contrast with another. Make sure the fsgdf and the dods/doss are the same as in the first call to mris_glm.
On Thu, 20 Oct 2005 antao@itsa.ucsf.edu wrote:
Hi,
I processed all data in older version (20040218). Can I do group comparison with mris_glm?
I just wanted to try, I got the following error message:
gdfReadHeader: reading ./ad_cn_fsgd.txt INFO: ignoring tag vs. INFO: ignoring tag SomeTag INFO: gd2mtx_method is doss INFO: Normalized Design Matrix Condition Number is 18.894 INFO: found 3 elements in group contrast vector 1.000 -1.000 0.000; $Id: mris_glm.c,v 1.43 2005/08/17 22:19:35 greve Exp $ setenv SUBJECTS_DIR /home/antao/freesurfer/subjects /home/antao/freesurfer/subjects/stats mris_glm lh --trgsubj average_ftd --fsgd ./ad_cn_fsgd.txt doss --beta_in ./lh_beta_ad_cn.mgz --var_in ./lh_var_ad_cn.mgz --gcv 1 -1 0 --ces ./lh_ces_ad_cn.mgz --t ./lh_t_ad_cn.mgz --sigt ./lh_sigt_ad_cn.mgz Design Matrix ------------------------------------ 1.000 0.000 71.000; 1.000 0.000 63.000; 1.000 0.000 60.000; 1.000 0.000 63.000; 0.000 1.000 62.000; 1.000 0.000 51.000; 0.000 1.000 77.000; 0.000 1.000 60.000; 0.000 1.000 57.000; 0.000 1.000 65.000; Design Covariance Matrix ------------------------------------ 5.000 0.000 308.000; 0.000 5.000 321.000; 308.000 321.000 40027.000; Contrast Matrix: ----------------------------- 1.000 -1.000 0.000; DOF = 7 INFO: loading surface /home/antao/freesurfer/subjects/average_ftd/surf/lh.sphere.reg nvertices = 163842 surface nvertices 163842 surface area 125674.750000 INFO: loading beta_in ./lh_beta_ad_cn.mgz ERROR: number of components in input beta does not match the number of regressors in the design matrix [antao@freesurfer stats]$
Thanks,
Antao
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu