Confidence Intervals and Hypothesis Testing Mark Dancox Public Health Intelligence Course – Day 3.

Slides:



Advertisements
Similar presentations
CHAPTER 21 Inferential Statistical Analysis. Understanding probability The idea of probability is central to inferential statistics. It means the chance.
Advertisements

Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Confidence Intervals © Scott Evans, Ph.D..
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Stat 301 – Day 28 Review. Last Time - Handout (a) Make sure you discuss shape, center, and spread, and cite graphical and numerical evidence, in context.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
SADC Course in Statistics Comparing Means from Independent Samples (Session 12)
Statistical Concepts (continued) Concepts to cover or review today: –Population parameter –Sample statistics –Mean –Standard deviation –Coefficient of.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also.
Thomas Songer, PhD with acknowledgment to several slides provided by M Rahbar and Moataza Mahmoud Abdel Wahab Introduction to Research Methods In the Internet.
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
1. Statistics: Learning from Samples about Populations Inference 1: Confidence Intervals What does the 95% CI really mean? Inference 2: Hypothesis Tests.
AM Recitation 2/10/11.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
Statistical inference: confidence intervals and hypothesis testing.
Statistics for Managers Using Microsoft® Excel 7th Edition
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 สมศักดิ์ ศิวดำรงพงศ์
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Ch 10 Comparing Two Proportions Target Goal: I can determine the significance of a two sample proportion. 10.1b h.w: pg 623: 15, 17, 21, 23.
Chapter 11: Estimation Estimation Defined Confidence Levels
Health and Disease in Populations 2001 Sources of variation (2) Jane Hutton (Paul Burton)
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
M33 Confidence intervals 1  Department of ISM, University of Alabama, Confidence Intervals Estimation.
Instructor Resource Chapter 5 Copyright © Scott B. Patten, Permission granted for classroom use with Epidemiology for Canadian Students: Principles,
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Hypothesis Testing Hypothesis Testing Topic 11. Hypothesis Testing Another way of looking at statistical inference in which we want to ask a question.
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
No criminal on the run The concept of test of significance FETP India.
4 Hypothesis & Testing. CHAPTER OUTLINE 4-1 STATISTICAL INFERENCE 4-2 POINT ESTIMATION 4-3 HYPOTHESIS TESTING Statistical Hypotheses Testing.
May 2004 Prof. Himayatullah 1 Basic Econometrics Chapter 5: TWO-VARIABLE REGRESSION: Interval Estimation and Hypothesis Testing.
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.
Statistical Inference Statistical Inference involves estimating a population parameter (mean) from a sample that is taken from the population. Inference.
M33 Confidence intervals 1  Department of ISM, University of Alabama, Confidence Interval Estimation.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 8 First Part.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 4 First Part.
: An alternative representation of level of significance. - normal distribution applies. - α level of significance (e.g. 5% in two tails) determines the.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
Statistical Analysis II Lan Kong Associate Professor Division of Biostatistics and Bioinformatics Department of Public Health Sciences December 15, 2015.
© Copyright McGraw-Hill 2004
Sampling and Statistical Analysis for Decision Making A. A. Elimam College of Business San Francisco State University.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
PEP-PMMA Training Session Statistical inference Lima, Peru Abdelkrim Araar / Jean-Yves Duclos 9-10 June 2007.
More Statistics measures of uncertainty and small number issues Contributors Mark Dancox Shelley Bradley Jacq Clarkson.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
More on Inference.
Significance testing Introduction to Intervention Epidemiology
CONCEPTS OF HYPOTHESIS TESTING
More on Inference.
9 Tests of Hypotheses for a Single Sample CHAPTER OUTLINE
Statistical inference
Presentation transcript:

Confidence Intervals and Hypothesis Testing Mark Dancox Public Health Intelligence Course – Day 3

In this session… Confidence Intervals - How to calculate - How to interpret Hypothesis testing Sample size and small numbers

Measuring uncertainty Most measures used to assess health are subject to chance variation. ᶿ ᶿ Source: APHO Health Profiles 2009, using ONS teenage conception data How likely is it that these differences are due to chance? East

Confidence Intervals Summary statistics are point estimates based on samples Confidence Intervals quantify the degree of uncertainty in these estimates Quoted as a lower limit and an upper limit which provide a range of values within which the population value is likely to lie

Source: APHO Health Profiles, ONS data, 95% confidence intervals ᶿ ᶿ East

Calculating Confidence Intervals General form of any 95% C.I.: Point Estimate ± 1.96*(Estimated SE) For 99% CI’s we use 2.57 For 90% CI’s we use 1.64

