Applied Biostatistics: Lecture 4

Slides:



Advertisements
Similar presentations
Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample data Elements of a hypothesis test: Null hypothesis.
Advertisements

Education 793 Class Notes Joint Distributions and Correlation 1 October 2003.
Section 4.2: How to Look for Differences. Cross-Tabulations College student binge drinkers experienced many personal and social problems, the researchers.
Chapter 7 Introduction to Sampling Distributions
Chapter 8 Estimation: Additional Topics
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
Research Curriculum Session III – Estimating Sample Size and Power Jim Quinn MD MS Research Director, Division of Emergency Medicine Stanford University.
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
Multiple Regression Research Methods and Statistics.
Sample Size Determination
Calculating sample size for a case-control study
Sample size and study design
Sample Size Determination Ziad Taib March 7, 2014.
Statistical considerations for grants Brian Healy.
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Survival analysis Brian Healy, PhD. Previous classes Regression Regression –Linear regression –Multiple regression –Logistic regression.
1 Clinical Investigation and Outcomes Research Statistical Issues in Designing Clinical Research Marcia A. Testa, MPH, PhD Department of Biostatistics.
Sample size determination Nick Barrowman, PhD Senior Statistician Clinical Research Unit, CHEO Research Institute March 29, 2010.
Power and Sample Size Determination Anwar Ahmad. Learning Objectives Provide examples demonstrating how the margin of error, effect size and variability.
© 2014 by Pearson Higher Education, Inc Upper Saddle River, New Jersey All Rights Reserved HLTH 300 Biostatistics for Public Health Practice, Raul.
Sample Size In Clinical Trials In The Name Of God Sample size in clinical trials.
Sampling Distribution Tripthi M. Mathew, MD, MPH.
Biostatistics in Practice Peter D. Christenson Biostatistician LABioMed.org /Biostat Session 4: Study Size and Power.
Biostatistics in Practice Peter D. Christenson Biostatistician Session 4: Study Size and Power.
Introduction to sample size and power calculations Afshin Ostovar Bushehr University of Medical Sciences.
Analysis of Variance (ANOVA) Brian Healy, PhD BIO203.
I271B The t distribution and the independent sample t-test.
Biostatistics in Practice Peter D. Christenson Biostatistician Session 4: Study Size for Precision or Power.
Framework of Preferred Evaluation Methodologies for TAACCCT Impact/Outcomes Analysis Random Assignment (Experimental Design) preferred – High proportion.
© Copyright McGraw-Hill 2004
Biostatistics Basics: Part II Leroy R. Thacker, PhD Associate Professor Schools of Nursing and Medicine.
Sample Size Determination
Various Topics of Interest to the Inquiring Orthopedist Richard Gerkin, MD, MS BGSMC GME Research.
SAMPLE SIZE.
The General Linear Model. Estimation -- The General Linear Model Formula for a straight line y = b 0 + b 1 x x y.
11.1 Heteroskedasticity: Nature and Detection Aims and Learning Objectives By the end of this session students should be able to: Explain the nature.
Inference for a Single Population Proportion (p)
Core Research Competencies:
Lecture #25 Tuesday, November 15, 2016 Textbook: 14.1 and 14.3
Experiments, Simulations Confidence Intervals
Sample Size Determination
What size of trial do I need?
BIOST 513 Discussion Section - Week 10
CHAPTER 3 Describing Relationships
Sampling Distributions
Inference for Least Squares Lines
Lecture #26 Thursday, November 17, 2016 Textbook: 14.1 and 14.3
Lecture #18 Thursday, October 20, 2016 Textbook: Sections 12.1 to 12.4
Associate Director, Biostatistics
Chapter 7 Sampling and Sampling Distributions
How many study subjects are required ? (Estimation of Sample size) By Dr.Shaik Shaffi Ahamed Associate Professor Dept. of Family & Community Medicine.
Applied Biostatistics: Lecture 2
Hypothesis testing using contrasts
Sample Size Estimation
SDPBRN Postgraduate Training Day Dundee Dental Education Centre
AP STATISTICS LESSON 3 – 3 (DAY 2)
Comparing Populations
Reasoning in Psychology Using Statistics
Elements of a statistical test Statistical null hypotheses
Remember You just invented a “magic math pill” that will increase test scores. On the day of the first test you give the pill to 4 subjects. When these.
Lecture11 review for final examination
MATH 2311 Section 7.2.
Sample size.
2/3/ Estimating a Population Proportion.
How many study subjects are required ? (Estimation of Sample size) By Dr.Shaik Shaffi Ahamed Professor Dept. of Family & Community Medicine College.
Effect of Sample size on Research Outcomes
Section 9.2: Sample Proportions
Inference for Distributions
Chapter 4 (cont.) The Sampling Distribution
Presentation transcript:

Applied Biostatistics: Lecture 4 Brian Healy, Ph.D

Goals At the end of this lecture, you will be able to Perform a sample size calculation for a two sample t-test in R Perform a sample size calculation for a two sample test of proportions in R

