the geometry of fmri statistics: models, efficiency, and design › ttliu › talks ›...
TRANSCRIPT
![Page 1: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/1.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
The Geometry of fMRI Statistics:Models, Efficiency, and Design
Thomas LiuUCSD Center for Functional MRI
Mathematics in Brain Imaging CourseJuly 22, 2004
![Page 2: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/2.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Conjecture: There are onlythree things you need for an
fMRI experiment.
![Page 3: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/3.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
![Page 4: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/4.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
The manipulation of statistical formulas (orsoftware) is no substitute for knowing what one isdoing. --Hubert M. Blalock, Jr., Social Statistics
You should understand what the analysis softwareis doing -- Bob Cox, Author of AFNI
![Page 5: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/5.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
OverviewGeometric view of basic statistical tests.
Efficiency and the Design of Experiments
![Page 6: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/6.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Why a geometric view?
For a historical account see: D.G. Herr, TheAmerican Statistician, 34:1 1980.
1) Vector space interpretation of linearalgebra
2) “simpler, more general, moreelegant” W.H. Kruskal 1961
3) Avoid lots of messy algebra.
![Page 7: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/7.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
General Linear Model
y = Xh + Sb + n
DataDesignMatrix
HemodynamicResponse
NuisanceParameters
AdditiveGaussian
NoiseNuisanceMatrix
![Page 8: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/8.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Example 1
€
y =
000.51110.500
h1 +
1 11 21 31 41 51 61 71 81 9
b1b2
+
−1−203−112.5−.2
![Page 9: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/9.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Example 2
€
y =
0 0 00 0 00 0 01 0 01 1 01 1 10 1 10 0 10 0 0
h1h2h3
+
1 11 21 31 41 51 61 71 81 9
b1b2
+
−1−203−112.5−.2
![Page 10: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/10.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Simplest Case
€
y = xh1 + sb1 + n
=
000.51110.500
h1 +
111111111
s1 +
−1−203−112.5−.2
€
r =y − y ( )T x − x ( )
y − y ( )T y − y ( ) x − x ( )T x − x ( )
Correlation Coefficient
![Page 11: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/11.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Plan of attack1. First derive statistics assuming there
are no nuisance functions2. Then add in nuisance functions.
![Page 12: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/12.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
General Linear Model
y = Xh + n
DataDesignMatrix
HemodynamicResponse
![Page 13: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/13.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Principle of Orthogonality
y
x
E
h1x
€
ETx = 0
y − h1x( )T x = 0
h1 =yTxxTx
Minimum error vector is orthogonal to the
model space.
![Page 14: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/14.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Correlation Coefficient
y
x
E
h1x
€
r = cosθ
=h1xy
=
yTxxTx
x
y
=yTxy x
θ
€
r =y − y ( )T x − x ( )
y − y ( )T y − y ( ) x − x ( )T x − x ( )
From a previous slide …
![Page 15: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/15.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Principle of Orthogonalityy
E
XXh
€
XT y −Xh( ) = 0⇒ h = XTX( )−1XTy
![Page 16: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/16.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Projection Matricesy
E
XXh
€
h = XTX( )−1XT y
Xh = X XTX( )−1XT y
= PXy
€
E = y −PXy= I−PX( )y= PX⊥y
€
PXPX = PXPXT = PX
Useful Facts
![Page 17: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/17.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Orthogonality again
yE
XXh
€
hTXTE = 0yTPXPX⊥y = 0
yTPX I−PX( )y = 0
![Page 18: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/18.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
F-statisticy E
XXh
€
F =Xh 2 #of model functions( )
E 2 #of datapoints − #of model functions( )
=N − kk
yTPXTPXyyT I−PX( )T I−PX( )y
=N − kk
yTPXyyT I−PX( )y
=N − kk
cot2θ
![Page 19: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/19.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Coefficient of Determination
yE
XXh
€
R2 =Xh 2
y 2
=yTPXyyTy
= cos2θ
€
F =N − kk
R2
1− R2
Easy to show that
![Page 20: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/20.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
General Linear Model
y = Xh + Sb + n
DataDesignMatrix
HemodynamicResponse
NuisanceParameters
AdditiveGaussian
NoiseNuisanceMatrix
![Page 21: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/21.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Nuisance Functions
y
X
S
XS
€
PXSy is the data explained by both X and S
€
E = I−PXS( )y is the residual error
![Page 22: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/22.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Nuisance Functions
yE
X
S
XS
Data explained by X
Data explained by S
Data explained by X thatcan’t be explained
by S
![Page 23: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/23.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Nuisance Functionsy
E
X
S
€
The space spanned by the columns of PS⊥X is the part ofthe model space that is orthogonal to S. PPS⊥Xy is the projection of the data onto that space, and
is therefore the data explained by the model that can't beexplained by S.
€
PS⊥ = I−PS
![Page 24: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/24.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Geometric Picture
![Page 25: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/25.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Pythagorean Relation
€
PS⊥y = data not explained by S
€
PPS⊥Xy = data explained by X
but not by S
€
I−PXS( )y = data explained
by neither X nor S
![Page 26: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/26.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Pythagorean Relation
€
yTPS⊥y = yT I−PXS( )y + yTPPS⊥Xy
![Page 27: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/27.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
F-statistic
€
yTPS⊥y = yT I−PXS( )y + yTPPS⊥Xy
€
F =N − k − l
kyTPPs⊥xy
yT I−PXS( )y
=N − k − l
kcot2θ
k = # model functions, l = # of nuisance functions
![Page 28: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/28.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Coeffcient of Determination R2
€
yTPS⊥y = yT I−PXS( )y + yTPPS⊥Xy
k = # model functions, l = # of nuisance functions€
R2 =yTPPs⊥xyyTPS⊥y
= cos2 θ( )
![Page 29: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/29.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
F and R2
€
yTPS⊥y = yT I−PXS( )y + yTPPS⊥Xy
€
F =N − k − l
kyTPPs⊥ xy
yT I−PXS( )y=N − k − l
kcot2θ
R2 =yTPPs⊥ xyyTPS⊥y
= cos2θ
F =N − k − l
lR2
1− R2
k = # model functions, l = # of nuisance functions
![Page 30: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/30.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Multiple Correlation Coefficient
€
R =y −PSy( )T ˆ y −PSX ˆ h ( )
y −PSy( )T y −PSy( ) ˆ y −PSX ˆ h ( )T
ˆ y −PSX ˆ h ( )
After a bit of algebra, we can show that…
€
R =y − y ( )T x − x ( )
y − y ( )T y − y ( ) x − x ( )T x − x ( )
For 1 model function and 1 constant nuisancefunction, this reduces to the familiar
![Page 31: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/31.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
ApplicationIn the analysis of most fMRI experiments, we need toproperly deal with nuisance terms, such as lowfrequency drifts. A reasonable approach is to projectout the nuisance terms and then correlate thedetrended data with a reference function. Does thisgive us the correct correlation coefficient?
![Page 32: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/32.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Multiple Correlation CoefficientFor 1 model function and multiple nuisancefunction, we obtain
€
R =y −PSy( )T x −PSx( )
y −PSy( )T y −PSy( ) x −PSx( )T x −PSx( )
So, this tells us that we should detrend both thedata and the reference function beforecorrelating.
![Page 33: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/33.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
One more thing
When there is only one model function (k=1) and lnuisance functions, the F-statistic is simply the squaredof the t-statistic with N-l-1 degrees of freedom.So, we also have the useful relation
€
t = N − l −1 R1− R2
![Page 34: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/34.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Efficiency and Design
If your result needs a statistician then youshould design a better experiment. --BaronErnest Rutherford
![Page 35: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/35.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Power, Efficiency, Predictability
RandomP = 0.5
SemiRandom P = 0.63
BlockP =0.9
![Page 36: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/36.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Experimental Data
F-sta
tistic
![Page 37: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/37.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
General Linear Model
y = Xh + Sb + n
DataDesignMatrix
HemodynamicResponse
NuisanceParameters
AdditiveGaussian
NoiseNuisanceMatrix
![Page 38: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/38.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Statistical Efficiency
€
ˆ h = XT PS⊥X( )
−1XT PS
⊥y
= X⊥T X⊥( )
−1X⊥
T y
Least Square Estimate (for now assume white noise)
€
ξ = Efficiency∝ 1variance of ˆ h
![Page 39: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/39.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Statistical Efficiency
Efficiency depends on:
1) Model Assumptions2) Experimental Design
![Page 40: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/40.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Model AssumptionsHow much do we want to assume about theshape of the hemodynamic response (HDR)?
1) Assume we know nothing about its shape
2) Assume we know its shape completely, butnot its amplitude.
3) Assume we know something about itsshape.
![Page 41: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/41.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Assumptions and DesignAssumption 1: Experiments where you want tocharacterize in detail the shape of the HDR.
Assumption 2: Experiments where you have a goodguess as to the shape (either a canonical form ormeasured HDR) and want to detect activation.
Assumption 3: A reasonable compromise between 1and 2. Detect activation when you sort of know theshape. Characterize the shape when you sort ofknow its properties.
![Page 42: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/42.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Assumption 1
€
If we assume nothing about the shape (except for length)then the GLM is what we had before : y = Xh + Sb + n
Covariance : C ˆ h =σ2 X⊥
T X⊥( )−1
Efficiency :ξ ∝ 1average variance
=1
σ 2Trace X⊥T X⊥( )
−1
![Page 43: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/43.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Assumption 2
€
Assume we know the HDR shape but not the amplitude h = h0cGLM :y = Xh0c + Sb + n = ˜ X c + Sb + nEfficiency :
ξ ∝1
var(amplitude estimate)=
1var( ˆ c )
=h0
T X⊥T X⊥h0
σ 2
![Page 44: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/44.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Assumption 3
€
If we know something about the shape, we can use abasis function expansion : h = Bc
GLM : y = XBc + Sb + n = ˜ X c + Sb + n
Estimate : ˆ c = BT X⊥T X⊥B( )
−1BT X⊥
T y
ˆ h = Bˆ c = B BT X⊥T X⊥B( )
−1BT X⊥
T y
Efficiency :ξ =1
σ 2Trace B BT X⊥T X⊥B( )
−1BT
![Page 45: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/45.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Summary
€
No assumed shape : ξ =1
σ 2Trace X⊥TX⊥( )
−1
Assume basis functions : ξ =1
σ 2Trace B BTX⊥TX⊥B( )
−1BT
Assume known shape :ξ =h0TX⊥
TX⊥h0
σ 2
![Page 46: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/46.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Impact on DesignDefinition of efficiency depends on modelassumptions.
The design that achieves optimal efficiency dependson the definition of efficiency and therefore alsodepends on the model assumptions.
![Page 47: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/47.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
What does a matrix do?
€
y = Xh
N-dimensional vector
N x k matrix
k-dimensional vector
The matrix maps from a k-dimensionalspace to a N-dimensional space.
![Page 48: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/48.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Matrix Geometry
Xv = σ u1 1 1
v1
σ u1 1
Geometric fact: The image of the a k-dimensional unit sphere under any N x k matrixis an N-dimensional hyperellipse.
![Page 49: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/49.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Singular Value Decomposition
Xv = σ u1 1 1
v1
σ u1 1v2σ u2 2€
The right singular vectors v1 and v 2 are transformedinto scaled vectors σ1u1 and σ 2u2 , where u1 and u2 arethe left singular vectors and σ1 and σ 2 are the singular values.
€
The singular values are the k square roots of the eigenvaluesof kxk matrix XTX.
![Page 50: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/50.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Assumed HDR shape
Xv = σ u1 1 1
v1
σ u1 1
Parameter Space
Data Space
ParameterNoise Space
Good forDetectionh0
Efficiency here is optimized by amplifying the singularvector closest to the assumed HDR. This corresponds tomaximizing one singular value while minimizing theothers.
![Page 51: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/51.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
No assumed HDR shape
v1
σ u1 1Xv = σ u1 1 1
Parameter Space
Data Space
ParameterNoise Space
Here the HDR can point in any direction, so we don’twant to preferentially amplify any one singular value.This corresponds to an equal distribution of singularvalues.
![Page 52: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/52.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Theoretical Curves
Estim
atio
n Ef
ficie
ncy
Estim
atio
n Ef
ficie
ncy
Estim
atio
n Ef
ficie
ncy
Estim
atio
n Ef
ficie
ncy
![Page 53: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/53.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Efficiency vs. Power
Detection Power
Estim
atio
n Ef
ficie
ncy
![Page 54: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/54.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Basis FunctionsIf no basis functions, then use equal eigenvalues.
If we know the the HDR lies within a subspace, weshould maximize the singular values in this subspaceand minimize outside of this subspace.
![Page 55: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/55.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Basis Functions
![Page 56: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/56.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Overview of designsKnown HDR: Maximize one dominant singularvalue -- block designs.
Unknown HDR: Equalize singular values --randomized designs, m-sequences.
Somewhat known HDR: Amplify singular valueswithin the subspace of interest -- semi-randomdesigns, permuted block, clustered m-sequences.(also good in presence of correlated noise).
![Page 57: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/57.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Multiple Trial TypesPreviously: 1 trial type + control (null)
A A N A A N A A A N
Extend to experiments with multiple trial types
A B A B N N A N B B A N A N A
B A D B A N D B C N D N B C N
![Page 58: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/58.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Multiple Trial Types GLM
y = Xh + Sb + n
X = [X1 X2 … XQ]
h = [h1T
h2T … hQ
T]T
![Page 59: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/59.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Multiple Trial Types OverviewEfficiency includes individual trials and also contrastsbetween trials.
€
Rtot =K
average variance of HRF amplitude estimates for all trial types and pairwise contrasts
€
ξtot =1
average variance of HRF estimatesfor all trial types and pairwise contrasts
![Page 60: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/60.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Multiple Trial Types Trade-offCan show that the same geometric intuition aboutsingular values applies.
![Page 61: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/61.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Optimal FrequencyCan also weight how much you care about individualtrials or contrasts. Or all trials versus events.Optimal frequency of occurrence depends on weighting.Example: With Q = 2 trial types, if only contrasts are ofinterest p = 0.5. If only trials are of interest, p = 0.2929.If both trials and contrasts are of interest p = 1/3.
€
p =Q(2k1 −1)+Q
2 (1− k1)+ k11/2 Q(2k1 −1)+Q
2 (1− k1)( )1/2
Q(Q −1)(k1Q −Q − k1)
![Page 62: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/62.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
DesignAs the number of trial types increases, it becomes moredifficult to achieve the theoretical trade-offs. Randomsearch becomes impractical.
For unknown HDR, should use an m-sequence baseddesign when possible.
Designs based on block or m-sequences are useful forobtaining intermediate trade-offs or for optimizing withbasis functions or correlated noise.
![Page 63: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/63.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Optimality of m-sequences
![Page 64: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/64.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Clustered m-sequences
![Page 65: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/65.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Topics we haven’t covered.The impact of correlated noise -- this will change theoptimal design. Can you the geometric intuition fromsingular values to gain some understanding.
Entropy of designs.
![Page 66: The Geometry of fMRI Statistics: Models, Efficiency, and Design › ttliu › talks › mbi2004_5021.pdf · Assumption 2: Experiments where you have a good guess as to the shape (either](https://reader033.vdocuments.us/reader033/viewer/2022042322/5f0c09c67e708231d4337179/html5/thumbnails/66.jpg)
T.T. Liu July 22, 2004 Copyright © 2004
Concluding remarksGeometric view is useful for developing intuition intothe meaning of basis statistical measures and designprinciples.
It is also very useful as a sanity check of one’stheoretical results.