Sample size calculation

Slides:



Advertisements
Similar presentations
Sample size estimation
Advertisements

Estimation of Sample Size
SAMPLE SIZE ESTIMATION
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
ProportionMisc.Grab BagRatiosIntro.
Chapter Seventeen HYPOTHESIS TESTING
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
Basic Elements of Testing Hypothesis Dr. M. H. Rahbar Professor of Biostatistics Department of Epidemiology Director, Data Coordinating Center College.
Power and Effect Size.
PSY 1950 Confidence and Power December, Requisite Quote “The picturing of data allows us to be sensitive not only to the multiple hypotheses that.
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
Sample Size Determination In the Context of Hypothesis Testing
Chapter 9 Hypothesis Testing.
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
Calculating sample size for a case-control study
Sample Size and Statistical Power Epidemiology 655 Winter 1999 Jennifer Beebe.
AM Recitation 2/10/11.
Hypothesis Testing.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Comparing Means From Two Sets of Data
Inference for a Single Population Proportion (p).
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.
Sample Size Determination Donna McClish. Issues in sample size determination Sample size formulas depend on –Study design –Outcome measure Dichotomous.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Instructor Resource Chapter 5 Copyright © Scott B. Patten, Permission granted for classroom use with Epidemiology for Canadian Students: Principles,
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
Chapter 12 A Primer for Inferential Statistics What Does Statistically Significant Mean? It’s the probability that an observed difference or association.
CONFIDENCE INTERVAL It is the interval or range of values which most likely encompasses the true population value. It is the extent that a particular.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Introduction to sample size and power calculations Afshin Ostovar Bushehr University of Medical Sciences.
Unit 8 Section 8-1 & : Steps in Hypothesis Testing- Traditional Method  Hypothesis Testing – a decision making process for evaluating a claim.
Education 793 Class Notes Decisions, Error and Power Presentation 8.
Copyright © 2011 Pearson Education, Inc. Putting Statistics to Work.
© Copyright McGraw-Hill 2004
Various Topics of Interest to the Inquiring Orthopedist Richard Gerkin, MD, MS BGSMC GME Research.
Introduction to Hypothesis Testing
European Patients’ Academy on Therapeutic Innovation The Purpose and Fundamentals of Statistics in Clinical Trials.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Chapter ?? 7 Statistical Issues in Research Planning and Evaluation C H A P T E R.
PEP-PMMA Training Session Statistical inference Lima, Peru Abdelkrim Araar / Jean-Yves Duclos 9-10 June 2007.
C HAPTER 2  Hypothesis Testing -Test for one means - Test for two means -Test for one and two proportions.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
More about tests and intervals CHAPTER 21. Do not state your claim as the null hypothesis, instead make what you’re trying to prove the alternative. The.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. Part Four ANALYSIS AND PRESENTATION OF DATA.
Learning Objectives Describe the hypothesis testing process Distinguish the types of hypotheses Explain hypothesis testing errors Solve hypothesis testing.
Inference for a Single Population Proportion (p)
Chapter 9 Hypothesis Testing.
Topics: Essentials Hypotheses Testing Examples
How many study subjects are required ? (Estimation of Sample size) By Dr.Shaik Shaffi Ahamed Associate Professor Dept. of Family & Community Medicine.
Hypothesis Testing I The One-sample Case
Hypothesis Testing II: The Two-sample Case
Chapter 8: Inference for Proportions
Topics: Essentials Hypotheses Testing Examples
P-value Approach for Test Conclusion
Chapter 6 Making Sense of Statistical Significance: Decision Errors, Effect Size and Statistical Power Part 1: Sept. 18, 2014.
AP Statistics: Chapter 21
Statistical Inference
More About Tests Notes from
Sample Mean Compared to a Given Population Mean
Sample Mean Compared to a Given Population Mean
Sample size.
Interpreting Epidemiologic Results.
Type I and Type II Errors
Statistical Power.
Rest of lecture 4 (Chapter 5: pg ) Statistical Inferences
Presentation transcript:

Sample size calculation Dr Sa’ed H. Zyoud