Previous classes In the previous class, we focused on: Reading data into R Calculating summary statistics Creating graphics Performing a chi-squared test Performing a t-test Performing a linear regression Performing survival analysis

Sample size calculations For today’s class, we will focus on performing sample size calculations for the design of clinical trials For a clinical trial, we perform the sample size calculation prior to collecting any data so we do not need to load a dataset

Know 4, calculate the 5th For each type of outcome, we needed to four of these five things so we could calculate the fifth Type I error rate Power Sample size Group difference Variability or baseline proportion

Example For a clinical trial in MS, we would like to assess if a new treatment has an impact compared to placebo on the proportion of subjects who experience sustained disability worsening at the two year time point What type of outcome do we have? What type of explanatory variable do we have? What type of analysis is appropriate in this case?

Formula The formula for the sample size calculation if we assume equal group sizes and do not include continuity correction is 𝑛 1 = 𝑧 1− 𝛼 2 2∗ 𝑝 (1− 𝑝 ) 0.5 + 𝑧 1−𝛽 𝑝 1 1− 𝑝 1 + 𝑝 2 1− 𝑝 2 0.5 2 𝑝 1 − 𝑝 2 2 Where 𝑝 = 𝑝 1 + 𝑝 2 2 If proportion difference Sample size DECREASES If a-level (z1-a/2 ) Sample size DECREASES If power (z1-b ) Sample size INCREASES

Preliminary information Based on previous studies, we anticipate that 30% of subjects in the placebo arm will experience disease worsening over two years Based on earlier trials, we anticipate that the treatment will reduce the proportion of subjects who experience disease worsening to 20% Since this is a traditional trial, we would like a two sided type I error rate of 0.05 and power of 0.8

Sample size calculation in R power.prop.test(p1=0.3,p2=0.2,power=0.8, sig.level=0.05,alternative="two.sided") power.prop.test(p1=0.3,p2=0.2,power=0.8) Estimate sample size is 294 per group (we always choose next whole number

Changing the sample size As difference between groups increases (i.e. d increases), sample size decreases power.prop.test(p1=0.3,p2=0.15,power=0.8, sig.level=0.05,alternative="two.sided") As type I error rate increases (i.e. z1-a/2 decreases), sample size decreases power.prop.test(p1=0.3,p2=0.2,power=0.8, sig.level=0.1,alternative="two.sided") As power increases (i.e. z1-b increases), sample size increases power.prop.test(p1=0.3,p2=0.2,power=0.9, sig.level=0.05,alternative="two.sided")

Grant section With a sample of 294 subjects per groups, we will have 80% power to detect a difference with a significance level of 0.05 using a two-sided two-sample test of proportions if the proportion of subjects with disease worsening in the placebo group is 0.3 and the proportion of subjects with disease worsening in the treatment group is 0.2.

Example #2 In the same clinical trial in MS, we would like to assess if a new treatment has an impact compared to placebo on SDMT score at the two year time point What type of outcome do we have? What type of explanatory variable do we have? What type of analysis is appropriate in this case?

Formula The formula for the sample size calculation if we assume equal group sizes is 𝑛 1 = 𝑛 2 = 𝜎 1 2 + 𝜎 2 2 𝑧 1− 𝛼 2 + 𝑧 1−𝛽 2 𝜇 1 − 𝜇 2 2 If mean difference Sample size DECREASES If a-level (z1-a/2 ) Sample size DECREASES If power (z1-b ) Sample size INCREASES If standard deviation Sample size INCREASES

Preliminary information Based on previous studies, we anticipate that subjects in the placebo arm will have a mean SDMT score of 45 with a standard deviation of 15 Based on earlier trials, we anticipate that the treatment will improve the mean SDMT score to 52 with a standard deviation of 15 Since this is a traditional trial, we would like a two sided type I error rate of 0.05 and power of 0.8

Sample size calculation in R power.t.test(delta=7,sd=15, power=0.8, sig.level=0.05,alternative="two.sided") power.t.test(delta=7,sd=15,power=0.8) Estimated sample size of 74 per group (we always choose next whole number)

Changing the sample size As difference between groups increases, sample size decreases power.t.test(delta=10,sd=15, power=0.8, sig.level=0.05,alternative="two.sided") As type I error rate increases, sample size decreases power.t.test(delta=7,sd=15, power=0.8, sig.level=0.1,alternative="two.sided") As power increases, sample size increases power.t.test(delta=7,sd=15, power=0.9, sig.level=0.05,alternative="two.sided") As standard deviation increases, sample size increases power.t.test(delta=7,sd=20, power=0.8, sig.level=0.05,alternative="two.sided")

Grant section With a sample of 74 subjects per groups, we will have 80% power to detect a difference with a significance level of 0.05 using a two-sided two-sample t-test if the mean (SD) SDMT score in the placebo group is 45 (15) and the mean (SD) SDMT score in the treatment group is 52 (15).

What we learned At the end of this lecture, you will be able to Perform a sample size calculation for a two sample t-test in R Perform a sample size calculation for a two sample test of proportions in R