Introduction to sample size and power calculations Afshin Ostovar Bushehr University of Medical Sciences.

Slides:



Advertisements
Similar presentations
Study Size Planning for Observational Comparative Effectiveness Research Prepared for: Agency for Healthcare Research and Quality (AHRQ)
Advertisements

LSU-HSC School of Public Health Biostatistics 1 Statistical Core Didactic Introduction to Biostatistics Donald E. Mercante, PhD.
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
Inference Sampling distributions Hypothesis testing.
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
Hypothesis Testing: One Sample Mean or Proportion
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Sample size computations Petter Mostad
Statistical Significance What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant? How Do We Know Whether a Result.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Lecture 11 Psyc 300A. Null Hypothesis Testing Null hypothesis: the statistical hypothesis that there is no relationship between the variables you are.
Research Curriculum Session III – Estimating Sample Size and Power Jim Quinn MD MS Research Director, Division of Emergency Medicine Stanford University.
PSY 1950 Confidence and Power December, Requisite Quote “The picturing of data allows us to be sensitive not only to the multiple hypotheses that.
IENG 486 Statistical Quality & Process Control
Chapter 9 Hypothesis Testing.
PSY 307 – Statistics for the Behavioral Sciences
Today Concepts underlying inferential statistics
Using Statistics in Research Psych 231: Research Methods in Psychology.
Independent Sample T-test Classical design used in psychology/medicine N subjects are randomly assigned to two groups (Control * Treatment). After treatment,
Sample Size Determination
Osama A Samarkandi, PhD-RN, NIAC BSc, GMD, BSN, MSN.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Sample size calculation
INFERENTIAL STATISTICS – Samples are only estimates of the population – Sample statistics will be slightly off from the true values of its population’s.
AM Recitation 2/10/11.
Chapter 10 Hypothesis Testing
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 9. Hypothesis Testing I: The Six Steps of Statistical Inference.
Hypothesis Testing.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Sample size determination Nick Barrowman, PhD Senior Statistician Clinical Research Unit, CHEO Research Institute March 29, 2010.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Statistical Power and Sample Size Calculations Drug Development Statistics & Data Management July 2014 Cathryn Lewis Professor of Genetic Epidemiology.
Introduction To Biological Research. Step-by-step analysis of biological data The statistical analysis of a biological experiment may be broken down into.
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
LECTURE 19 THURSDAY, 14 April STA 291 Spring
Education Research 250:205 Writing Chapter 3. Objectives Subjects Instrumentation Procedures Experimental Design Statistical Analysis  Displaying data.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Inferential Statistics 2 Maarten Buis January 11, 2006.
Introduction to inference Use and abuse of tests; power and decision IPS chapters 6.3 and 6.4 © 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.
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
Inference and Inferential Statistics Methods of Educational Research EDU 660.
PY 603 – Advanced Statistics II TR 12:30-1:45pm 232 Gordon Palmer Hall Jamie DeCoster.
Chapter 8 Delving Into The Use of Inference 8.1 Estimating with Confidence 8.2 Use and Abuse of Tests.
Calculating sample size for means Afshin Ostovar Bushehr University of Medical Sciences.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Correlation Assume you have two measurements, x and y, on a set of objects, and would like to know if x and y are related. If they are directly related,
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
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.
© Copyright McGraw-Hill 2004
Sample Size Determination
Various Topics of Interest to the Inquiring Orthopedist Richard Gerkin, MD, MS BGSMC GME Research.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
Hypothesis Testing and Statistical Significance
Chapter 7: Hypothesis Testing. Learning Objectives Describe the process of hypothesis testing Correctly state hypotheses Distinguish between one-tailed.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Inferential Statistics Psych 231: Research Methods in Psychology.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
Power and Multiple Regression
Section Testing a Proportion
How many study subjects are required ? (Estimation of Sample size) By Dr.Shaik Shaffi Ahamed Associate Professor Dept. of Family & Community Medicine.
Understanding Results
Statistical inference: distribution, hypothesis testing
Statistical Power.
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Introduction to sample size and power calculations Afshin Ostovar Bushehr University of Medical Sciences

