Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Math 152. Rumbos Fall 2009 1 Assignment #10 Due on Monday, October 26, 2009 Read Section 5.5 on Introduction to Hypothesis Testing, pp. 263β269, in Hogg, Craig and McKean. Background and Deο¬nitions Hypothesis Testing Terminology β Hypothesis Testing. A statistical inference method that seeks to determine if a set of observations provided signiο¬cant evidence to reject a hypothesis, known as a null hypothesis and denoted by Hπ . β Test Statistic. A test statistic, π = π (π1 , π2 , . . . , ππ ), is a random variable based on observations, π1 , π2 , . . . , ππ , and which is used to establish a criterion for rejecting Hπ . The particular value of π given by a speciο¬c set of observations is denoted by πΛ. β πβvalue. Assuming that Hπ is true, the π statistic has certain probability distribution. The distribution of π can be determined exactly, or it can be approximated. This information can then be used to compute, or approximate, the probability of observing the value of πΛ, or more extreme values, under the assumption that Hπ is true. This probability is known as the πβvalue of the test. β Decision Criterion. Given certain small probability, πΌ, known as a signiο¬cance level, the observations provide signiο¬cant evidence to reject Hπ if πβvalue < πΌ. Thus, πβvalue < πΌ β Hπ can be rejected at an πΌ signiο¬cance level. β Type I Error. A type I error is made when a hypothesis test yields the rejection of Hπ when it is in fact true. The largest probability of making a type I error is denoted by πΌ. This is the same as the signiο¬cance level of the test. β Type II Error. If the null hypothesis, Hπ , is in fact false, but the hypothesis test does not yield the rejection of Hπ , then a type II error is made. The probability of a type II error is denoted by π½. β Power of a Test. The probability that Hπ is rejected when it is in fact false is called the power of the test and is denoted by πΎ. Note the πΎ = 1 β π½. Math 152. Rumbos Fall 2009 2 Do the following problems 1. We wish to determine whether a given coin is fair or not. Thus, we test the 1 1 versus the alternative hypothesis H1 : π β= . null hypothesis Hπ : π = 2 2 An experiment consisting of 10 independent ο¬ips of the coin and observing the number of heads, π , in the 10 trials. The statistic π is the test statistic for the test. The following rejection criterion is set: Reject Hπ is either π = 0 or π = 10. (a) What is the signiο¬cance level of the test? (b) If the coin is in fact loaded, with the probability of a head being 3/4, what is the power of the test? 2. Suppose that π βΌ binomial(100, π) consider a test that rejects Hπ : π = 0.5 in favor of the alternative hypothesis H1 : π β= 0.5 provided that β£π β 50β£ > 10. Use the Central Limit Theorem to answer the following questions: (a) Determine πΌ for this test. (b) Estimate the power of the test as a function of π and graph it. 3. Let π1 , π2 , . . . , π8 denote a random sample of size π = 8 from a Poissonπ 8 β distribution and put π = ππ . Reject the null hypothesis Hπ : π = 0.5 in π=1 favor of the alternative H1 : π > 0.5 provided that π β©Ύ 8. (a) Compute the signiο¬cance level, πΌ, of the test. (b) Determine the power function, πΎ, as a function of π. 4. Let π1 , π2 , . . . , ππ denote a random sample of size π = 25 from a Normalπ, 100. Reject the null hypothesis Hπ : π = 0 in favor of the alternative H1 : π = 1.5 provided that π π > 0.64. (a) Compute the signiο¬cance level, πΌ, of the test. (b) What is the power of the test? Math 152. Rumbos Fall 2009 3 5. Let π1 , π2 , . . . , ππ denote a random sample from a Normalπ, π 2 . Consider testing the null hypothesis Hπ : π = ππ (1) against the alternative H1 : π β= ππ . Suppose that the test rejects Hπ provided that β£π π β ππ β£ > π for some π > 0. (a) If the signiο¬cance level of the test is πΌ, determine the value of π. Suggestion: Use the π‘(π β 1) distribution. (b) Using the value of π found in part (b), obtain a range of values, depending on the sample mean and standard deviation, π π and ππ , respectively, for ππ such that the null hypothesis, Hπ , in (1) is not rejected.