Professional Documents
Culture Documents
T-And F-Tests: Testing Hypotheses
T-And F-Tests: Testing Hypotheses
Testing hypotheses
Overview
• Distribution& Probability
• Standardised normal distribution
• t-test
• F-Test (ANOVA)
Starting Point
• Central aim of statistical tests:
– Determining the likelihood of a value in a
sample, given that the Null hypothesis is true:
P(value|H0)
• H0: no statistically significant difference between
sample & population (or between samples)
• H1: statistically significant difference between
sample & population (or between samples)
H0 H1
b-error
H0 1-a
(Type II error)
Sample
H1 a-error
1-b
(Type I error)
Distribution & Probability
If we know s.th. about the distribution of events, we know s.th.
about the probability of these events
n
x i
x i 1
a/2 n
n
i
( x x ) 2
s i 1
n
Standardised normal distribution
Population Sample
x xi x xz 0
z zi
s sz 1
• the z-score represents a value on the x-axis for which we know the
p-value
x1 x 2 2 2
t s x1 x2
s1
s2
s x1 x2 n1 n2
p
pc
n
ANOVA controls this error by testing all means at once - it can compare k
number of means. Drawback = loss of specificity
F-tests / Analysis of Variance (ANOVA)
Different types of ANOVA depending upon experimental
design (independent, repeated, multi-factorial)
Assumptions
• observations within each sample were independent
• samples must be normally distributed
• samples must have equal variances
F-tests / Analysis of Variance (ANOVA)
Total variability
Empty Full
Result:
Normal 22 15 = 37
No main effect for
factor A (normal/obese)
Obese 17 18 = 35
No main effect for
factor B (empty/full)
= 39 = 33
F-tests / Analysis of Variance (ANOVA)
Mean number of crackers eaten
Empty Full
23
22
Normal 22 15 21
20
19
18 obese
17
16
Obese 17 18 15 normal
14
Empty Full
Stomach Stomach
F-tests / Analysis of Variance (ANOVA)
Application to imaging…
F-tests / Analysis of Variance (ANOVA)
Application to imaging…
Early days => subtraction methodology => T-tests corrected for multiple comparisons