introduction to collinearity: what is it? how does it ... · introduction to collinearity: what is...

57
Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 Jeanette Mumford University of Wisconsin - Madison

Upload: others

Post on 24-May-2020

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Introduction to collinearity:What is it? How does it arise with

parametric modulation?

Monday, Lecture 5Jeanette Mumford

University of Wisconsin - Madison

Page 2: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Collinearity

• Today– Where does it come from?– Is there an easy fix?

• (no)– Collinearity and parametrically modulated

regressors• Tomorrow

– How can we assess the collinearity?– How can we avoid it?

Page 3: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Collinearity

• Today– Where does it come from?– Is there an easy fix?

• (no)– Collinearity and parametrically modulated

regressors• Tomorrow

– How can we assess the collinearity?– How can we avoid it?

Page 4: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Have you ever done this?

1. Get sick, so you– Take a vitamin– Take cold-EEZE– Drink a lot of water– Take a nap– Have some chicken soup– Drink green tea

2. You get better! What helped you get better?

Page 5: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

5 10 15 20

−0.2

0.2

0.6

1.0

Time (s)

Behavioral task

• Non-overlapping portions of a trial

• BOLD responses overlap

Stimulus Cue Response Fixation

If the BOLD increases here, what caused it?

Page 6: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Collinearity

• Each regressor’s p-value (roughly) only reflects its unique variability

Y

X2

X1

Page 7: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Collinearity

• Each regressor’s p-value (roughly) only reflects its unique variability

Y

X2

X1Less unique variability ->Parameter estimates have larger variability

Page 8: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Collinearity

• When 1 regressor is correlated with other regressors in a model – Could be a linear combination of other regressors

• If the BOLD signal changes, you cannot attribute the change, easily, to one regressor

• Impact: Power loss

Page 9: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Collinearity

• Partial way to assess collinearity– Look at pairwise correlations of regressors– This is *not* a thorough way to address

collinearity

Page 10: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

How could this be fixed?

Stimulus Cue Response Fixation

Page 11: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

How could this be fixed?

Stimulus Cue Response Fixation

1s 1s 2s 1s

Page 12: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

How could this be fixed?

Stimulus Cue Response Fixation

1.5s 1.5s 2s 1s

Page 13: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

How could this be fixed?

Stimulus Cue Response Fixation

1.5s 1.5s 2s 1s

F.

.5s

Still not great, but better VIF is a better measure than correlation and we’ll look at that tomorrow!

Page 14: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Collinearity

• Today– Where does it come from?– Is there an easy fix?

• (no)

– Collinearity and parametrically modulated regressors

• Tomorrow– How can we assess the collinearity?– How can we avoid it?

Page 15: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What we’re about to cover

• Learn when we need parametrically modulated regressors

• Learn how to make parametrically modulated regressors

• Learn how to interpret the parameter estimates from these regressors

• Learn about orthogonalization– SPM has a confusing orthogonalization step with

PM and you shouldn’t use it!– Simple fix!

Page 16: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What question does a parametrically modulated regressor answer?

• Show emotional stimuli in scanner– Use post-fMRI behavioral task to estimate valence– Q: Does BOLD activation increase with valence?

• Gambling task– Can win variable amounts for each gamble– Q: Does BOLD activation increase with amount a

person could lose on a gamble?

Page 17: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What is this orthogonalise option?

Page 18: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Parametric modulation

• 3 trials• Modulations are 1, 3, 2• How do we make the regressors?

Page 19: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Our boxcar regressor

Page 20: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Our boxcar regressor, modulated

Page 21: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Just add convolution!

0 10 20 30 40 50

0.0

0.2

0.4

0.6

0.8

1.0

1.2

Time (s)

Both of these need to go into the model. Do you know why?

Page 22: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Interpretation

• Just like a regular old regression slope!• reg 2 = modulated regressor

– How BOLD changes with modulation value• A 1 unit increase in the modulation results in a beta

increase in BOLD (beta is the regression parameter estimate)

• reg 1 = unmodulated regressor• What do you think the interpretation is?

Page 23: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Reference

Page 24: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

How regression naturally works

• Each regressor’s p-value only reflects its unique variability

YX1

Page 25: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

How regression naturally works

• Each regressor’s p-value only reflects its unique variability

Y

X2

X1

