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

Help for SPM Archives


SPM Archives

SPM Archives


SPM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

SPM Home

SPM Home

SPM  2000

SPM 2000

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

RE: please help..

From:

"Grant, Steven (NIDA)" <[log in to unmask]>

Reply-To:

Grant, Steven (NIDA)

Date:

Mon, 5 Jun 2000 08:21:27 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (265 lines)

Thanks for the clarification. Things are finally starting to sink in. A
couple of issues still are not clear, however.

1) Why was the transformation of the co-variety needed in SPM96/97, but not
in SPM99 ? More precisely, since there is only a single covariate
condition, there is only a single contrast weight (e.g., +1). How does SPM99
end up subtracting the baseline condition from the active condition as
stated in your model given the absence of specifying contrast weights of +1
and -1, as is done for condition effects.

In other words, a difference between conditions could be coded as a single
covariate of -1 (baseline) and +1 (active) in order to have an active -
baseline subtraction. However, if both covariates are positive, then how is
the subtraction achieved. Wouldn't you have to multiply the baseline
covariate by -1 and the active covariate by +1 ? Or is this done
automatically in SPM99, but was not performed in SPM96/97 ?

2)If the baseline covariate is = 0 for all subjects, does this impact the
model ? What if the baseline covariate is non-zero, but the same for all
subjects ?

3) If one used the covariate difference transformation with a
covariates-only design, would this give the same answer as the models you
have now described ?



sg



-----Original Message-----
From: Andrew Holmes [mailto:[log in to unmask]]
Sent: Monday, June 05, 2000 5:00 AM
To: Grant, Steven (NIDA)
Cc: SPM discussion list
Subject: RE: please help..


Dear Steven,

Thanks for your note - reminded me that I'd forgotten to discuss the
interpretation of the main difference effect in David's model:

At 18:44 04/06/2000 -0400, Grant, Steven (NIDA) wrote:
| In previous postings, you stated that when you wish to do a
| regression on a covariate associated with a baseline and an active
| condition, one must transform the covariate so that SPM will
| properly correlate the difference in the covariate with the
| difference in the images. This transformation consisted of
| 1) computing the differences in the covariate
| 2) mean centering the difference
| 3) halving the mean centered difference
| 4) multiplying the baseline covariate by -1 and the active covariate by
+1
|
| This procedure was required in SPM99 so that the +1 contrast on the
| covariate would produce subtraction of model [1] for each scan and
| thereby result in model [2] :
|
| [1] Y_iq = A_q + C * s_iq + B_i + error
|
| [2] (Y_i2 - Y_i1) = D + C(s_i2-s_i1) + error
|
| You do not mention doing this covariate transformation in your reply
| to David Keator. Is this because SPM99 does not require such a
| transformation ?

The transformation is not necessary if you're only interested in the
covariate effect. Mean centering the difference (across subjects) and
applying minus (half) and plus (half) of each subjects difference after
mean centering to the baseline and active scans gives these models:

