Biostatistics 410.645.01 Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1. Estimation ESTIMATION.
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Chapter Seventeen HYPOTHESIS TESTING
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Inferences About Process Quality
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Chapter 9 Hypothesis Testing.
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 6 Chicago School of Professional Psychology.
Chapter 8 Introduction to Hypothesis Testing
BCOR 1020 Business Statistics
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
5-3 Inference on the Means of Two Populations, Variances Unknown
Sample Size Determination
Review for Exam 2 Some important themes from Chapters 6-9 Chap. 6. Significance Tests Chap. 7: Comparing Two Groups Chap. 8: Contingency Tables (Categorical.
Sample Size Determination Ziad Taib March 7, 2014.
INFERENTIAL STATISTICS – Samples are only estimates of the population – Sample statistics will be slightly off from the true values of its population’s.
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
1. Statistics: Learning from Samples about Populations Inference 1: Confidence Intervals What does the 95% CI really mean? Inference 2: Hypothesis Tests.
Overview of Statistical Hypothesis Testing: The z-Test
Confidence Intervals and Hypothesis Testing - II
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Introduction to Biostatistics and Bioinformatics
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Testing Hypotheses Tuesday, October 28. Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-,
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
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.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Statistical Review We will be working with two types of probability distributions: Discrete distributions –If the random variable of interest can take.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Hypothesis Testing Hypothesis Testing Topic 11. Hypothesis Testing Another way of looking at statistical inference in which we want to ask a question.
Large sample CI for μ Small sample CI for μ Large sample CI for p
10.1: Confidence Intervals Falls under the topic of “Inference.” Inference means we are attempting to answer the question, “How good is our answer?” Mathematically:
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
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.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 8 First Part.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 4 First Part.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Fall 2002Biostat Statistical Inference - Proportions One sample Confidence intervals Hypothesis tests Two Sample Confidence intervals Hypothesis.
Math 4030 – 9a Introduction to Hypothesis Testing
© Copyright McGraw-Hill 2004
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
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.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Hypothesis Tests for 1-Proportion Presentation 9.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Chapter 9 Introduction to the t Statistic
Hypothesis Testing: Hypotheses
Introduction to Inference
Introduction to Inference
Type I and Type II Errors
Presentation transcript:

Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000

Hypothesis testing Estimation and confidence intervals are the first type of statistical inference –Preferred by some journals and researchers –Not so dependent on a single value –Better idea of the possible values of the effect Hypothesis testing is the second type –Calculate a test statistic and then determine the probability that it is comparing data from the same distribution

Hypothesis testing Research hypotheses, as opposed to statistical hypotheses, are the research questions that drive the research –e.g., lowering the fat in a person’s diet lowers the blood cholesterol levels –e.g., better nutrition in childhood leads to increased adult height –e.g., pain control in intubated pre- term neonates leads to better behavioral development than no pain control

Hypothesis testing Statistical hypotheses are specific research hypotheses that are stated in such a way that they may be evaluated by appropriate statistical techniques –H 0 : there is no difference in blood cholesterol levels between those with reduced fat diets and those without –“Under the null hypothesis,…” Alternative hypothesis is the hypothesis of a significant difference –H 1 : people on reduced fat diets will have lower blood cholesterol levels than those on regular diets

Steps to Hypothesis Testing Understanding research data Assumptions about data (i.e., distribution, independence, etc.) Development of hypothesis from knowledge base Determine test statistic to answer hypothesis Develop decision rule Generate test statistic Statistical decision Conclusion

Interpreting Results of Hypothesis Testing We cannot “prove” hypotheses, only provide support for either the null or alternative –i.e., we “accept” or “fail to reject” the null hypothesis if the test statistic indicates that the two groups may be from the same population or we “reject” the null hypothesis if the test statistic indicates that they may be from different populations Hypothesis testing results are couched in probability terms since we can never be 100% sure

Types of Error Type I error, , is the probability of rejecting a true null hypothesis –Reflected in the level of significance –Typical values are 0.05 or 0.01 Type II error, , is the probability of accepting a false null hypothesis –Only an issue if fail to reject the null hypothesis –Typical values are 0.10 or 0.20 Power of a test, 1- , is the probability of correctly rejecting a false null hypothesis –Typical values are 0.80 or 0.90

Significance Levels Level of significance, , is the probability that the test statistic was declared significantly different from zero (typically) when the data are from the same population or distribution –Computed value of the test statistic that falls in the “rejection region” is said to be “statistically significant”or just “significant May be different from “clinically significant” –Distribution of the test statistic is divided into rejection and acceptance regions

Significance Levels We want to keep the  error low –Typically 0.05 or 0.01 –In reality, we calculate the exact level of significance for a test statistic Guidelines: –p > 0.10 – not significant –0.05  p  0.10 – suggestive –0.01  p < 0.05 – significant –0.001  p < 0.01 – highly significant –p < – very highly significant

Testing a Single Mean – One Sided Alternatives Test to compare the mean of a normal distribution against a prespecified value, such as a population mean Test statistic is for H 0 :  =  0 vs H 1 :   0 –with  unknown Reject if t < t(n-1,  ), accept otherwise –t is called a test statistic –t(n-1,  ) is called a critical value Alternatively, use p-values directly

Testing a Single Mean – Two Sided Alternatives In some cases, may not be sure of which direction the difference may be going In this case, we are testing –H 0 :  =  0 vs H 1 :  0 –Test statistic is the same tested against high and low critical values –More conservative, since it is harder to reject the null hypothesis –As with confidence intervals, two sided tests have higher critical values e.g., for  =0.05 (95% C.I.), the critical z- value is one sided, but 1.96 two- sided

Power of a test Power used to plan a study or to give further insight into a non- significant result Important to design a study with a projected difference large enough to be “detected” with a statistical test –Otherwise, study is doomed to be a “negative” (non-significant) study Determination of difference not just a matter of guessing –Study design issues are critical –Selection of patients, appropriate control subjects or placebo medication, selection of high risk patients in whom a major difference would be substantial

Power of a test Equation for determining power is given by: where  is the probability of the z-value from the standard normal distribution

Factors Affecting Power Smaller  -error leads to lower power for same sample size Bigger difference between means leads to more power for same sample size Bigger standard deviations leads to less power for same sample size Bigger sample size leads to more power

Power of a test – two-sided alternative Have to take into account both rejection regions

Sample size determination Sample size (and power) depend on test statistic –Sample size (and power) can be derived from the test statistic –All are interconnected – different expressions of the same underlying relationship One-side alternatives for test of means Two-sided alternatives

Factors Affecting Sample Sizes As variance increases, sample size increases As significance level decreases, sample size increases As power increases, sample size increases As difference between means increase, sample size decreases

Sample sizes for confidence intervals Suppose we want to estimate the sample size required to construct a 100% x (1-  ) C.I. for  of width L

Relation between confidence intervals and significance tests If the 95% confidence interval does not contain  0, then the null hypothesis would be rejected at the 0.05 level Conversely, if the 95% confidence interval does contain  0, then the null hypothesis is accepted at the 0.05 level

One Sample Chi-Square Test for the Variance of a Normal Distribution Test statistic is: –  2 = (n-1) s 2 /  0 2 Reject if –  2 <  2 n-1,  /2 or  2 <  2 n-1,1-  /2

One-Sample Test for Binomial Proportion Extension of the approaches for normal mean Assume np 0 q 0 > 5 so that we can use normal theory results Test statistic becomes Power and sample size have similar extensions

One-Sample Inference for Poisson Distribution Usually assume  0  10 to apply normal theory results Standard mortality ratio (SMR) –SMR = 100% x O/E –Where 0 is the observed deaths in the sample and E is the expected number based on the  0 in the general population