Biostatistics-Lecture 4 More about hypothesis testing Ruibin Xi Peking University School of Mathematical Sciences.

Slides:



Advertisements
Similar presentations
HYPOTHESIS TESTING. Purpose The purpose of hypothesis testing is to help the researcher or administrator in reaching a decision concerning a population.
Advertisements

Hypothesis testing Another judgment method of sampling data.
1 Introduction to Biostatistics (PUBHLTH 540) Hypothesis Testing General Idea How unusual is the result? Test statistics Type I error (alpha level) p-value.
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
Probability & Statistical Inference Lecture 6 MSc in Computing (Data Analytics)
ONE SAMPLE t-TEST FOR THE MEAN OF THE NORMAL DISTRIBUTION Let sample from N(μ, σ), μ and σ unknown, estimate σ using s. Let significance level =α. STEP.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 10: Hypothesis Tests for Two Means: Related & Independent Samples.
BCOR 1020 Business Statistics
LARGE SAMPLE TESTS ON PROPORTIONS
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Sample Size Determination In the Context of Hypothesis Testing
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
5-3 Inference on the Means of Two Populations, Variances Unknown
1 Confidence Intervals for Means. 2 When the sample size n< 30 case1-1. the underlying distribution is normal with known variance case1-2. the underlying.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 8 Introduction to the t Test.
Claims about a Population Mean when σ is Known Objective: test a claim.
Means Tests Hypothesis Testing Assumptions Testing (Normality)
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Chapter 9 Hypothesis Testing: Single Population
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.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Sumukh Deshpande n Lecturer College of Applied Medical Sciences Statistics = Skills for life. BIOSTATISTICS (BST 211) Lecture 9.
Slide Slide 1 Section 8-6 Testing a Claim About a Standard Deviation or Variance.
Confidence intervals and hypothesis testing Petter Mostad
Week 101 Minitab CI and Hypothesis Tests for a Single Mean If the data is continuous, we use the t distribution unless σ is known. This is acceptable for.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
ANOVA Assumptions 1.Normality (sampling distribution of the mean) 2.Homogeneity of Variance 3.Independence of Observations - reason for random assignment.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Math 4030 – 9b Comparing Two Means 1 Dependent and independent samples Comparing two means.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Inference ConceptsSlide #1 1-sample Z-test H o :  =  o (where  o = specific value) Statistic: Test Statistic: Assume: –  is known – n is “large” (so.
BIOSTATISTICS Explorative data analysis. Box plot QQ plot Classification analysis Copyright ©2012, Joanna Szyda INTRODUCTION.
§2.The hypothesis testing of one normal population.
Sampling Distribution of Differences Between Means.
Tests of Significance: The Basics ESS chapter 15 © 2013 W.H. Freeman and Company.
Lecture 11 Dustin Lueker.  A 95% confidence interval for µ is (96,110). Which of the following statements about significance tests for the same data.
Module 25: Confidence Intervals and Hypothesis Tests for Variances for One Sample This module discusses confidence intervals and hypothesis tests.
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.
T T Population Hypothesis Tests Purpose Allows the analyst to analyze the results of hypothesis testing of the difference of 2 population.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
381 Hypothesis Testing (Testing with Two Samples-II) QSCI 381 – Lecture 31 (Larson and Farber, Sect 8.2)
Chapter 8 Analysis of METOC Variability. Contents 8.1. One-factor Analysis of Variance (ANOVA) 8.2. Partitioning of METOC Variability 8.3. Mathematical.
Analysis of Variance ANOVA - method used to test the equality of three or more population means Null Hypothesis - H 0 : μ 1 = μ 2 = μ 3 = μ k Alternative.
1 Section 8.4 Testing a claim about a mean (σ known) Objective For a population with mean µ (with σ known), use a sample (with a sample mean) to test a.
Making Decisions about a Population Mean with Confidence Lecture 35 Sections 10.1 – 10.2 Fri, Mar 25, 2005.
Review of Hypothesis Testing: –see Figures 7.3 & 7.4 on page 239 for an important issue in testing the hypothesis that  =20. There are two types of error.
Chapter 9 Hypothesis Testing.
Chapter 10 Hypothesis Tests for Proportions, Mean Differences and Proportion Differences.
STA 291 Spring 2010 Lecture 21 Dustin Lueker.
Confidence Intervals and Hypothesis Tests for Variances for One Sample
Math 4030 – 10a Tests for Population Mean(s)
Testing a Claim About a Mean:  Not Known
Chapter 8 Hypothesis Testing with Two Samples.
Hypothesis Testing: Hypotheses
Environmental Modeling Basic Testing Methods - Statistics
Chapter 9 Hypothesis Testing.
Inferences on Two Samples Summary
Estimates Made Using Sx
Hypothesis Tests for Proportions
Summary of Tests Confidence Limits
AP STATISTICS LESSON 10 – 2 (DAY 3)
STA 291 Summer 2008 Lecture 21 Dustin Lueker.
STA 291 Spring 2008 Lecture 21 Dustin Lueker.
Presentation transcript:

Biostatistics-Lecture 4 More about hypothesis testing Ruibin Xi Peking University School of Mathematical Sciences

Comparing two populations—two sample z-test Consider Fisher’s Iris data – Interested to see if Sepal.Length of Setosa and versicolor are the same – Let μ 1 and μ 2 be their Sepal.Lengths, respectively State the hypothesis – H0: μ 1 = μ 2 VS H1: μ 1 ≠ μ 2 – H0: μ 1 2 = μ 1 -μ 2 =0 VS H1: μ 1 2 ≠ 0

Comparing two populations—two sample z-test Choose the appropriate test – First Assume that the data from both groups are normally distributed with known variance (σ1= 0.35, σ2=0.38)

Comparing two populations—two sample z-test Choose the appropriate test – First Assume that the data from both groups are normally distributed with known variance (sd1= 0.35, sd2=0.38)

Comparing two populations—two sample z-test Choose the appropriate test – First Assume that the data from both groups are normally distributed with known variance (sd1= 0.35, sd2=0.38)

Comparing two populations—two sample z-test Choose the appropriate test – First Assume that the data from both groups are normally distributed with known variance (σ1= 0.35, σ2=0.38) – We have Significance Level α=0.01 –

Comparing two populations—two sample z-test Calculate the test statistics – z = |z| > 2.58, reject the NULL One-sided test: H0: μ 1 = μ 2 VS H1: μ 1 > μ 2 H0: μ 1 = μ 2 VS H1: μ 1 < μ 2

Comparing two populations—two sample t-test Consider Fisher’s Iris data – Interested to see if Petal.Length of versicolor and virginica are the same – Let μ 1 and μ 2 be their Petal.Length, respectively State the hypothesis – H0: μ 1 = μ 2 VS H1: μ 1 ≠ μ 2 – H0: μ 1 2 = μ 1 -μ 2 =0 VS H1: μ 1 2 ≠ 0

Comparing two populations—two sample t-test Choose the appropriate test – First Assume that the data from both groups are normally distributed with unknown but equal variance

Comparing two populations—two sample t-test Choose the appropriate test – First Assume that the data from both groups are normally distributed with unknown but equal variance

Comparing two populations—two sample t-test Choose the appropriate test – First Assume that the data from both groups are normally distributed with unknown but equal variance

Comparing two populations—two sample t-test Choose the appropriate test – First Assume that the data from both groups are normally distributed with unknown but equal variance – F-test for equal variance gives p-value 0.26 – has t n1+n2-2

Comparing two populations—two sample t-test Significance level 0.01 – Calculate the test statistic – t = Reject the Null (|t| > 2.63) –

Comparing two populations—two sample t-test (unequal variance) Consider Fisher’s Iris data – Interested to see if Sepal.Length of Setosa and versicolor are the same – Let μ 1 and μ 2 be their Petal.Length, respectively State the hypothesis – H0: μ 1 = μ 2 VS H1: μ 1 ≠ μ 2 – H0: μ 1 2 = μ 1 -μ 2 =0 VS H1: μ 1 2 ≠ 0

Comparing two populations—two sample t-test Choose the appropriate test – First Assume that the data from both groups are normally distributed – F-test of equal variance gives pvalue=0.009 (s1=0.35,s2=0.51) – Test statistic This distribution is NOT exact

Comparing two populations—two sample t-test Significance level 0.01 – Calculate the test statistic – t = Reject the Null (|t| > 2.68) –