Download presentation
Presentation is loading. Please wait.
1
Part 1 2016/11/22 Vincent Guillemot
Hypothesis testing Part 1 2016/11/22 Vincent Guillemot
2
Preliminary reminders / remarks
3
Central-Limit Theorem
The means of a great number of samples follow a Gaussian law, even if those samples follow a different law.
4
William S. Gosset
5
Student's t-distribution...
... with ๐ degrees of freedom, is the distribution of a random variable ๐ such that: ๐= ๐(0,1) 1 ๐ ๐ 2 (๐) Why is this interesting? Because mean 1 size standardโdeviation โผStudent(sizeโ1)
6
Confidence intervals
7
What does it represent? If the experiment was repeated a great number of times, most of the estimated parameters (of interest) would belong to this interval.
8
Significance level ๐ผ Is equivalent of an error risk. Usually, ๐ผ=0,05.
However, its value depends on the domain of application.
9
Confidence interval on the mean
For a sample of size ๐, with mean ๐ and standard deviation ๐ โฆ ๐โ1,96 ๐ ๐ ;๐+1,96 ๐ ๐
10
Confidence interval on the mean - 2
More precision if we use Mr Gossetโs distribution: ๐โ ๐ก ๐โ1;1โ ๐ผ 2 ๐ ๐ ;๐+ ๐ก ๐โ1;1โ ๐ผ 2 ๐ ๐
11
Exercise Use the function called t.test to compute the confidence interval of the mean โnon dominant arm strength differenceโ of the โCCโ individuals.
12
Statistical hypothesis testing
Vocabulary
13
Sir Ronald Fisher
14
Hypotheses Examples: drug > placebo?
is the new fertilizer more efficient? Is there a linear relationship between size and weight? Two hypotheses : null hypothesis, noted ๐ป 0 , in general a statu quo! alternative hypothesis, notรฉd ๐ป 1 or ๐ป ๐ด .
15
Statistic Under the null hypothesis, we know the distribution of a ceryain value computed from the data, called the statistic. To each test corresponds a statistic (Student, Z-test, Khi etc.).
16
Two types of errors ๐ผ: reject ๐ป 0 when itโs true.
๐ฝ: โacceptโ ๐ป 0 even though it is not true.
17
p-value Is equal to the probability that the obtained statistic is even more extreme compared to its theoretical distribution under the null hypothesis. To take a decision: the null is rejected as soon as the p-value is inferior to ๐ผ.
18
tests on one or several means
19
Test that the mean is different from a reference value
Null: the mean is equal to ๐ 0 , Alternative: the mean is different, meanโ ๐ ๐ variance
20
Exercise When you used the function called t.test to compute the confidence interval of the mean โnon dominant arm strength differenceโ of the โCCโ individuals, what was the โsingle meanโ test that was performed and what was its result?
21
Test that two samples have the same meansโ 1
Mean of sample 1 : ๐ 1 , variance of sample 1 : ๐ 1 2 Mean of sample 2 : ๐ 2 , variance of sample 2 : ๐ 2 2 Size of both samples: ๐ ๐ 1 โ ๐ ๐ ๐ฃ 1 + ๐ฃ 2 โผStudent(2๐โ2)
22
Test that two samples have the same meansโ 2
Use the version that does not make the assumption that the variances are the same.
23
Exercise Compare the mean โnon dominant arm strength differenceโ of the โCCโ and the โCTโ individuals.
24
Power analysis Use the function power.t.test to compute the necessary sample size to have a significant result with different effect sizes. What is the shape of the resulting function ? Use plot to have a better look !
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.