Bio-Statistics. Test of Hypotheses Exercises

Similar documents
Hypothesis testing - Steps

Chapter Study Guide. Chapter 11 Confidence Intervals and Hypothesis Testing for Means

General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

Chapter 23 Inferences About Means

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

Regression Analysis: A Complete Example

Independent t- Test (Comparing Two Means)

Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

Chapter 2 Probability Topics SPSS T tests

Difference of Means and ANOVA Problems

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

Chapter 2. Hypothesis testing in one population

Hypothesis Testing --- One Mean

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Hypothesis Test for Mean Using Given Data (Standard Deviation Known-z-test)

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010

Mind on Statistics. Chapter 12

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

AP STATISTICS (Warm-Up Exercises)

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Chapter 26: Tests of Significance

5/31/2013. Chapter 8 Hypothesis Testing. Hypothesis Testing. Hypothesis Testing. Outline. Objectives. Objectives

Hypothesis Testing. Hypothesis Testing

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

Descriptive Statistics

Two-sample hypothesis testing, II /16/2004

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck!

Testing a claim about a population mean

Name: Date: Use the following to answer questions 3-4:

How To Test For Significance On A Data Set

Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Opgaven Onderzoeksmethoden, Onderdeel Statistiek

Online 12 - Sections 9.1 and 9.2-Doug Ensley

Two-Sample T-Tests Allowing Unequal Variance (Enter Difference)

Stat 411/511 THE RANDOMIZATION TEST. Charlotte Wickham. stat511.cwick.co.nz. Oct

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

Unit 26: Small Sample Inference for One Mean

Confidence Intervals for Cp

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Good luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name:

Two Related Samples t Test

Comparing Means in Two Populations

Hypothesis Testing. Steps for a hypothesis test:

3.4 Statistical inference for 2 populations based on two samples

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

Chapter 5 Analysis of variance SPSS Analysis of variance

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

HYPOTHESIS TESTING: POWER OF THE TEST

Unit 27: Comparing Two Means

6: Introduction to Hypothesis Testing

Mind on Statistics. Chapter 13

ISyE 2028 Basic Statistical Methods - Fall 2015 Bonus Project: Big Data Analytics Final Report: Time spent on social media

Chapter 8: Hypothesis Testing for One Population Mean, Variance, and Proportion

August 2012 EXAMINATIONS Solution Part I

22. HYPOTHESIS TESTING

NCSS Statistical Software

Simple Linear Regression Inference

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp , ,

Lecture Notes Module 1

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Paired 2 Sample t-test

Introduction to Hypothesis Testing

Chapter 7 Section 7.1: Inference for the Mean of a Population

Study Guide for the Final Exam

STAT 145 (Notes) Al Nosedal Department of Mathematics and Statistics University of New Mexico. Fall 2013

Testing Hypotheses About Proportions

Stats for Strategy Fall 2012 First-Discussion Handout: Stats Using Calculators and MINITAB

Statistics 2014 Scoring Guidelines

Statistics Review PSY379

Introduction. Statistics Toolbox

Using Excel for inferential statistics

Comparing Multiple Proportions, Test of Independence and Goodness of Fit

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Stats Review Chapters 9-10

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

An SPSS companion book. Basic Practice of Statistics

Lets suppose we rolled a six-sided die 150 times and recorded the number of times each outcome (1-6) occured. The data is

1 Hypothesis Testing. H 0 : population parameter = hypothesized value:

Guide to Microsoft Excel for calculations, statistics, and plotting data

Tests for One Proportion

Chapter 23. Two Categorical Variables: The Chi-Square Test

Common Univariate and Bivariate Applications of the Chi-square Distribution

Math 108 Exam 3 Solutions Spring 00

A) B) C) D)

Factors affecting online sales

Transcription:

() Test of Hypotheses Exercises Dr. Ayman Eldeib

Problem I Medical researchers have developed a new artificial heart constructed primarily of titanium and plastic. The heart will last and operate almost indefinitely once it is implanted in the patient s body, but the battery pack needs to be recharged about every four hours. A random sample of 50 battery packs is selected and subjected to a life test. The average life of these batteries is 4.05 hours. Assume that battery life is normally distributed with standard deviation σ= 0.2 hour. a. Is there evidence to support the claim that mean battery life exceeds 4 hours? Use α = 0.05. b. What sample size would be required to detect a true mean battery life of 4.5 hours if we wanted the power of the test to be at least 0.9?

Problem I State the hypotheses Null hypothesis: µ = 4 Alternative hypothesis: µ > 4 Note that these hypotheses constitute a one-tailed test. The null hypothesis will be rejected if the sample mean is too big. Formulate an analysis plan For this analysis, the significance level is 0.05. The test method is a z-test. Analyze sample data Using sample data, we compute the standard error (SE), and the z-score test statistic.

