Part /11/22 Vincent Guillemot

Slides:



Advertisements
Similar presentations
Probability models- the Normal especially.
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Sampling: Final and Initial Sample Size Determination
Confidence Interval and Hypothesis Testing for:
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
Probability & Statistical Inference Lecture 6 MSc in Computing (Data Analytics)
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
PSY 307 – Statistics for the Behavioral Sciences
The Normal Distribution. n = 20,290  =  = Population.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
DATA ANALYSIS I MKT525. Plan of analysis What decision must be made? What are research objectives? What do you have to know to reach those objectives?
Sample size computations Petter Mostad
UNDERSTANDING RESEARCH RESULTS: STATISTICAL INFERENCE.
Final Jeopardy $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 LosingConfidenceLosingConfidenceTesting.
Today Today: Chapter 10 Sections from Chapter 10: Recommended Questions: 10.1, 10.2, 10-8, 10-10, 10.17,
Overview of Lecture Parametric Analysis is used for
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
T-test.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
Chapter 2 Simple Comparative Experiments
Chapter 11: Inference for Distributions
Chapter 9 Hypothesis Testing.
Hypothesis Testing Using The One-Sample t-Test
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
AM Recitation 2/10/11.
X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ μ.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Population: a data set representing the entire entity of interest - What is a population? Sample: a data set representing a portion of a population Population.
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
1.State your research hypothesis in the form of a relation between two variables. 2. Find a statistic to summarize your sample data and convert the above.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Mystery 1Mystery 2Mystery 3.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
© Copyright McGraw-Hill 2004
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
1 Econometrics (NA1031) Lecture 3 Interval Estimation and Hypothesis Testing.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Inference About Means Chapter 23. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it’d be nice.
T tests comparing two means t tests comparing two means.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Statistical principles: the normal distribution and methods of testing Or, “Explaining the arrangement of things”
T-TEST. Outline  Introduction  T Distribution  Example cases  Test of Means-Single population  Test of difference of Means-Independent Samples 
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
Christopher, Anna, and Casey
Chapter 9 Hypothesis Testing.
Parameter Estimation.
Lecture Nine - Twelve Tests of Significance.
Chapter 4. Inference about Process Quality
8-1 of 23.
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Statistical inference: distribution, hypothesis testing
Hypothesis Testing: Hypotheses
Statistics in Applied Science and Technology
Statistical Process Control
Monday, October 19 Hypothesis testing using the normal Z-distribution.
Recipe for any Hypothesis Test
Statistical Inference about Regression
Interval Estimation and Hypothesis Testing
Statistical Inference for the Mean: t-test
Presentation transcript:

Part 1 2016/11/22 Vincent Guillemot Hypothesis testing Part 1 2016/11/22 Vincent Guillemot

Preliminary reminders / remarks

Central-Limit Theorem The means of a great number of samples follow a Gaussian law, even if those samples follow a different law.

William S. Gosset

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)

Confidence intervals

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.

Significance level 𝛼 Is equivalent of an error risk. Usually, 𝛼=0,05. However, its value depends on the domain of application.

Confidence interval on the mean For a sample of size 𝑛, with mean 𝑚 and standard deviation 𝑠… 𝑚−1,96 𝑠 𝑛 ;𝑚+1,96 𝑠 𝑛

Confidence interval on the mean - 2 More precision if we use Mr Gosset’s distribution: 𝑚− 𝑡 𝑛−1;1− 𝛼 2 𝑠 𝑛 ;𝑚+ 𝑡 𝑛−1;1− 𝛼 2 𝑠 𝑛

Exercise Use the function called t.test to compute the confidence interval of the mean ‘non dominant arm strength difference’ of the ‘CC’ individuals.

Statistical hypothesis testing Vocabulary

Sir Ronald Fisher

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 𝐻 𝐴 .

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.).

Two types of errors 𝛼: reject 𝐻 0 when it’s true. 𝛽: ‘accept’ 𝐻 0 even though it is not true.

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 𝛼.

tests on one or several means

Test that the mean is different from a reference value Null: the mean is equal to 𝜇 0 , Alternative: the mean is different, mean− 𝜇 0 1 𝑛 variance

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?

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 − 𝑚 2 1 𝑛 𝑣 1 + 𝑣 2 ∼Student(2𝑛−2)

Test that two samples have the same means– 2 Use the version that does not make the assumption that the variances are the same.

Exercise Compare the mean ‘non dominant arm strength difference’ of the ‘CC’ and the ‘CT’ individuals.

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 !