One-Sample Hypothesis Tests

Slides:



Advertisements
Similar presentations
Class 14 Testing Hypotheses about Means Paired samples 10.3 p
Advertisements

1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.5 Estimation of a Population Variance This section presents methods.
Tests of significance Confidence intervals are used when the goal of our analysis is to estimate an unknown parameter in the population. A second goal.
Mean for sample of n=10 n = 10: t = 1.361df = 9Critical value = Conclusion: accept the null hypothesis; no difference between this sample.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Analysis of Simulation Input.. Simulation Machine n Simulation can be considered as an Engine with input and output as follows: Simulation Engine Input.
A Decision-Making Approach
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Statistical Inference: Estimation and Hypothesis Testing chapter.
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
Statistics for Managers Using Microsoft® Excel 7th Edition
1/2555 สมศักดิ์ ศิวดำรงพงศ์
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.
Go to Index Analysis of Means Farrokh Alemi, Ph.D. Kashif Haqqi M.D.
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.
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.4 Estimation of a Population Mean  is unknown  This section presents.
Statistical estimation, confidence intervals
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. Sampling Distributions and Estimation (Part 2) Chapter88 Sample Size Determination.
Trial Group AGroup B Mean P value 2.8E-07 Means of Substances Group.
Chapter 23 Inference for One- Sample Means. Steps for doing a confidence interval: 1)State the parameter 2)Conditions 1) The sample should be chosen randomly.
Statistics in Biology. Histogram Shows continuous data – Data within a particular range.
Selecting Input Probability Distribution. Simulation Machine Simulation can be considered as an Engine with input and output as follows: Simulation Engine.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
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.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
© Copyright McGraw-Hill 2004
Unit 6 – confidence intervals
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.4 Estimation of a Population Mean  is unknown  This section presents.
Welcome to MM207 - Statistics! Unit 6 Seminar: Inferential Statistics and Confidence Intervals.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Ex St 801 Statistical Methods Inference about a Single Population Mean (CI)
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Dr. Justin Bateh. Point of Estimate the value of a single sample statistics, such as the sample mean (or the average of the sample data). Confidence Interval.
Hypothesis Testing.
Chapter 9 Hypothesis Testing
HYPOTHESIS TESTING.
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Statistical Inferences for Population Variances
Chapter 10 Hypothesis Testing 1.
Process Control Charts
Confidence Intervals and Sample Size
Comparing Two Proportions
Confidence Intervals and Sample Size
6-4 Large-Sample Confidence Intervals for the Population Proportion, p
Sample Size Copyright  2008 by The McGraw-Hill Companies. This material is intended for educational purposes by licensed users of LearningStats. It.
Parameter Estimation.
Chapter 7 Inferences Based on a Single Sample
Two-Sample Hypothesis Testing
Two Factor ANOVA Copyright (c) 2008 by The McGraw-Hill Companies. This material is intended solely for educational purposes by licensed users of LearningStats.
CHAPTER 11 CHI-SQUARE TESTS
8-1 of 23.
Confidence Intervals Copyright  2008 by The McGraw-Hill Companies. This material is intended for educational purposes by licensed users of LearningStats.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Goodness-of-Fit Tests
Hypothesis Testing.
Probability and Statistics (week-9)
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Hypothesis Testing.
UNDERSTANDING RESEARCH RESULTS: STATISTICAL INFERENCE
Confidence Intervals with Proportions
AP STATISTICS LESSON 10 – 2 (DAY 3)
Hypothesis Testing S.M.JOSHI COLLEGE ,HADAPSAR
Chapter 9 Hypothesis Testing: Single Population
Business Statistics For Contemporary Decision Making 9th Edition
Presentation transcript:

One-Sample Hypothesis Tests Copyright (c) 2008 by The McGraw-Hill Companies. This material is intended solely for educational purposes by licensed users of LearningStats. It may not be copied or resold for profit.

Copyright Notice Portions of MINITAB Statistical Software input and output contained in this document are printed with permission of Minitab, Inc. MINITABTM is a trademark of Minitab Inc. in the United States and other countries and is used herein with the owner's permission.

Type I and II Error

Definitions Type I error Type II error Power P(Reject H0 | H0 is true) = a Type II error P(Accept H0 | H0 is false) = b Power P(Reject H0 | H0 is false) = 1-b

One-Sample Tests Parameter Left-Tail Test Two-Tail Test Right-Tail Test Mean H0: m  130 H1: m < 130 H0: m = 130 H1: m  130 H0: m  130 H1: m > 130 Proportion H0: p  0.07 H1: p < 0.07 H0: p = 0.07 H1: p  0.07 H0: p  0.07 H1: p > 0.07 Variance H0: s2  5.76 H1: s2 < 5.76 H0: s2 = 5.76 H1: s2  5.76 H0: s2  5.76 H1: s2 > 5.76

Right-Tailed z Values z = 1.282 a = 0.10 z = 1.960 a = 0.025 z = 1.645

Common Two-Tailed z Values

Example: One Mean Given: For a certain heart procedure, last month’s sample of 26 hospital patients shows a mean length of stay of 5.423 days with a standard deviation of 1.206 days. Question: Does the average LOS differ from the U.S. average of 5.05 days? Answer: No. For a two-tailed test at a = 0.05, the p-value (p = 0.127) shows that the sample mean does not differ significantly from 5.05. The 95% CI for m includes 5.05.

Histogram and CI from Minitab Sample Statistics from Excel Statistics: One Mean Histogram and CI from Minitab Sample Statistics from Excel Mean 5.423077 Standard Error 0.236468 Median 5 Mode Standard Deviation 1.205755 Sample Variance 1.453846 Kurtosis 2.318118 Skewness 1.45598 Range Minimum 4 Maximum 9 Sum 141 Length of Stay (n = 26) Count 26

Hypotheses: One Mean H0: m = 5.05 (U.S. benchmark) H1: m  5.05 (suggested by sample) Note Since the population standard deviation is unknown, we use a t-test rather than a z-test. With d.f. = n-1 = 26 – 1 = 25, the two-tailed critical value is tcrit = 2.060 (had we assumed normality, we would have used zcrit = 1.960, which is similar).

One Mean: Minitab

Calculations: One Mean Applying the Formula: Results from Minitab:

Example: One Proportion Given: For the entire nation, the mortality rate for patients over age 65 during a certain type of surgery is 0.014 (i.e., 14 deaths per 1,000 surgeries). At Carver Hospital last year, 473 such surgeries were performed, resulting in 9 deaths (p = 9/473 = 0.019). Question: At a = 0.05, does Carver's death rate exceed the national average? Answer: No. For a right-tailed test, the p-value (p = 0.222 for binomial, or p = 0.176 for normal) shows that the sample proportion does not significantly exceed 0.014. The binomial is exact, but the normal is acceptable since np0 = (473)(0.014) = 6.62 which exceeds 5.

Hypotheses: One Proportion H0: p  0.014 (U.S. benchmark) H1: p > 0.014 (suggested by sample) Note Since np0 = (473)(0.014) = 6.62 exceeds 10, we could justify assuming normality and using a z-test with a critical value of zcrit = 1.645. However, MINITAB will also do the test without assuming normality (the exact binomial test) which would be even better. In this case, the tests agree.

One Proportion: MINITAB

One Proportion: MINITAB Copyright Notice Portions of MINITAB Statistical Software input and output contained in this document are printed with permission of Minitab, Inc. MINITABTM is a trademark of Minitab Inc. in the United States and other countries and is used herein with the owner's permission.

Calculations: One Proportion Applying the Formula: Note Since this is a right-tailed test, the confidence interval is one-sided. Results from Minitab:

Example: One Variance Given: Historical data show that the mean prone resting systolic blood pressure (BP) for male Army aged 18-24 is 126 with a standard deviation of 7. A sample of 67 recent male Army recruits in this age group shows a mean prone resting systolic blood pressure of 128.46 with a standard deviation of 6.59. Question: At a = 0.05, does the recruits’ BP variance differ from the historical variance of 49 (i.e., 72)? Answer: No. The test statistic of 58.49 is within the range of the lower and upper 2.5% critical values for chi-square (45.43 to 90.35) so the sample variance does not differ significantly from 49. We ignore the sample mean since it not relevant to this test.

Statistics: One Variance Minitab’s 95% CI for s Sample Statistics from Excel Mean 128.4627 Standard Error 0.805153 Median 129 Mode Standard Deviation 6.590462 Sample Variance 43.43419 Kurtosis -0.3166 Skewness -0.23836 Range 30 Minimum 113 Maximum 143 Sum 8607 Systolic Pressure (n = 67) Count 67

Hypotheses: One Variance H0: s2 = 49 (historical benchmark) H1: s2  49 (suggested by sample) Note Using the sample data, MINITAB's Graphical Summary shows that the 95% CI for the true standard deviation includes 7. This provides a two-tailed test of the hypothesis that s = 7 at a = 0.05, which is equivalent to testing the preceding hypotheses.

Calculations: One Variance Applying the Formula: Conclusion The test statistic lies between the 95% critical values of chi-square, so we accept the null hypothesis. Critical Values of Chi-Square Lower 2.5% is 45.4314 Upper 2.5% is 90.3488 Excel function CHIINV(0.975,66) Excel function CHIINV(0.025,66)