Standard Error Summary statistics – such as the mean- are based on samples Different samples from the same population give rise to different values This variation is quantified by the standard error

An example….

An example….continued….

Standard Errors Normal distribution Poisson distribution Binomial Distribution

Example If the mean weight (kg) for a given sample of 43 men aged 55 is 81.4kg and the standard deviation is 12.7 kg…. Then a 95% confidence interval is… [77.6, 85.2]

Interpretation A 95% Confidence Interval is a random interval, such that in related sampling 95 out of every 100 intervals succeed in covering the parameter Loose interpretation – “95% chance true value inside interval” 5% of cases (X X) True Value X)

Interpretation of confidence intervals Non overlapping intervals indicative of real differences Overlapping intervals need to be considered with caution Need to be careful about using confidence intervals as a means of testing. The smaller the sample size, the wider the confidence interval

Which areas are significantly higher than England?

The width of a confidence interval is affected by: Size of the sample Variability in phenomenon being measured Required level of confidence, e.g. 95%, 99%

In this session… Confidence Intervals - How to calculate - How to interpret Hypothesis testing Sample size and small numbers

Hypothesis testing & Small Numbers Outline of hypothesis testing P-values Sample sizes

Hypothesis Testing Inferences about a population are often based upon a sample. Want to be able to use sample statistics to draw conclusions about the underlying population values Hypothesis testing provides some criteria for reaching these conclusions

Types of hypotheses Null Hypothesis (H 0 ) – The hypothesis under consideration – “TB incidence in Area 1 is no different from England” Alternative Hypothesis (H a ) – The hypothesis we accept if we reject the null hypothesis – “TB incidence in Area 1 is different from England”

General principles Formulate null (H 0 ) and alternative (H a ) hypotheses Choose test statistic – preferably one whose distribution is known Decide rule for choosing between the null and alternative hypotheses – This involves assuming an underlying distribution Calculate test statistic and compare against the decision rule. Check assumptions

Illustration of acceptance region

P-values Criteria to judge statistical significance of results. Quoted as values between 0 and 1 Probability of result, assuming H o true Values less than 0.05 (or 0.01) indicates an observation unlikely under the assumption that H O is true E.g. A p-value of 0.05 could be interpreted as 5% probability this observation was just due to chance.

Illustration of P-value under H o

Significance Levels Used as the criteria to accept or reject Null Reject the null hypothesis if P-value < 0.05 (or 0.01) These values should be chosen a priori

Example: TB Incidence Formulate null (H 0 ) and alternative (H a ) hypotheses Choose test statistic – preferably one whose distribution is known Decide rule for choosing between the null and alternative hypotheses – This involves assuming an underlying distribution Calculate test statistic and compare against the decision rule. Check assumptions

Example TB Incidence Null Hypothesis (H 0 ) – The hypothesis under consideration – “TB incidence in Area 1 is no different from England” Alternative Hypothesis (H a ) – The hypothesis we accept if we reject the null hypothesis – “TB incidence in Area 1 is different from England”

Example: TB Incidence Area 1 TB INCIDENCE Null: “TB Incidence in Area 1 no different from England”

In this session… Confidence Intervals - How to calculate - How to interpret Hypothesis testing Sample size and small numbers

Sample size Results may indicate no difference between groups This may be because there is truly no difference between groups or because there was an insufficiently large sample size for this to be detected

Determining Sample Size Choice of sample size depends on: – Anticipated size of effect/ required precision – Variability in measurement – Power (the probability of detecting a difference if it exists) – Significance levels

‘Power’ is related to Type 1 and Type 2 error

Small samples The smaller the sample, the higher degree of uncertainty in results. Increased variability in small samples Confidence Intervals for estimates are wider Low numbers may affect the calculation of directly standardised rates (for instance) Distribution assumptions may be affected.

Dealing with small numbers Can combine several years of data – Mortality pooled over several years for rare conditions Combine counts across categories of data – Low cell counts in cross-classifications of the data Exact methods may be needed. Disclosure control needed?

Finding out more The Association of Public Health Observatories has produced a useful briefing on confidence intervals

Finding out more Lots of useful information can be found at the HealthKnowledge website…

Finding out more Some further references of interest: – Bland, M. Introduction to Medical Statistics. Third Edition. Oxford University Press, – Hennekens CH, Buring JE. Epidemiology in Medicine, Lippincott Williams & Wilkins, – Larson, H.J. Introduction to Probability Theory and Statistical Inference. Third Edition. Wiley, 1982

Power…if time…