Questions 1. How many samples do we need? 2. How much chance do we have to reject the null hypothesis when the alternative is in fact true? (what’s the probability of detecting a real effect?) 3. Can we quantify how much power we have for given sample sizes?

Why don’t we take the sample size as large as possible? 1. Economy: o Why should we include more than we have to? o Every trial costs! 2. Ethics: o We should never punish more test persons or animals than necessary 3. Statistics: o We can proof almost every effect, if we only have sufficiently large sample size o Stress field: statistical significance vs. clinical relevance

What do we want to do? We have to find the correct sample size to detect the desired effect. Not too small - Not too large

What do we need on the way?  How does a test work?  What means ”Power of a test”?  What determines the sample size?  How do we handle this in practical tasks?

A short introduction to hypotheses testing Strategy: 1. Formulate a hypothesis Expected heights equal vs. Expected heights different Null hypothesis vs. Alternative H0 vs. H1 2. Find an appropriate test statistics 3. Compute the observed test statistics 4. Reject the null hypothesis H0 if Test statistic is too large. But what does this mean: ”too large”?

Possible results of a single test Test Decision RejectAcceptReality Type I ErrorRightH0 True RightType II ErrorH0 False

Wrong decisions: o Rejection even if H0 is true (type I error) o No rejection even if H0 is false (type II error) What do we want? o Reduction of the wrong decisions. o ⇒ Minimal probability for both types of errors.

Two opaque jars, each holding 100 beads, some blue and some white

Statistical approach o Idea: What is the probability that everything happened by accident? o Solution: The p-value The p-value is for a given data set the probability to get the observed test statistics or worse assuming that the null hypothesis is true We reject the null hypothesis if the p-value is under a given significance level (usual convention = 0.05) The probability of type I error (incorrect rejection) will be lower than the used significance level.

Power and Sample Size o Recall: α Probability for wrong rejections (type I error) o Definition β: Probability for wrong acceptations (type II error) The power of a test is the probability to detect a wrong hypothesis Power = 1 − β

Principles of Sample Size 1. Variability 2. Effect size 3. Significance level 4. Power of the test 5. Type of the test

Variability o e.g. standard deviation of both samples for a t-test o taken some experience former or pilot studies

Effect Size o What effect (mean difference, risk, coefficient size) is clinically relevant? o Which effect must be detectable to make the study meaningful? o This is a choice by the researcher (not statistically determined!)

Significance level o usually set to = 0.05 o Adjustments must be taken into account (e.g. multiple testing)

Power of the test o often used 1 − β = 0.8 o This is a choice by the researcher (not statistically determined!)

Type of the Test o Different test for the same problem often have different power

What to put in a grant application 1. Bare essentials:  Proportions  P1  The effect size (from which P2 and the standard error can be calculated)  Means  Population mean for the controls  The effect size  Standard deviation for either the cases or controls

What to put in a grant application

Some points  The variable you choose for the calculation should be the most important one to the interpretation of the study.  Sometimes it is wise to do calculations for a number of outcome variables to see if they all give about the same sample size or if there are some variables which are more likely to yield precise results than others.

Some points, cont’d

Altman Nomogram

Sample Size Calculation software  SPSS  STATA  PASS  Gpower  PS  Epiinfo  …

What this workshop covers  Means 1. Estimation 2. Comparing with a constant 3. Comparing two independent groups 4. Comparing ≥ two independent groups 5. Comparing before and after situations  Proportions 1. Estimation 2. Comparing with a constant 3. Comparing two independent groups  Correlation & Regression

What this workshop does not cover  Complex formulas  Special cases:  Survival analysis  Survey sampling methods  Crossover trials  Non-inferiority trials  Missing data  Subgroup analysis  Non-parametric tests  …