LECTURE 8 HYPOTHESIS TESTING AND STATISTICAL SIGNIFICANCE MSc (Addictions) Addictions Department.

Slides:



Advertisements
Similar presentations
Statistics.  Statistically significant– When the P-value falls below the alpha level, we say that the tests is “statistically significant” at the alpha.
Advertisements

Objectives (BPS chapter 18) Inference about a Population Mean  Conditions for inference  The t distribution  The one-sample t confidence interval 
Inference for a population mean BPS chapter 18 © 2006 W. H. Freeman and Company.
Objectives (BPS chapter 15)
Chapter 10: Hypothesis Testing
Hypothesis testing Week 10 Lecture 2.
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Behavioural Science II Week 1, Semester 2, 2002
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
8 - 10: Intro to Statistical Inference
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
The problem of sampling error in psychological research We previously noted that sampling error is problematic in psychological research because differences.
Thomas Songer, PhD with acknowledgment to several slides provided by M Rahbar and Moataza Mahmoud Abdel Wahab Introduction to Research Methods In the Internet.
1. Statistics: Learning from Samples about Populations Inference 1: Confidence Intervals What does the 95% CI really mean? Inference 2: Hypothesis Tests.
1 Economics 173 Business Statistics Lectures 3 & 4 Summer, 2001 Professor J. Petry.
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Inference in practice BPS chapter 16 © 2006 W.H. Freeman and Company.
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Inference for a Single Population Proportion (p).
FRAMING RESEARCH QUESTIONS The PICO Strategy. PICO P: Population of interest I: Intervention C: Control O: Outcome.
The Argument for Using Statistics Weighing the Evidence Statistical Inference: An Overview Applying Statistical Inference: An Example Going Beyond Testing.
Chapter 4 Introduction to Hypothesis Testing Introduction to Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
STA Statistical Inference
LECTURE 19 THURSDAY, 14 April STA 291 Spring
Introduction to inference Use and abuse of tests; power and decision IPS chapters 6.3 and 6.4 © 2006 W.H. Freeman and Company.
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
Hypothesis Testing Hypothesis Testing Topic 11. Hypothesis Testing Another way of looking at statistical inference in which we want to ask a question.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Essential Statistics Chapter 141 Thinking about Inference.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
How confident are we in the estimation of mean/proportion we have calculated?
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 8 First Part.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 4 First Part.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Lecture & tutorial material prepared by: Dr. Shaffi Shaikh Tutorial presented by: Dr. Rufaidah Dabbagh Dr. Nurah Al-Amro.
A review of key statistical concepts. An overview of the review Populations and parameters Samples and statistics Confidence intervals Hypothesis testing.
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
© Copyright McGraw-Hill 2004
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.1 Categorical Response: Comparing Two Proportions.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
A significance test or hypothesis test is a procedure for comparing our data with a hypothesis whose truth we want to assess. The hypothesis is usually.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
1 Probability and Statistics Confidence Intervals.
Uncertainty and confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get.
Hypothesis Testing and Statistical Significance
Confidence Intervals and Hypothesis Testing Mark Dancox Public Health Intelligence Course – Day 3.
Uncertainty and confidence If you picked different samples from a population, you would probably get different sample means ( x ̅ ) and virtually none.
Chapter 9 Introduction to the t Statistic
Critical Appraisal Course for Emergency Medicine Trainees Module 2 Statistics.
More on Inference.
More on Inference.
Statistical inference
Statistical Inference
Type I and Type II Errors
Statistical inference
Presentation transcript:

LECTURE 8 HYPOTHESIS TESTING AND STATISTICAL SIGNIFICANCE MSc (Addictions) Addictions Department

Questions we are trying to answer: 1. What does the difference between the group means in our sample tell us about the difference between the group means in the population? A confidence interval provides a range of likely values for the difference. 2. Do the data provide evidence that the exposure affects the outcome or could the observed difference be due to chance? A p-value from a significance (or hypothesis) test provides the probability of observing the difference due to chance alone.

