External Email - Use Caution
Hello,
I have 2 groups (group 1 = 3 members, group 2 = 12 members) and I did like to regress out the effects of groups + other variables by using doss. However, whenever I specify doss with the mri_glmfit command, it gives me an error message (see below). I saw that others have experienced similar issues without any solutions. How can we solve this? Any insight is appreciated.
Best, Paul
mri_glmfit command:
mri_glmfit --y ../../freesurfer/subjects/tracula_output/stats/mcp.avg16_syn_bbr.FA.nii.gz --fsgd dti_RPQ_3.fsgd doss --C dti_RPQ.mtx --o mcp_FA.glmdir --save-eres --nii.gz
design.mtx:
0 0 0 0 0 0 0.5
Terminal output:
gdfRead(): reading dti_RPQ_3.fsgd
INFO: DeMeanFlag keyword not found, DeMeaning will NOT be done.
Continuous Variable Means (all subjects)
0 Age 46.9333 9.86216
1 Sports 0.0666667 0.249444
2 Games 1.13333 1.62754
3 Days_TBI 1903.2 907.81
4 RPQ_3 7 2.28035
Class Size and Means of each Continuous Variable
1 PPCS_Male 3 33.3333 0.3333 2.3333 1337.3472 6.6667
2 PPCS_Female 12 50.3333 0.0000 0.8333 2044.6632 7.0833
ERROR: Class PPCS_Male has 3 members. With 5 variables and using DODS, you need at least 6 members
Is the error message not clear what the problem is?
On 12/30/2022 6:37 PM, miracle ozzoude wrote:
External Email - Use Caution
Hello,
I have 2 groups (group 1 = 3 members, group 2 = 12 members) and I did like to regress out the effects of groups + other variables by using doss. However, whenever I specify doss with the mri_glmfit command, it gives me an error message (see below). I saw that others have experienced similar issues without any solutions. How can we solve this? Any insight is appreciated.
Best, Paul
mri_glmfit command:
mri_glmfit --y ../../freesurfer/subjects/tracula_output/stats/mcp.avg16_syn_bbr.FA.nii.gz --fsgd dti_RPQ_3.fsgd doss --C dti_RPQ.mtx --o mcp_FA.glmdir --save-eres --nii.gz
design.mtx:
0 0 0 0 0 0 0.5
Terminal output:
gdfRead(): reading dti_RPQ_3.fsgd
INFO: DeMeanFlag keyword not found, DeMeaning will NOT be done.
Continuous Variable Means (all subjects)
0 Age 46.9333 9.86216
1 Sports 0.0666667 0.249444
2 Games 1.13333 1.62754
3 Days_TBI 1903.2 907.81
4 RPQ_3 7 2.28035
Class Size and Means of each Continuous Variable
1 PPCS_Male333.3333 0.3333 2.3333 1337.3472 6.6667
2 PPCS_Female 1250.3333 0.0000 0.8333 2044.6632 7.0833
ERROR: Class PPCS_Male has 3 members. With 5 variables and using DODS, you need at least 6 members
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Hello Doug,
Thanks for the quick response. I did see the error. However, I specified doss in the mri_glmfit command and my mtx looks accurate as indicated above. Does that mean it can only work with dods? The reason I'm using 2 groups is because I want to regress out the effect of sex. However, the recommended way to do it in fsgd is to create a class for it and I only have 3 males.
Is there a workaround for this?
Many thanks.
On Fri, Dec 30, 2022 at 6:37 PM miracle ozzoude miracooloz@gmail.com wrote:
Hello,
I have 2 groups (group 1 = 3 members, group 2 = 12 members) and I did like to regress out the effects of groups + other variables by using doss. However, whenever I specify doss with the mri_glmfit command, it gives me an error message (see below). I saw that others have experienced similar issues without any solutions. How can we solve this? Any insight is appreciated.
Best, Paul
mri_glmfit command:
mri_glmfit --y ../../freesurfer/subjects/tracula_output/stats/mcp.avg16_syn_bbr.FA.nii.gz --fsgd dti_RPQ_3.fsgd doss --C dti_RPQ.mtx --o mcp_FA.glmdir --save-eres --nii.gz
design.mtx:
0 0 0 0 0 0 0.5
Terminal output:
gdfRead(): reading dti_RPQ_3.fsgd
INFO: DeMeanFlag keyword not found, DeMeaning will NOT be done.
Continuous Variable Means (all subjects)
0 Age 46.9333 9.86216
1 Sports 0.0666667 0.249444
2 Games 1.13333 1.62754
3 Days_TBI 1903.2 907.81
4 RPQ_3 7 2.28035
Class Size and Means of each Continuous Variable
1 PPCS_Male 3 33.3333 0.3333 2.3333 1337.3472 6.6667
2 PPCS_Female 12 50.3333 0.0000 0.8333 2044.6632 7.0833
ERROR: Class PPCS_Male has 3 members. With 5 variables and using DODS, you need at least 6 members
Oh, I see what you mean. Can you try putting the line "DOSS" (no quotes) into your FSGD file?
On 1/3/2023 11:51 AM, miracle ozzoude wrote:
External Email - Use Caution
Hello Doug,
Thanks for the quick response. I did see the error. However, I specified doss in the mri_glmfit command and my mtx looks accurate as indicated above. Does that mean it can only work with dods? The reason I'm using 2 groups is because I want to regress out the effect of sex. However, the recommended way to do it in fsgd is to create a class for it and I only have 3 males.
Is there a workaround for this?
Many thanks.
On Fri, Dec 30, 2022 at 6:37 PM miracle ozzoude miracooloz@gmail.com wrote:
Hello, I have 2 groups (group 1 = 3 members, group 2 = 12 members) and I did like to regress out the effects of groups + other variables by using doss. However, whenever I specify doss with the mri_glmfit command, it gives me an error message (see below). I saw that others have experienced similar issues without any solutions. How can we solve this? Any insight is appreciated. Best, Paul mri_glmfit command: mri_glmfit --y ../../freesurfer/subjects/tracula_output/stats/mcp.avg16_syn_bbr.FA.nii.gz --fsgd dti_RPQ_3.fsgd doss --C dti_RPQ.mtx --o mcp_FA.glmdir --save-eres --nii.gz design.mtx: 0 0 0 0 0 0 0.5 Terminal output: gdfRead(): reading dti_RPQ_3.fsgd INFO: DeMeanFlag keyword not found, DeMeaning will NOT be done. Continuous Variable Means (all subjects) 0 Age 46.9333 9.86216 1 Sports 0.0666667 0.249444 2 Games 1.13333 1.62754 3 Days_TBI 1903.2 907.81 4 RPQ_3 7 2.28035 Class Size and Means of each Continuous Variable 1 PPCS_Male333.3333 0.3333 2.3333 1337.3472 6.6667 2 PPCS_Female 1250.3333 0.0000 0.8333 2044.6632 7.0833 ERROR: Class PPCS_Male has 3 members. With 5 variables and using DODS, you need at least 6 members
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Hello Doug,
Do you mean like this?
GroupDescriptorFile 1
Title Rivermead cluster 2
DOSS
Class PPCS_Male
Class PPCS_Female
Variables Age Sports Games Days_TBI RPQ_13
If yes, i did but still getting similar area
Best,
Paul
On Tue, Jan 3, 2023 at 11:51 AM miracle ozzoude miracooloz@gmail.com wrote:
Hello Doug,
Thanks for the quick response. I did see the error. However, I specified doss in the mri_glmfit command and my mtx looks accurate as indicated above. Does that mean it can only work with dods? The reason I'm using 2 groups is because I want to regress out the effect of sex. However, the recommended way to do it in fsgd is to create a class for it and I only have 3 males.
Is there a workaround for this?
Many thanks.
On Fri, Dec 30, 2022 at 6:37 PM miracle ozzoude miracooloz@gmail.com wrote:
Hello,
I have 2 groups (group 1 = 3 members, group 2 = 12 members) and I did like to regress out the effects of groups + other variables by using doss. However, whenever I specify doss with the mri_glmfit command, it gives me an error message (see below). I saw that others have experienced similar issues without any solutions. How can we solve this? Any insight is appreciated.
Best, Paul
mri_glmfit command:
mri_glmfit --y ../../freesurfer/subjects/tracula_output/stats/mcp.avg16_syn_bbr.FA.nii.gz --fsgd dti_RPQ_3.fsgd doss --C dti_RPQ.mtx --o mcp_FA.glmdir --save-eres --nii.gz
design.mtx:
0 0 0 0 0 0 0.5
Terminal output:
gdfRead(): reading dti_RPQ_3.fsgd
INFO: DeMeanFlag keyword not found, DeMeaning will NOT be done.
Continuous Variable Means (all subjects)
0 Age 46.9333 9.86216
1 Sports 0.0666667 0.249444
2 Games 1.13333 1.62754
3 Days_TBI 1903.2 907.81
4 RPQ_3 7 2.28035
Class Size and Means of each Continuous Variable
1 PPCS_Male 3 33.3333 0.3333 2.3333 1337.3472 6.6667
2 PPCS_Female 12 50.3333 0.0000 0.8333 2044.6632 7.0833
ERROR: Class PPCS_Male has 3 members. With 5 variables and using DODS, you need at least 6 members
freesurfer@nmr.mgh.harvard.edu