fMRI parcellated group analysis PALM results values range

332 views
Skip to first unread message

Estephan Moana

unread,
Jan 26, 2021, 2:30:42 PM1/26/21
to HCP-Users
Hello, I ran a fMRI group analysis on parcellated data using PALM. I did a 3-group F-test design <https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/GLM#F-Tests_.28Inter-Group_differences.2C_no_repeated_measures.29>.

I am interested in looking at each group's mean brain activation in addition to the F-test results. However I only get positive results for the fwep CIFTI file, nothing in the negative range. Here's the CIFTI tstat output file for one of the  group means (contrast #3) which has negative and positive values:
Map   Minimum   Maximum    Mean   Sample Dev   % Positive   % Negative   Inf/NaN   Map Name   
  1    -3.126     5.337   1.348        1.517       81.865       18.135         0

But the fwep CIFTI output file for this contrast only has positive values:
Map   Minimum   Maximum    Mean   Sample Dev   % Positive   % Negative   Inf/NaN   Map Name   
  1     0.000     3.097   0.242        0.538       55.440        0.000         0

I expected to see activations (positive) and deactivations (negative) for those group means. Can you help me understand how to do so? I pasted below my call for PALM, which included the "-twotail" option. Thank you.

Estephan

# Configuration file for PALM.
# Version alpha116, running in MATLAB 9.6.0.1174912 (R2019a) Update 5.
# 20-Jan-2021 10:11:51

-i /home/moanae/shared/project_K99_ChrTMDHCP/derivatives/01_taskfMRI_GroupAnalysis_dentalvpress/datafiles_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_GroupAnalysis_01_TaskfMRI-n50/Y_s2.ptseries.nii
-d /home/moanae/shared/project_K99_ChrTMDHCP/derivatives/01_taskfMRI_GroupAnalysis_dentalvpress/GLM_files/fsf_templates/TaskfMRI_02_CtlxTMDlowxTMDhigh_01_F-test_2tail.mat
-t /home/moanae/shared/project_K99_ChrTMDHCP/derivatives/01_taskfMRI_GroupAnalysis_dentalvpress/GLM_files/fsf_templates/TaskfMRI_02_CtlxTMDlowxTMDhigh_01_F-test_2tail.con
-f /home/moanae/shared/project_K99_ChrTMDHCP/derivatives/01_taskfMRI_GroupAnalysis_dentalvpress/GLM_files/fsf_templates/TaskfMRI_02_CtlxTMDlowxTMDhigh_01_F-test_2tail.fts
-o /home/moanae/shared/project_K99_ChrTMDHCP/derivatives/01_taskfMRI_GroupAnalysis_dentalvpress/GroupAnalysis_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_TaskfMRI_02_CtlxTMDlowxTMDhigh_01_F-test_2tail_SingleEB/results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2
-n 5000
-transposedata
-vg auto
-fdr
-logp
-twotail


Winkler, Anderson (NIH/NIMH) [E]

unread,
Jan 27, 2021, 11:48:18 AM1/27/21
to hcp-...@humanconnectome.org

Hi Estephan,

 

What are the names of the files that you’re looking into? The fwep files contain p-values, and with the (recommended) -logp option, these are always positive.

 

All the best,

 

Anderson

--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/96806701-c5bb-46ed-913d-acf8ee405631n%40humanconnectome.org.

Estephan Moana

unread,
Jan 27, 2021, 12:09:26 PM1/27/21
to HCP-Users, Winkler, Anderson (NIH/NIMH) [E]
Thanks for you reply, Anderson. These are the files I am looking at:
  • results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c1.pscalar.nii
  • results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c2.pscalar.nii
  • results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c3.pscalar.nii
Since fwep files always contain positive p-values when using the -logp option, how should I interpret these p-values with regards mean group activations/deactivations?

Thank you.

Estephan

Glasser, Matthew

unread,
Jan 27, 2021, 12:11:57 PM1/27/21
to hcp-...@humanconnectome.org, Winkler, Anderson (NIH/NIMH) [E]

A p-value is a measure of statistical significance not of effect size.  A p-value tells you only the likelihood that a test is not due to random variation, not how strong an effect is or in what direction.  Despite what you might find in the literature, showing maps of thresholded p-values is not best practice. 

 

Matt.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Estephan Moana

unread,
Jan 27, 2021, 12:15:46 PM1/27/21
to HCP-Users, glas...@wustl.edu, Winkler, Anderson (NIH/NIMH) [E]
That's a good point, Matt. So if I want to look into the group mean activations/deactivations, how would you suggest me to proceed?

Glasser, Matthew

unread,
Jan 27, 2021, 12:18:03 PM1/27/21
to Estephan Moana, HCP-Users, Winkler, Anderson (NIH/NIMH) [E]

What files are available to you?

Matt.

Estephan Moana

unread,
Jan 27, 2021, 12:22:04 PM1/27/21
to HCP-Users, glas...@wustl.edu, Winkler, Anderson (NIH/NIMH) [E], Estephan Moana
The ones generated by the PALM call I posted previously:
  • F-test: fstat, fstat_uncp, fstat_fdrp, fstat_fwep
  • Group mean contrasts (c1-3): tstat, tstat_uncp, tstat_fdrp, tstat_fwep
I attached an screenshoot of the folder with the files listed. Thank you.
Screen Shot 2021-01-27 at 11.18.38 AM.png

Glasser, Matthew

unread,
Jan 27, 2021, 12:27:11 PM1/27/21
to hcp-...@humanconnectome.org, Winkler, Anderson (NIH/NIMH) [E], Estephan Moana

I guess none of those are really effect size measures (as the plain tstat files will still be scaled by the square root of sample size).  Ideally, PALM would also output an effect size measure, but the tstat files would at least give you positives and negatives.

Winkler, Anderson (NIH/NIMH) [E]

unread,
Jan 27, 2021, 12:38:47 PM1/27/21
to hcp-...@humanconnectome.org

If you use the PALM version from Github (do a "git clone https://github.com/andersonwinkler/PALM), the option -saveglm has been updated to output Cohen's d, which is a standardized measure of effect size.

 

The -log(p) has a linear-ish relationship with the effect size (at least more linear than the p-values in their original range 0-1). This means that the colorscale isn't too different between -log(p) and Cohen's d or t-stat, so for viewing it's a quick option.

Estephan Moana

unread,
Jan 27, 2021, 12:55:00 PM1/27/21
to HCP-Users, glas...@wustl.edu, Winkler, Anderson (NIH/NIMH) [E], Estephan Moana
I see. I did look into generating effect size maps for these group means by
following the methods in this reference: Geuter, S., et al. (2018). "Effect
Size and Power in fMRI Group Analysis." bioRxiv: 295048. It basically
consists of generating CIFTI files with the mean and the standard deviation
for each group using the concatenated CIFTI COPE files from 2nd level (the
input file for the PALM analysis), then calculating Cohen's d CIFTI files
for each group by calculating the mean/std dev. Is this a reasonable
approach in your opinion?

I did find that the Cohen's d effect sizes were rather large, and also an
interesting finding. One of the groups had effect sizes ranging from -0.84
to 1.48, however it did not any activation surviving thresholding (all
-logp values were less than 1.301). Please see below the screenshots
showing the Cohen's d map for this group, the overlay and map settings and
the fwep results in -logp format. What are your thoughts on this?





On Wednesday, January 27, 2021 at 11:27:11 AM UTC-6 glas...@wustl.edu wrote:

> I guess none of those are really effect size measures (as the plain tstat
> files will still be scaled by the square root of sample size). Ideally,
> PALM would also output an effect size measure, but the tstat files would at
> least give you positives and negatives.
>
>
> Matt.
>
>
>
> *From: *Estephan Moana <esteph...@gmail.com>
> *Reply-To: *"hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
> *Date: *Wednesday, January 27, 2021 at 11:22 AM
> *To: *HCP-Users <hcp-...@humanconnectome.org>
> *Cc: *"Glasser, Matthew" <glas...@wustl.edu>, "Winkler, Anderson
> (NIH/NIMH) [E]" <anderson...@nih.gov>, Estephan Moana <esteph...@gmail.com
> >
> *Subject: *Re: [hcp-users] fMRI parcellated group analysis PALM results
> values range
>
>
>
>
>
> The ones generated by the PALM call I posted previously:
>
> - F-test: fstat, fstat_uncp, fstat_fdrp, fstat_fwep
> - Group mean contrasts (c1-3): tstat, tstat_uncp, tstat_fdrp,
> tstat_fwep
>
> I attached an screenshoot of the folder with the files listed. Thank you.
>
>
>
> On Wednesday, January 27, 2021 at 11:18:03 AM UTC-6 glas...@wustl.edu
> wrote:
>
> What files are available to you?
>
> Matt.
>
>
>
> *From: *Estephan Moana <esteph...@gmail.com>
> *Date: *Wednesday, January 27, 2021 at 11:15 AM
> *To: *HCP-Users <hcp-...@humanconnectome.org>
> *Cc: *"Glasser, Matthew" <glas...@wustl.edu>, "Winkler, Anderson
> (NIH/NIMH) [E]" <anderson...@nih.gov>
> *Subject: *Re: [hcp-users] fMRI parcellated group analysis PALM results
> values range
>
>
>
> That's a good point, Matt. So if I want to look into the group mean
> activations/deactivations, how would you suggest me to proceed?
>
> On Wednesday, January 27, 2021 at 11:11:57 AM UTC-6 glas...@wustl.edu
> wrote:
>
> A p-value is a measure of statistical significance not of effect size. A
> p-value tells you only the likelihood that a test is not due to random
> variation, not how strong an effect is or in what direction. Despite what
> you might find in the literature, showing maps of thresholded p-values is
> not best practice.
>
>
>
> Matt.
>
>
>
> *From: *Estephan Moana <esteph...@gmail.com>
> *Reply-To: *"hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
> *Date: *Wednesday, January 27, 2021 at 11:09 AM
> *To: *HCP-Users <hcp-...@humanconnectome.org>
> *Cc: *"Winkler, Anderson (NIH/NIMH) [E]" <anderson...@nih.gov>
> *Subject: *Re: [hcp-users] fMRI parcellated group analysis PALM results
> values range
>
>
>
>
>
> Thanks for you reply, Anderson. These are the files I am looking at:
>
> -
> results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c1.pscalar.nii
> -
> results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c2.pscalar.nii
> -
> results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c3.pscalar.nii
>
> Since fwep files always contain positive p-values when using the -logp
> option, how should I interpret these p-values with regards mean group
> activations/deactivations?
>
>
>
> Thank you.
>
>
>
> Estephan
>
>
>
> On Wednesday, January 27, 2021 at 10:48:18 AM UTC-6 Winkler, Anderson
> (NIH/NIMH) [E] wrote:
>
> Hi Estephan,
>
>
>
> What are the names of the files that you’re looking into? The fwep files
> contain p-values, and with the (recommended) -logp option, these are always
> positive.
>
>
>
> All the best,
>
>
>
> Anderson
>
>
>
>
>
> *From: *Estephan Moana <esteph...@gmail.com>
> *Reply-To: *"hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
> *Date: *Tuesday, January 26, 2021 at 14:31
> *To: *HCP-Users <hcp-...@humanconnectome.org>
> *Subject: *[hcp-users] fMRI parcellated group analysis PALM results
> <https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/96806701-c5bb-46ed-913d-acf8ee405631n%40humanconnectome.org?utm_medium=email&utm_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "HCP-Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hcp-users+...@humanconnectome.org.
>
> To view this discussion on the web visit
> https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/757f4625-8688-4aed-bd1f-390e2a9327d5n%40humanconnectome.org
> <https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/757f4625-8688-4aed-bd1f-390e2a9327d5n%40humanconnectome.org?utm_medium=email&utm_source=footer>
> .
>
>
> ------------------------------
>
> The materials in this message are private and may contain Protected
> Healthcare Information or other information of a sensitive nature. If you
> are not the intended recipient, be advised that any unauthorized use,
> disclosure, copying or the taking of any action in reliance on the contents
> of this information is strictly prohibited. If you have received this email
> in error, please immediately notify the sender via telephone or return mail.
>
>
> ------------------------------
>
> The materials in this message are private and may contain Protected
> Healthcare Information or other information of a sensitive nature. If you
> are not the intended recipient, be advised that any unauthorized use,
> disclosure, copying or the taking of any action in reliance on the contents
> of this information is strictly prohibited. If you have received this email
> in error, please immediately notify the sender via telephone or return mail.
>
> --
> You received this message because you are subscribed to the Google Groups
> "HCP-Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hcp-users+...@humanconnectome.org.
>
> To view this discussion on the web visit
> https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/0b60ca3f-95dc-46e3-8912-1b5d499cb3fbn%40humanconnectome.org
> <https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/0b60ca3f-95dc-46e3-8912-1b5d499cb3fbn%40humanconnectome.org?utm_medium=email&utm_source=footer>
> .
>
>
> ------------------------------

Estephan Moana

unread,
Jan 27, 2021, 12:55:54 PM1/27/21
to HCP-Users, Winkler, Anderson (NIH/NIMH) [E]
Good to know, I'll take a look at the github version. Thank you.

Glasser, Matthew

unread,
Jan 27, 2021, 1:04:03 PM1/27/21
to Estephan Moana, HCP-Users, Winkler, Anderson (NIH/NIMH) [E]

Maybe see if the new version of PALM has similar results?

Matt.

 

From: Estephan Moana <esteph...@gmail.com>


Date: Wednesday, January 27, 2021 at 11:55 AM
To: HCP-Users <hcp-...@humanconnectome.org>

Cc: "Glasser, Matthew" <glas...@wustl.edu>, "Winkler, Anderson (NIH/NIMH) [E]" <anderson...@nih.gov>, Estephan Moana <esteph...@gmail.com>
Subject: Re: [hcp-users] fMRI parcellated group analysis PALM results values range

 

 

I see. I did look into generating effect size maps for these group means by following the methods in this reference: Geuter, S., et al. (2018). "Effect Size and Power in fMRI Group Analysis." bioRxiv: 295048. It basically consists of generating CIFTI files with the mean and the standard deviation for each group using the concatenated CIFTI COPE files from 2nd level (the input file for the PALM analysis), then calculating Cohen's d CIFTI files for each group by calculating the mean/std dev. Is this a reasonable approach in your opinion?

 

I did find that the Cohen's d effect sizes were rather large, and also an interesting finding. One of the groups had effect sizes ranging from -0.84 to 1.48, however it did not any activation surviving thresholding (all -logp values were less than 1.301). Please see below the screenshots showing the Cohen's d map for this group, the overlay and map settings and the fwep results in -logp format. What are your thoughts on this?

 

3mHvMTiqmP4AAAAASUVORK5CYII=

 

 

2HjqTVEAAAAAElFTkSuQmCC

 

 

wcLWfUL1b3cegAAAABJRU5ErkJggg==

On Wednesday, January 27, 2021 at 11:27:11 AM UTC-6 glas...@wustl.edu wrote:

I guess none of those are really effect size measures (as the plain tstat files will still be scaled by the square root of sample size).  Ideally, PALM would also output an effect size measure, but the tstat files would at least give you positives and negatives.


Matt.

 

From: Estephan Moana <esteph...@gmail.com>


Reply-To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Date: Wednesday, January 27, 2021 at 11:22 AM
To: HCP-Users <hcp-...@humanconnectome.org>

Cc: "Glasser, Matthew" <glas...@wustl.edu>, "Winkler, Anderson (NIH/NIMH) [E]" <anderson...@nih.gov>, Estephan Moana <esteph...@gmail.com>
Subject: Re: [hcp-users] fMRI parcellated group analysis PALM results values range

 

 

The ones generated by the PALM call I posted previously:

  • F-test: fstat, fstat_uncp, fstat_fdrp, fstat_fwep
  • Group mean contrasts (c1-3): tstat, tstat_uncp, tstat_fdrp, tstat_fwep

I attached an screenshoot of the folder with the files listed. Thank you.

On Wednesday, January 27, 2021 at 11:18:03 AM UTC-6 glas...@wustl.edu wrote:

What files are available to you?

Matt.

 

From: Estephan Moana <esteph...@gmail.com>


Date: Wednesday, January 27, 2021 at 11:15 AM
To: HCP-Users <hcp-...@humanconnectome.org>

Cc: "Glasser, Matthew" <glas...@wustl.edu>, "Winkler, Anderson (NIH/NIMH) [E]" <anderson...@nih.gov>
Subject: Re: [hcp-users] fMRI parcellated group analysis PALM results values range

 

That's a good point, Matt. So if I want to look into the group mean activations/deactivations, how would you suggest me to proceed?

On Wednesday, January 27, 2021 at 11:11:57 AM UTC-6 glas...@wustl.edu wrote:

A p-value is a measure of statistical significance not of effect size.  A p-value tells you only the likelihood that a test is not due to random variation, not how strong an effect is or in what direction.  Despite what you might find in the literature, showing maps of thresholded p-values is not best practice. 

 

Matt.

 

From: Estephan Moana <esteph...@gmail.com>


Reply-To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Date: Wednesday, January 27, 2021 at 11:09 AM
To: HCP-Users <hcp-...@humanconnectome.org>

Cc: "Winkler, Anderson (NIH/NIMH) [E]" <anderson...@nih.gov>
Subject: Re: [hcp-users] fMRI parcellated group analysis PALM results values range

 

 

Thanks for you reply, Anderson. These are the files I am looking at:

  • results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c1.pscalar.nii
  • results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c2.pscalar.nii
  • results_parcellated_Glasser2016-MMP1.0-ModifiedS1subregions_s2_dat_tstat_fwep_c3.pscalar.nii

Since fwep files always contain positive p-values when using the -logp option, how should I interpret these p-values with regards mean group activations/deactivations?

 

Thank you.

 

Estephan

On Wednesday, January 27, 2021 at 10:48:18 AM UTC-6 Winkler, Anderson (NIH/NIMH) [E] wrote:

Hi Estephan,

 

What are the names of the files that you’re looking into? The fwep files contain p-values, and with the (recommended) -logp option, these are always positive.

 

All the best,

 

Anderson

--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.

The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.

The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Harms, Michael

unread,
Jan 27, 2021, 1:48:42 PM1/27/21
to hcp-...@humanconnectome.org, Estephan Moana, Winkler, Anderson (NIH/NIMH) [E]

 

Either the particular calculation you used for Cohen’s d isn’t correct, or your N is rather small.

 

Cheers,

-MH

 

-- 

Michael Harms, Ph.D.

-----------------------------------------------------------

Associate Professor of Psychiatry

Washington University School of Medicine

Department of Psychiatry, Box 8134

660 South Euclid Ave.                        Tel: 314-747-6173

St. Louis, MO  63110                          Email: mha...@wustl.edu

 

From: "Glasser, Matthew" <glas...@wustl.edu>
Reply-To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Date: Wednesday, January 27, 2021 at 12:04 PM
To: Estephan Moana <esteph...@gmail.com>, HCP-Users <hcp-...@humanconnectome.org>
Cc: "Winkler, Anderson (NIH/NIMH) [E]" <anderson...@nih.gov>
Subject: Re: [hcp-users] fMRI parcellated group analysis PALM results values range

 

* External Email - Caution *

Estephan Moana

unread,
Jan 27, 2021, 2:42:19 PM1/27/21
to HCP-Users, mha...@wustl.edu, Winkler, Anderson (NIH/NIMH) [E], Estephan Moana
It may be the latter. All groups are n<20.

Doing a quick visual comparison between the thresholded p-value maps and the effect size maps, I noticed that the surviving parcels had effect sizes >0.8.

Reza Rajimehr

unread,
Jan 27, 2021, 6:40:33 PM1/27/21
to hcp-...@humanconnectome.org, Winkler, Anderson (NIH/NIMH) [E], mha...@wustl.edu
Hi Estephan,

Regarding your original question:

Unlike some other packages (e.g. Freesurfer), PALM does not make two-sided t maps, and it converts negative t values to zero. Thus, for any comparison in PALM, you need to make two contrasts: one looking at areas/vertices with greater activation in condition 1 (e.g. stimulus) than condition 2 (e.g. baseline), and the other for looking at areas/vertices with greater activation in condition 2 than condition 1.

Assuming that you do not have true t=0 in your maps, you can combine the two output cifti maps using an operation like this in Matlab:

merged_map = map1vs2 + (-1)*map2vs1;

It could have been nice if PALM had an option to generate two-sided t maps.

Hope this helps,

Best,
Reza


Estephan Moana

unread,
Jan 28, 2021, 2:10:04 PM1/28/21
to HCP-Users, raji...@gmail.com, Winkler, Anderson (NIH/NIMH) [E], mha...@wustl.edu
Thanks Reza, I'll look into it.

Winkler, Anderson (NIH/NIMH) [E]

unread,
Jan 28, 2021, 2:18:31 PM1/28/21
to hcp-...@humanconnectome.org

Hi Reza,

 

Thanks for commenting but this isn't correct really. PALM doesn't convert negative t-values to zero (or to anything). They are reported as usual, along with their p-values.

 

Perhaps you are alluding to two-sided p-values, i.e, instead of testing if t >= t_critical, one would be interested if |t| >= t_critical. That can be accomplished with the option -twotail, and even here, the negative t-stats are still reported as they come.

 

Having said that, yes, doing two contrasts (e.g., A>B and also A<B), then correcting using -corrcon, is recommended, but not mandatory.

 

Happy to add more information if anything isn't clear.

 

Thanks again!

Image removed by sender. 3mHvMTiqmP4AAAAASUVORK5CYII=

 

 

Image removed by sender. 2HjqTVEAAAAAElFTkSuQmCC

 

 

Image removed by sender. wcLWfUL1b3cegAAAABJRU5ErkJggg==

Reza Rajimehr

unread,
Jan 28, 2021, 3:25:33 PM1/28/21
to hcp-...@humanconnectome.org
Hi Anderson,

Sorry if I made an incorrect comment. My comment was just based on what we experienced with PALM in our analyses. It is possible that we did not use an option in the PALM command. Not seeing the negative t values could be also related to the way we coded conditions in the contrast file. Following an example in the FSL website, we had a contrast file like this:

1   0
0   1

If we had defined only one contrast in the format of 1 -1, we would have seen negative t values in the output cifti file?

Best,
Reza


Winkler, Anderson (NIH/NIMH) [E]

unread,
Jan 29, 2021, 10:29:49 AM1/29/21
to hcp-...@humanconnectome.org

Hi Reza,

 

Depends on the data. If the data are all positive or mostly positive, it's possible that the means are then all positive, hence all positive t-stats.

Error! Filename not specified.

 

 

Error! Filename not specified.

 

 

Error! Filename not specified.

Lisanne Jenkins

unread,
Aug 4, 2024, 8:48:13 PM8/4/24
to HCP-Users, Winkler, Anderson (NIH/NIMH) [E]
Hi,
I would also like to get a measure of effect size and tried using the -saveglm flag with the github version. However I am encountering an error that I didn't get before that says:
Error using palm_cohen (/usr/local/bin/PALM/palm_cohen.m42)
Undefined function 'range' for input arguments of type 'double'
Error in palm_core (/usr/local/bin/PALM/palm_core.m:1425-> palm_cohen)
Error in palm (/usr/local/bin/PALM/palm/m:81->palm_core)
Any advice please?
Thanks,
Lisanne

Anderson Winkler

unread,
Aug 5, 2024, 12:42:08 AM8/5/24
to hcp-...@humanconnectome.org

Hi Lisanne,

 

Which version of Matlab/Octave are you using? Please, try replacing that offending line (line 42 in palm_cohen.m) for:

 

cattmp = vertcat(M*plm.eC{y}{m}{c}{o},0)

mintmp = min(cattmp,1)

maxtmp = max(cattmp,1)

Xr     = maxtmp - mintmp;

 

I believe it will work (though I’m not testing at this time).

 

All the best,

 

Anderson

 

From: 'Lisanne Jenkins' via HCP-Users <hcp-...@humanconnectome.org>
Date: Sunday, August 4, 2024 at 7:48
PM
To: HCP-Users <hcp-...@humanconnectome.org>
Cc: Winkler, Anderson (NIH/NIMH) [E] <anderson...@nih.gov>
Subject: Re: [hcp-users] fMRI parcellated group analysis PALM results values range

  External Mail

  This email originated outside of The University of Texas Rio Grande Valley.
  Please exercise caution when clicking on links or opening attachments.

Lisanne Jenkins

unread,
Aug 5, 2024, 12:44:30 AM8/5/24
to hcp-...@humanconnectome.org

Hi,

Thank you for your reply. I worked out the issue – I had to install some matlab add-ons.

Best,

Lisanne

 

 

--
You received this message because you are subscribed to a topic in the Google Groups "HCP-Users" group.
To unsubscribe from this topic, visit https://groups.google.com/a/humanconnectome.org/d/topic/hcp-users/bwmocGR8YB8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/DS0PR05MB97419B59923741711A6E564E82BE2%40DS0PR05MB9741.namprd05.prod.outlook.com.

Reply all
Reply to author
Forward
0 new messages