Problem I Analyze sample data Using sample data, we compute the standard error (SE), and the z-score test statistic. SE = _ σ / sqrt(n) = 0.20 / sqrt(50) = 0.20/7.07 = 0.283 z 0 = (x -µ) / SE = (4.05-4)/0.283 = 1.77 Reject H 0 if z 0 > z α where z 0.05 = 1.65 Interpret results Since 1.77>1.65, we reject the null hypothesis and there is sufficient evidence to conclude that the true average battery life exceeds 4 hours at the significance level α = 0.05.

Problem I b) Sample Size for an Upper-Tail α-level Test α=0.05, β=0.01, it follows that z α = z 0.05 = 1.645, and z β = z 0.01 = 1.29 Then, n = ( z α + ( µ a z β ) µ 0 2 ) σ 2 2 = (1.645 + 1.29) (4.5 4) 2 2 (0.2) 2 = 34.7 35

Example Problem II A 1992 article in the Journal of the American Medical Association ( A Critical Appraisal of 98.6 Degrees F, the Upper Limit of the Normal Body Temperature, and Other Legacies of Carl Reinhold August Wundrlich ) reported body temperature, gender, and heart rate for a number of subjects. The body temperatures for 25 female subjects follow: 97.8, 97.2, 97.4, 97.6, 97.8, 97.9, 98.0, 98.0, 98.0, 98.1, 98.2, 98.3, 98.3, 98.4, 98.4, 98.4, 98.5, 98.6, 98.6, 98.7, 98.8, 98.8, 98.9, 98.9, and 99.0. a. Test the hypotheses H 0 : µ= 98.6 versus H 1 : µ 98.6, using α = 0.05 b. Find the P-value

Problem II State the hypotheses Null hypothesis: µ = 98.6 Alternative hypothesis: µ 98.6 Note that these hypotheses constitute a two-tailed test. The null hypothesis will be rejected if the sample mean is too big or if it is too small. Formulate an analysis plan For this analysis, the significance level is 0.05. The test method is a t-test. Analyze sample data Using sample data, we compute the standard error (SE), degrees of freedom (DF), and the t-score test statistic (t).

Problem II Analyze sample data Using sample data, we compute the standard error (SE), degrees of freedom (DF), and the t-score test statistic (t). SE = s / sqrt(n) = 0.4821/ sqrt(25) DF = _ n - 1 = 25-1 = 24 t 0 = (x -µ) / SE = (98.264 98.6)/SE = -3.48 Reject H 0 if t 0 > t α/2,n-1 where t α/2,n-1 = 2.064 Interpret results Since 3.48 > 2.064, reject the null hypothesis and there is sufficient evidence to conclude that the true mean female body temperature is not equal to 98.6 F at α = 0.05

Problem II b) P-Value Since we have a two-tailed test, the P-value is the probability that the t-score having 24 degrees of freedom is less than - 3.48 or greater than 3.48. We use the t Distribution Table to find P(t < - 3.48) = 0.001, and P(t > 3.48) = 0.001. Thus, the P-value = 0.001 + 0.001 = 0.002.

Problem III The fraction of defective integrated circuits produced in a photolithography process is being studied. A random sample of 300 circuits is tested, revealing 13 defectives. a. Find a 95% two-sided CI on the fraction of defective circuits produced by this particular tool b. Do the data support the claim that the fraction of defective units produced is less than 0.05, using α = 0.05? c. Find the P-value

Problem III a) CI A 95% two-sided confidence interval for p can be computed as follows: 13/300 1.96*sqrt((13/300) (287/300)/300) p 13/300 + 1.96*sqrt((13/300) (287/300)/300)

Problem III b) State the hypotheses Null hypothesis: p = 0.05 Alternative hypothesis: p < 0.05 Note that these hypotheses constitute a one-tailed test. The null hypothesis will be rejected if the sample mean is too small. Formulate an analysis plan For this analysis, the significance level is 0.05. The test method is a z-test. Analyze sample data Using sample data, we compute the standard error (SE) and the z-score test statistic (z).

Problem III Analyze sample data Z Interpret results ) Y np0 p p0 = np ( 1 p0) p0 0 Using sample data, we compute the standard error (SE) and the z-score test statistic (z). ( 1 p ) / n 13 300(0.05) 0 = = = 0 Reject H 0 if z 0 < -z α where -z 0.05 = -1.65. (300)(0.05)(0.95) Since 0.53 > 1.65, do not reject null hypothesis and conclude that the true fraction of defective integrated circuits is not significantly less than 0.05, at α = 0.05 C) P-Value P Value = P( Z 0.53) = 0. 29806 0.53

Questions?