[1'] Y_iq = A_q + C * 0.5*(s_i2-s_i1 - mean(s_i2-s_i1)) + error

[2'] (Y_i2 - Y_i1) = D + C(s_i2-s_i1 - mean(s_i2-s_i1)) + error
                    = D' + C(s_i2-s_i1) + error

...where
D' = D - C*mean(s_i2-s_i1)

So, the models differ only in the constant (intercept) term, through mean
correction of the difference covariate in model [2']. D is the difference
at a covariate difference of zero, D' the difference at the mean covariate
difference across subjects.

The covariate slope C is the same, as is it's estimate, which is unique,
and both models give the same inference for the effect of covariate, which
is what David was asking for.

| Also, one would expect that the baseline/active effect would highly
| correlated with the covariate effect since presumably the covariate
| would be affected by the drug administration.

True, but we're interested in the difference of the covariate.

| Therefore, wouldn't model [2] would greatly underestimate the
| correlation between the difference in the covariate and the
| difference in the scan.

No. Remember that the Pearson correlation coefficient discounts overall
differences between the two variates (by mean correcting the two variates).
Recall that a test of non-zero correlation is equivalent to a test of
non-zero slope in a simple linear regression (which is what [2] and [2']
are).

| Since the covariate and the scan condition are not orthogonal (i.e.
| the drug induces a change in both the scan and the covariate), it
| is not appropriate to try and partition these two effect
| independently of each other.

Lack of orthogonality does not necessarily imply that two effects cannot be
looked at separately.

We *want* to look at the covariate effect after removing the condition
effect common to all subjects, since this gives us a test equivalent to a
test of non-zero correlation of difference of covariate with difference of
scan scores. Mean correction (or not) of the covariate (i.e. the difference
covariate of models [2] & [2']) makes no difference to this.

Mean correction of the covariate does affect the test of the difference
effect, since this is testing the difference after removing effects due to
the covariate. (Contrasts [-1 +1 0] & [+1 -1 0] for models [1] & [1'].)
Different centering schemes will give different interpretations. With no
mean centering we're looking at D in model [2], i.e. we're looking at the
difference at a covariate difference of zero. With mean centering (of the
difference) we're looking at D' in model [2'], i.e. the difference at the
mean covariate difference.

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

Hope this clarifies the situation, and thanks for raising it.

-andrew

PS: See also comments by Jon Raz, who originally pointed out to me that the
transformation of the covariate into +/- half centered differences was not
required:
http://www.mailbase.ac.uk/lists/spm/1999-01/0139.html
in response to:
http://www.mailbase.ac.uk/lists/spm/1998-09/0102.html



| -----Original Message-----
| From: Andrew Holmes [mailto:[log in to unmask]]
| Sent: Thursday, June 01, 2000 12:47 PM
| To: Keator, David
| Cc: [log in to unmask]
| Subject: Re: please help..
|
|
| Dear David,
|
| At 17:25 16/05/2000 -0700, Keator, David wrote:
| | I'm trying to do simple correlations with SPM99..will someone please
| | help me, this should be very simple.
| |
| | I have 2 PET scans per subject, one at baseline and one on drug. I
| | have 2 clinical rating scores, one at baseline and one after drug.
| | I want to look at increases in GMR after drug correlated with
| | increases in the clinical rating. I also want to look at negative
| | correlations. What model should I use and how do I define the
| | contrasts??
|
| PET/SPECT models: Multi-subject, conditions and covariates. For each
| subject, enter the two scans as baseline and then drug. One covariate,
| values are the clinical rating scores in the order you selected the
scans,
| i.e. baseline score for subject 1, drug score for subject 1, baseline
| score for subject 2, drug score for subject 2, &c. No interactions
| for the covariate. No covariate centering. No nuisance variables. I'd
| use proportional scaling global normalisation, if any. (You could use
| "straight" Ancova (with grand mean scaling by subject), but SPM99 as only

| offers you AnCova by subject, which here would leave you with more
| parameters than images, and a completely unestimable model).
|
| Your model (at the voxel level) is:
|
| [1] Y_iq = A_q + C * s_iq + B_i + error
|
| ...where:
| Y_iq is the baseline (q=1) / drug (q=2) scan on subject i
| (i=1,...,n)
| A_q is the baseline / drug effect
| s_iq is the clinical rating score
| C is the slope parameter for the clinical rating score
| B_i is the subject effect
|
| ...so the design matrix has:
| 2 columns indicating baseline / drug
| 1 column of the covariate
| n columns indicating the subject
|
| You will have n-1 degrees of freedom.
|
| Taking model [1] and subtracting for q=2 from q=1, you get the equivalent

| model:
|
| [2] (Y_i2 - Y_i1) = D + C(s_i2-s_i1) + error
|
| ...where D = (A_2 - A_1), the difference in the baseline & drug main
| effects.
|
| (Note that this only works when there are only two conditions and one
scan
| per condition per subject!)
|
| I.e. a simple regression of the difference in voxel value baseline to
drug
| on the difference in clinical scores, exactly what you want.
|
| ----------------
|
| Entering [0 0 1] (or [0 0 -1] as an F-contrast will test the null
| hypothesis that there is no covariate effect (after accounting for common

| effects across subjects), against the alternative that there is an effect

| (either positive *or* negative. I.e., the SPM{F} will pick out areas
where
| the difference baseline to drug is correlated with the difference in
| clinical scores.
|
| [0 0 +1] and [0 0 -1] as t-contrasts will test against one sided
| alternatives, being a positive & negative correlation (respectively) of
| baseline to drug scan differences with difference in clinical scores.
| Since you're interested in both, you should interpret each at a halved
| significance level (double the p-values). This will give you the same
| inference as the SPM{F} (which is the square of the SPM{t}'s), but with
| the advantage of separating +ve & -ve correlations in the glass brain
| for you.
|
| ----------------
|
| Incidentally, the variance term here incorporates both within and between

| subject variability, and inference extends to the (hypothetical)
| population from which you (randomly!) sampled your subjects from.
|
| ----------------
|
| Hope this helps,
|
| -andrew
|
|
|
| + - Dr Andrew Holmes mailto:[log in to unmask]
| | Robertson Centre for Biostatistics ( ,) / _)( ,)
| | Boyd Orr Building, University Ave., ) \( (_ ) ,\
| | Glasgow. G12 8QQ Scotland, UK. (_)\_)\__)(___/
| + - http://www.rcb.gla.ac.uk/

+ - Dr Andrew Holmes mailto:[log in to unmask]
| Robertson Centre for Biostatistics ( ,) / _)( ,)
| Boyd Orr Building, University Ave., ) \( (_ ) ,\
| Glasgow. G12 8QQ Scotland, UK. (_)\_)\__)(___/
+ - http://www.rcb.gla.ac.uk/


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

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
2000
1999
1998


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