Page 26: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What is orthogonalization?• Giving that shared portion to one of the

regressors– Say X2 gives it up to X1– We say X2 is orthogonalized with respect to X1

Page 27: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What is orthogonalization?• Giving that shared portion to one of the

regressors– Say X2 gives it up to X1– We say X2 is orthogonalized with respect to X1

Y

X2

X1

Page 28: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What happens to estimates?

• Design: 1s stimulus followed by 1s feedback cue

Page 29: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What happens to estimates?

Page 30: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What happens to estimates?True activation magnitudes

Page 31: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What happens to estimates?

Page 32: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What happens to estimates?

Page 33: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

What happens to estimates?

Page 34: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Orthogonalization can lead to very misleading results

• Basically “un-controls” one covariate for the other– But that’s the entire reason we model multiple

regressors!

• If you orthogonalize “motion” with respect to task, you are not “fixing” collinearity– Your orthogonalized model behaves, basically, as if

you omitted motion

Page 35: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Recap

• Orthogonalization is NOT a band-aid for collinearity

Orthogo

nalizat

ion

Page 36: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Is orthogonalization ever okay?

• Yes!– Mean centering covariates!

– Parametric modulation!• Same idea as mean centering • Unmodulated regressor should represent mean

activation for that task• Modulation regressors should reflect unique variability

of that modulation value

Page 37: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Is orthogonalization ever okay?

• Yes!– Mean centering covariates!

– Parametric modulation!• Same idea as mean centering • Unmodulated regressor should represent mean

activation for that task• Modulation regressors should reflect unique variability

of that modulation value

Page 38: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Quick review of mean centering covariates

Page 39: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Review

●●

●●

● ●

20 30 40 50 60

0.8

0.9

1.0

1.1

1.2

1.3

Age (years)

RT (s

)

RT = �0 + �1Age+ ✏

Page 40: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Mean centering X is basically moving the Y-axis

●●

●●

● ●

0 10 20 30 40 50 60

0.6

0.7

0.8

0.9

1.0

1.1

1.2

1.3

Age (years)

RT (s

)

Page 41: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

●●

●●

● ●

0 10 20 30 40 50 60

0.6

0.7

0.8

0.9

1.0

1.1

1.2

1.3

Age (years)

RT (s

)Mean centering X is basically moving

the Y-axis

Page 42: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

●●

●●

● ●

−20 −10 0 10 20

0.6

0.7

0.8

0.9

1.0

1.1

1.2

1.3

Mean centered age(years)

RT (s

)Mean centering X is basically moving

the Y-axis

Page 43: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Mean centering is okay

• It does not change the model fit

• It does not fix anything about the mean centered regressor

• It changes the interpretation of the constant regressor

• It never hurts, but it often isn’t doing anything for the part of the model people are studying

Page 44: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

End of mean centering segue

Page 45: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

How does orthogonalization arise with PM?

• Setup: Modeling stimulus intensity and RT as parametric modulators

• Orthogonalization is *okay* if done properly

• Goal: Orthogonalize each of RT and intensity with respect to unmodulated regressor

Page 46: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,
Page 47: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,
Page 48: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,
Page 49: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,
Page 50: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Aw no, SPM L

Page 51: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Aw no, SPM L

• There’s a fix– mean center modulators– Turn off orthogonalization

• What seems like a fix, but isn’t– SPM’s “No orthogonalization” option alone– Okay if you’re not looking at unmodulated

regressor

Page 52: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Today in lab

• What will happen if you let SPM do the default thing with 2 sets of modulators?– i.e. what’s the interpretation of the parameter

estimates for the unmodulated regressor, first added modulation and second added modulation?

– What would the correlation between the regressors look like?

Page 53: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Today in lab

• How do we make SPM do what we’d like it to do?

Page 54: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Let’s recap

• What is the worst case scenario with collinearity?

• Is the removal of collinearity with orthogonalization ever okay?

Page 55: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Let’s recap

• Why can’t we just use the orthogonalize option in SPM?

• If you have modulations for amount won and amount lost on each trial, how many regressors should be modeled?

Page 56: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Let’s recap

• What is the most common, acceptable form of orthogonalization?

Page 57: Introduction to collinearity: What is it? How does it ... · Introduction to collinearity: What is it? How does it arise with parametric modulation? Monday, Lecture 5 ... 1.Get sick,

Questions?