Testing hypothesis (Outcomes) Decision Errors Two types of errors can result from a hypothesis test. Type I error. occurs when the researcher rejects a null hypothesis when it is true. The probability of committing a Type I error is called the significance level. This probability is also called alpha (α). Type II error. A Type II error occurs when the researcher fails to reject a null hypothesis that is false. The probability of not committing a Type II error is called the Power of the test. The probability of committing a Type II error is called Beta (β). .

Factors that affect the sample size 1. Power of the study The power of a study is the probability of detecting a real difference. In other words, it is same as the probability of making a positive diagnosis when the disease is present. For a good study one should have to take at least 80% power. An increase in the sample size or a greater difference between the control and the test groups leads to an increase in the power of the test.

2. Level of significance Level of significance is the probability of rejecting null hypothesis when it is true. This is the most important factor in determination of sample size. Therefore, the level of significance must be fixed before the testing of hypothesis, estimation and sample size calculation. In a standard situation, the probability can be taken as 0.05 or 0.01.

Estimating a proportion

1. Raosoft sample size calculator An automated software program, (Raosoft sample size calculator: (http://www.raosoft.com/samplesize.html) is used to calculate the required sample size for this study.

Raosoft sample size calculator The estimated sample size is …….. patients out of the ………. eligible patients registered in the public health care clinics.

Raosoft sample size calculator In order to minimize erroneous results and increase the study reliability, the target sample size will be increased 5% to 10%.

2. Danial sample size formula The sample size formula (Daniel, 1999) is used, which is If your population more than 10.000 Where Z: statistic for a level of confidence. (For the level of confidence of 95%, which is conventional, Z value is 1.96). P: expected prevalence or proportion. (P is considered 0.5) d: precision. (d is considered 0.05 to produce good precision and smaller error of estimate)

A hospital administrator wishes to know what proportion of discharged patients is unhappy with the care received during hospitalization. If 95% Confidence interval is desired to estimate the proportion within 5%, how large a sample should be drawn? n = Z2 p(1-p)/d2 =(1.96)2(.5×.5)/(.05)2 =384.2 ≈385 patients

Adjusted sample for population less than 10.000 n / (1+ (n/population)) = adjusted sample Where n= calculated sample size from Danial formula

3. Pocock’s sample size formula Pocock’s sample size formula which is a common formula for comparing two proportions can be used. This equation provides a continuity corrected value intended to be used with Chi-square or Fischer’s exact tests (Pocock, 1983) .

Pocock’s sample size formula n = [P1 (1-P1) + P2 (1-P2)] ( Zα/2 + Z β) 2 (P1-P2)2  Where: n: required sample size P1: estimated proportion of study outcome in the exposed group P2: estimated proportion of study outcome in the unexposed group α: level of statistical significance Zα/2: Represents the desired level of statistical significance (typically 1.96 for α = 0.05) Z β: Represents the desired power (typically 0.84 for 80% power) n for each group *2= total sample (i.e. for the 2 groups)

Typical values for significance level and power

4. Altman’s nomogram (Altman 1980) n = total sample (i. e 4. Altman’s nomogram (Altman 1980) n = total sample (i.e. for the 2 groups)

P = (P1 +P2) 2 Where: P: mean of the two proportions P1: estimated proportion of study outcome in the exposed group P2: estimated proportion of study outcome in the unexposed group Standardised difference = (P1 – P2) √ [P (1- P)]

Pocock’s sample size formula This equation assumes that the comparison is to be made across two equally sized groups. However, comparisons in observational studies are mainly made across two unequally sized groups. In this case, the sample size should be adjusted according to the actual ratio of the two groups in order to reflect the inequality (Whitley and Ball, 2002).

The adjusted sample size (nadjusted) depends on the following formula (Whitley and Ball 2002):   nadjusted = n × (k +1)2 4 k where: n: sample size = total sample (i.e. for the 2 groups) k: actual ratio of the two groups

Estimating a mean n = Z2 σ2 / d2 Where “ Z: statistic for a level of confidence. (For the level of confidence of 95%, which is conventional, Z value is 1.96). σ: estimated standard deviation from previous studies d: precision. (d is considered 0.05 to produce good precision and smaller error of estimate)