JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for FSL Archives


FSL Archives

FSL Archives


FSL@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

FSL Home

FSL Home

FSL  May 2011

FSL May 2011

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: TFCE power analysis

From:

Thomas Nichols <[log in to unmask]>

Reply-To:

FSL - FMRIB's Software Library <[log in to unmask]>

Date:

Thu, 12 May 2011 10:46:43 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (135 lines)

Dear Emma,

Good to hear from you.  I've been puzzling over this since Steve & I discussed last week.  

Firstly, let me state that post-hoc power analyses are perilous.  See [1].

Second, the best way to find out the scale factor needed to increase your observed TFCE to a target level is to use fslmaths.  E.g. fslmaths  with your T-image and "-tfce 2 0.5 6" should give you the TFCE image randomise produces.  Then, playing around with different multiplication factors, scaling your T-image up or down with fslmaths -mul, will change the TFCE image by some amount.  This will require something like a binary search, but it will give you a concrete answer to "by how much did my data have to increase in order to reach a TFCE value of X.

Finally, if we make a bunch of assumptions, we can use some algebra to estimate what the scale factor is.  Steve correctly predicted the cubic relationship with height, but this neglected the extent term.  Below is a sketch of a proof, but if we assume that the statistic has a parabolic shape around the peak, then e(h) will scale with a 3/2-rd power term; the E=1/2 power makes this a 3/4-rd power, and so the overall approximate scaling factor is 3+3/4 or 4.25.  (Note that in the TFCE paper, RFT argues for H=2/3, in which case the power would be exactly 4).  So, if you require TFCE to increase by a multiplicative factor M, then the statistic image would need to be scaled by M^(1/4.25).  For your case of M=3, this is 1.295.


So, I'd try the empirical approach with fslmaths; after checking that you can reproduce your TFCE image exactly with no scaling, try a scaling of 1.3, and see how close that gets you to your target.

-Tom


Derivation:

For a statistic image Z, at a given voxel with intensity z, define TFCE as
    TFCE(z) = \int_0^z e(h)^1/2 h^2 dh
in pseudo-LaTeX, where e(h) is the extent of the cluster containing the given voxel based on a cluster-forming threshold h.

For a peak of interest, assume the TFCE score is dominated by the local cluster, and that the form of the statistic image about the peak is parabolic.  Let K>1 be the scalefactor that transforms the existing statistic image Z into a new, hypothetical dataset, i.e.
	Z* = K Z
Then, based on a parabolic assumption (see Eqn 5 in [2]), around the peak voxel
	e*(z_new) = e*(K z) = K^3/2 e(z)
Thus
	TFCE*(z*) = \int_0^z* e*(h*)^1/2 h*^2 dh*
with a change of variables (h*=K h, dh* = K dh) we have
	                              = \int_0^z* e*(K h)^1/2 K^2 h^2 K dh
and with the parabolic approximation 
	                              = \int_0^z* K^3/4 e(h)^1/2 K^2 h^2 dh
and re-arranging 
	                              = K^{3+3/4} \int_0^z* e(h)^1/2 h^2 dh
Finally, note that at the peak voxel with value z*_peak, e(h) is zero for h>z_peak, so we only need to consider the integral up to z_peak.  This gives peak TFCE value in the new image as
	TFCE_new(z*) = K^4.25 TFCE(z)

So, based on the local parabolic approximation, to obtain a M-fold increase in TFCE you'll need an M^(1/4.25) increase in z.


[1] Hoenig, J. M., & Heisey, D. M. (2001). The Abuse of Power: The Pervasive Fallacy of Power Calculations for Data Analysis. The American Statistician, 55(1), 1-6.

[2] Zhang, H., Nichols, T. E., & Johnson, T. D. (2009). Cluster mass inference via random field theory. Neuroimage, 44(1), 51–61. Elsevier. doi: 10.1016/j.neuroimage.2008.08.017.


On 11 May 2011, at 13:19, Emma Sprooten wrote:

> 
> 
> 
> -----------------------------------------------------------------------
> 
> source: https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=FSL;33b6d1f5.1105
> 
> On Tue, May 3, 2011 at 1:07 AM, Stephen Smith <[log in to unmask]> wrote:
> 
>     Hi - interesting, this hasn't come up before.    Probably Tom
> should check what I say below?..
> 
> 
>     On 2 May 2011, at 13:23, Emma Sprooten wrote:
> 
>>    Hello,
>> 
>>    I'm trying to do a post-hoc power analysis for a negative result  I obtained with TBSS using TFCE, ie. checking that the negative  result isn't due to sample size. For example, I would like to  estimate the sample size required to get a significant result, using  the critical TFCE value derived from another (positive) analysis  with the same sample.
>> 
>>    I was thinking of calculating (somehow) the raw T-stat required  to obtain a critical TFCE (180,000) given the current "extent/e(h)"  for the voxel with the maximum effect size. From there I was going  to do a normal power analysis to estimate the required sample size  to get this T.
> 
>     Yes - this is the way to go I think and is pretty easy.  So -
> find the best TFCE voxel and work out how much you would have to
> multiply it by to reach the critical value (let's say 1.8).
> 
>     Then convert this to a scaling factor for the raw t-stat
> values??given that the E parameter is 2, then looking at Eq1 in the
> TFCE paper, I think after integration over h (meaning t), you'll have
> a cubic relationship between the max t value and the TFCE statistic -
> though this could also depend on how the shape e(h) interacts with
> this.  So a rough estimate would be that you take the cube-root of 1.8
> and say that you would have needed that much larger peak effect size
> to get significance.
> 
>     It might well be that this rough answer is changed (hopefully not
> too much) by the effect of e(h)??
> 
>     Cheers.
> 
> 
> 
> 
> 
>>    And/or do it the other way: finding out what the extent  (supporting area) would need to be to obtain the critical TFCE given  the maximum raw T ("h") of my negative analysis.
>> 
>>    I can't get my head around this for several reasons. First I'm  not sure what "h" represents in the TFCE equasion. I'm guessing in  my case it is the raw T-statistic but I'm not sure. Also, following  the TFCE equasion, in reality e(h) changes according to h, so I'm  wondering whether it is right to assume e(h) remains constant while  caluclating the required h?
>> 
>>    I'm partly hoping I'm making this more difficult than it reallu  is.... Is there a simpler solution? Has anyone else done this  already (can't find anything so far). Or is there an existing  equation describing TFCE as a function of sample size? Or otherwise,  ideas on how to check for power issues in a less empirical way are  also very welcome!
>> 
>>    Thanks!
>>    Emma
>> 
>>    p.s. I'm not mathematician 8-/
>> 
> 
> 
> 
> ---------------------------------------------------------------------------
>     Stephen M. Smith, Professor of Biomedical Engineering
>     Associate Director,  Oxford University FMRIB Centre
> 
>     FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
>     +44 (0) 1865 222726  (fax 222717)
>     [log in to unmask]    http://www.fmrib.ox.ac.uk/~steve
> 
> ---------------------------------------------------------------------------
> 
> 
> 
> 
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> <TFCE_equations.pdf><TFCE_equations.doc>

____________________________________________
Thomas Nichols, PhD
Principal Research Fellow, Head of Neuroimaging Statistics
Department of Statistics & Warwick Manufacturing Group
University of Warwick
Coventry  CV4 7AL
United Kingdom

Email: [log in to unmask]
Phone, Stats: +44 24761 51086, WMG: +44 24761 50752
Fax:  +44 24 7652 4532

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

May 2024
April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager