IE241 Final Exam. 1. What is a test of a statistical hypothesis? Decision rule to either reject or not reject the null hypothesis.

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

“Students” t-test.
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
Statistics.  Statistically significant– When the P-value falls below the alpha level, we say that the tests is “statistically significant” at the alpha.
Inferential Statistics & Hypothesis Testing
Chapter 10: Hypothesis Testing
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
Chapter Goals After completing this chapter, you should be able to:
Inference about a Mean Part II
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
AM Recitation 2/10/11.
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Overview Definition Hypothesis
Hypothesis testing is used to make decisions concerning the value of a parameter.
Hypothesis Testing.
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
1 Tests with two+ groups We have examined tests of means for a single group, and for a difference if we have a matched sample (as in husbands and wives)
Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of times would result in heads half the time (i.e.,
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Chapter 9: Testing Hypotheses
STA Statistical Inference
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
IE241: Introduction to Hypothesis Testing. We said before that estimation of parameters was one of the two major areas of statistics. Now let’s turn to.
IE241 Problems In a poll taken among college students, 46 of 200 fraternity men favored a certain proposition, whereas 51 of 300 nonfraternity men.
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
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.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
Review - Confidence Interval Most variables used in social science research (e.g., age, officer cynicism) are normally distributed, meaning that their.
© 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,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
1 Section 8.2 Basics of Hypothesis Testing Objective For a population parameter (p, µ, σ) we wish to test whether a predicted value is close to the actual.
Chapter 9: Introduction to the t statistic. The t Statistic The t statistic allows researchers to use sample data to test hypotheses about an unknown.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Chapter 10: The t Test For Two Independent Samples.
Chapter 9 Introduction to the t Statistic
Chapter Nine Hypothesis Testing.
Module 10 Hypothesis Tests for One Population Mean
Lecture Nine - Twelve Tests of Significance.
Two-Sample Hypothesis Testing
Hypothesis Testing I The One-sample Case
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Hypothesis Testing Review
Hypothesis Testing: Hypotheses
CONCEPTS OF HYPOTHESIS TESTING
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing.
Defining the null and alternative hypotheses
Problems: Q&A chapter 6, problems Chapter 6:
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Power Section 9.7.
What are their purposes? What kinds?
Statistical Test A test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to.
Presentation transcript:

IE241 Final Exam

1. What is a test of a statistical hypothesis? Decision rule to either reject or not reject the null hypothesis.

2. In a poll taken among college students, 50 of 200 women favored a certain proposition, whereas 100 of 300 men favored it. Is there a real difference of opinion on this proposition? Ho: p f = p m Ha: p f ≠ p m Critical value of t = 1.96 for this 2-tailed test at α =.05 because t = z because of large sample sizes 50/200 = 0.25 female proportion 100/300 = 0.33 male proportion 150/500 = 0.30 overall proportion Because the observed t > -1.96, we cannot reject the null hypothesis.

3. What are the components of the decision rule? test statistic and critical region

4. Two sets of 12 children each were taught speed swimming by two different methods. After the instruction was over, each class swam ten laps in the pool. For group A, the mean time = 8 minutes and the variance = 9. For group B, the mean = 6 minutes and the variance = 16. Is there a difference between the two teaching methods? Note: Hypotheses are always stated in Ho: μ A = μ B terms of parameters, so you can’t have Ha: μ A ≠ μ B Ho: The critical value of t =2.074 for this 2-tailed test with (12-1)+(12-1) df at α =.05 Because the observed t < 2.074, we cannot reject the null hypothesis.

5. What is the logic behind the use of the critical region? Under the null hypothesis, the test statistic can fall anywhere in its distribution. But the probability α that the test statistic will fall in the critical region (one of its extreme tails) is very small so if it does fall there, we choose not to believe in the null hypothesis. Note: Many of you answered this by describing the use of the critical region (rejection of Ho), instead of the logic behind its use. The question doesn’t ask how it’s used, but why it is used that way.

6. Of 64 offspring of a certain cross between guinea pigs, 34 were red, 10 were black, and 20 were white. According to the genetic model, these colors should be in the ratio 9:3:4. Are the data consistent with the genetic model? Ho: data are consistent with model 9:3:4 Ha: data are not consistent with model 9:3:4 For this goodness-of-fit test with (3-1) df at α=.05, the critical value of χ 2 = Since the observed value of χ 2 < 5.99, we cannot reject Ho. These data do not support the conclusion that the data are inconsistent with the model. redblackwhitetota l Obs freq Exp freq(9/16)64 =36(3/16)64 =12(4/16)64 =1664

7. Explain the two types of error when we do a hypothesis test. If we reject the null hypothesis when it is fact true, we make a type 1 error whose probability α we can control. If we do not reject the null hypothesis when it is in fact false, we make a type 2 error, whose probability β is minimized for all test with the same α.

8. Given that X is normally distributed, assume that the results of a sample of size 16 had a mean = 62 and s = 10. (a) Test the hypothesis that σ = 8. (b) Test the hypothesis that μ = 50. (a) Ho: σ = 8 Ha: σ ≠ 8 Note: This is a 2-tailed test because it asks “is σ = 8 or not.” Critical value of χ 2 = 25.0 with (16-1) df at α=.05. Since the observed χ 2 < 25.0, we cannot reject Ho. (b) Ho: μ = 50 Ha: μ ≠ 50 Note: This is a 2-tailed test because it asks “is μ = 50 or not.” Critical value of t = for this 2-tailed test at α =.05 with 15 df. Since the observed value of t > 2.131, we reject the null hypothesis and declare that the mean ≠ 50.

9.Why can we not accept the null hypothesis if the test statistic does not fall in the critical region? We never accept the null hypothesis, but only fail to reject it with the data at hand because a different, more powerful test may yield data which will enable us to reject the null hypothesis.

10. A cigarette manufacturer sent each of two laboratories samples of tobacco. Each lab made 5 determinations of the nicotine content in mg. If the results are as shown below, (a) are the two labs measuring the same thing? (b) Justify the assumptions, if any, of your analytic method. (a) Ho: μ 1 = μ 2 Ha: μ 1 ≠ μ 2 Critical value of t = for (5-1)+ (5-1) df at α=.05 for this 2-tailed test. Since the observed t > , we cannot reject the null hypothesis. Lab 1Lab 2 mean variance5.38.5

10(b). The assumption of the t test for small samples is that the variances are equal. We can test this by the F test. Ho: Ha: The critical value of F = 6.39 with (5-1), (5- 1) df at α=.05. Since the observed F < 6.39, we cannot reject the null hypothesis. Thus the assumption is justified.

11. What is power? Power is the complement of β, which means it is the probability of rejecting the null hypothesis when the null hypothesis is in fact false.

12.A metallurgist made 5 determinations of the melting point of manganese and found an average of 1268˚ and s = 2.92˚. (a) Test that the mean of this population is no more than 5˚ more than published value of 1260˚. After thinking about his measurements, the metallurgist decided that they should have a standard deviation of 2˚ or less. (b) Are his data consistent with this? (a) Ho: μ ≤ 1265 Ha: μ > 1265 The critical value of t = for this 1-tailed test with (5-1) df at α=.05. Since the observed t > 2.132, we reject the null hypothesis. (b) Ho: σ 2 ≤ 2 2 Ha: σ 2 > 2 2 The critical value of χ 2 = 9.49 for this 1-tailed test with (5-1) df at α=.05. Since the observed χ 2 < 9.49, we cannot reject the null hypothesis.

13. If alpha is.05 and we reject the null, what is the probability that we are right? There is no probability that we are right. After we make the decision, we are either right or wrong and we do not know which. But the data support the decision we made.

14. A researcher classified 172 children according to intelligence and apparent family income, with results as shown below. Are these variables related? The expected values for cell ij are obtained by (n i.)(n. j )/n ; the expected values for the cells are shown in parentheses. The critical value of χ 2 = 9.49 with (3-1)(3-1) df at α=.05. Since the observed χ 2 > 9.49, we reject the null hypothesis and declare the variables related. DullAverageVery smartTotal Very well clothed 8 (13) 32 (34) 23 (16) 63 Well clothed14 (15) 46 (41) 15 (19) 75 Poorly clothed13 ( 7) 16 (19) 5 ( 8) 34 Total

15. Explain how are hypotheses are classified. Hypotheses are either simple or composite. A simple hypothesis is a test of a particular value of the alternative hypothesis against the value of the null hypothesis. A composite hypothesis is a test of more than one value of the alternative hypothesis against the value of the null hypothesis. Note: Many of you put null and alternative, so I gave you half credit.

16. Twelve pairs of students have been matched with respect to intelligence. One member of each pair is given a practice test before a college admissions test, and the other is not. The test scores are shown below. Is the practice test effective? If so, compute a 95% confidence interval for the difference between the means. Explain why the interval did or did not cover 0. Ho: μ diff = 0 Ha: μ diff > 0 Note: This is a 1-tailed test because the question asks if the practice test is effective, that is, is it better than no practice test. The critical value of t = with (12-1) df for this 1-tailed test at α =.05. Since the observed t > 1.796, we reject the null hypothesis. Pair Stimulant No Stim Diff

16 (b) The 95% confidence interval for the mean difference is The confidence interval is < μ < 1.45 This confidence interval covers 0 even though the null hypothesis was rejected because the test was 1-tailed and confidence intervals are always 2-sided. This is why the t value has changed from to

17. Explain how are statistical tests are classified. Statistical tests may be either 1-tailed or 2-tailed. In a 1-tailed test, the critical region of probability α is in either the right or left tail of the test statistic distribution. In a 2-tailed test, the critical region consists of both tails of the test statistic distribution, each with probability ½ α. Note: t, χ 2, and F are types of test statistics, not types of statistical tests, but I gave you half credit.

18. Given the two sets of sample results below, (a) test that the means differ by no more than 1 unit. (b) Then test the hypothesis that both samples came from populations with the same variance. (a) Ho: μ 1 - μ 2 ≤ 1 Ha: μ 1 - μ 2 > 1 The critical value of t = for (15-1) + (15-1) df in this 1-tailed test at α =.05. Since the observed value of t >1.701, we reject the null hypothesis. Sample 1Sample 2 mean variance2.254 n15

18 (continued) (b)Ho: σ 1 2 = σ 2 2 Ha: σ 1 2 ≠ σ 2 2 The critical value of F = 2.44 for (15-1),(15-1) df at α=.05. Since the observed F < 2.44, we cannot reject the null hypothesis.

19. (a) What assumption is required for a t test? (b) How can you check this assumption? The t test requires homogeneity of variance (equal variances) when df is small. The test is robust to this assumption for large samples. The two variances involved in the t test can be checked for equality by using an F test.

20. The progeny of a certain mating were classified by an attribute into three groups, as shown below. According to the genetic model, the frequencies should be in the ratio p 2 : 2pq : q 2. Are the data consistent with the model if p =.3? Ho: p=.3 Ha: p ≠.3 The critical value of χ 2 for (3-1) df with α=.05 is Since the observed χ 2 < 5.99, we cannot reject the null hypothesis. Group 1Group 2Group 3Total Observed Expected.3 2 (109) =10.42(109)=46.49(109)=53109

21. Why do we always put the larger variance over the smaller variance for the F test?. What about the left tail? The two tails of the F distribution are reciprocals of one another. So if we test by putting the larger variance over the smaller variance, we use the right tail and use F as the critical value of the test statistic. This is equivalent to putting the smaller variance over the larger and using 1/F as the critical value of the test statistic for the left tail.

22. What is significance testing and how does it differ from hypothesis testing? Significance testing is equivalent to hypothesis testing in all respects except that the size α of the critical region is not chosen beforehand, as it is in hypothesis testing. Instead it is chosen by the probability of a value as large as or larger than the value of the observed test statistic.