Tools to answer these questions Confidence interval 95% C.I. = estimate – (1.96 × S.E. ) to estimate + (1.96 × S.E. ) Test statistic  p-value Test statistic = estimate / S.E. estimate = mean, difference between means, any other measures of exposure effect S.E. = standard error of the estimate; inversely related to sample size so larger sample = smaller confidence interval

Hypothesis testing A hypothesis is a statement that we want to explore about our population. It is a statement that can be tested. “Everyone who lives to age 90 or more is a non-smoker” To prove the hypothesis: Find everyone aged ≥90 and check they are all non-smokers To disprove the hypothesis: Find just one person aged ≥90 who is a smoker Generally easier to find evidence against a hypothesis than to prove that it is correct

The null versus the alternative Null hypothesis = statement of no effect/association No difference between groups; no association between variables P-values quantify strength of evidence against null hypothesis (smaller p-value = stronger evidence) Example: 12-month abstinence rates are the same in individuals treated with nicotine replacement therapy compared to cognitive behavioural therapy Alternative hypothesis = statement of effect/association The effect/association we aim to identify Example: 12-month abstinence rates are different in those treated with NRT compared to CBT

One-tailed versus two-tailed tests2.5%2.5%±1.965% -1.64

Example of one- versus two-tailed p-values Relationship between smoking and lung function Investigate whether smoking affects lung function, as measured by forced vital capacity (FVC) in 100 men Mean difference = SE of difference in mean FVC = √( ) = Test statistic for mean difference = -0.22/0.125 = GroupNumberMean FVCStandard deviation SE of mean FVC Smokers /√36 = Non-smokers /√64 = 0.075

Example of one- versus two-tailed p-values2.5%2.5% 5% -1.76

Should I use a one-tailed or two-tailed test? Wrong answer: “Use the one that gives you the most significant result!” Right answer: “Use the one that reflects your alternative hypothesis.” Probability that result due to chance usually based on distance from the null hypothesis not direction From our previous example: FVC could have been greater in smokers than non-smokers Using a one-tailed test requires careful specification of the alternative hypothesis

Interpretation of p-values Weak evidence against the null hypothesis Increasing evidence against the null hypothesis with decreasing P-value Strong evidence against the null hypothesis Weak evidence against the null hypothesis Increasing evidence against the null hypothesis with decreasing P-value Strong evidence against the null hypothesis P-value

Interpretation of p-values The smaller the p-value, the lower the chance of a difference as large as that observed if the null hypothesis is true The “0.05 threshold” is arbitrary Three common (and serious) mistakes in interpretation: 1.Potentially important results from small studies ignored because p > All findings with p < 0.05 assumed real By definition, 1 in 20 tests in which null hypothesis is true will produce p < All findings with p-value < 0.05 assumed relevant, even if due to large sample size

Making inferences with p-values and CIs Reducing alcohol consumption Investigate different interventions for reducing alcohol consumption, as measured by units per month Results from five controlled trials of three treatments Assume mean reduction of 40 units/month substantially improves health outcomes; reduction of 20 units/month results in moderate improvements TrialTreatmentCostNumber/groupMean units/month (treatment) Mean units/month (control) Reduction (units/month) 1ACheap ACheap BCheap BCheap CExpensive

Making inferences with p-values and CIs TrialTreatmentCostNumber/groupDifference in units/month SE of difference 95% CI for difference P-value 1ACheap to ACheap to -32.2< BCheap to BCheap to CExpensive to Questions… 1.Do you think your treatment has an impact on alcohol consumption? 2.What is the range of possible values for the effect of your treatment? 3.Do you think this is a treatment that should be implemented in clinical practice?

ONLINE RESOURCES NORMAL DISTRIBUTION inferential/normal_distribution/v/introduction-to-the-normal-distribution SAMPLING DISTRIBUTION inferential/sampling_distribution/v/central-limit-theorem CONFIDENCE INTERVALS inferential/confidence-intervals/v/confidence-interval-1 HYPOTHESIS TESTING inferential/hypothesis-testing/v/hypothesis-testing-and-p-values inferential/hypothesis-testing-two-samples/v/variance-of-differences-of- random-variables