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
Degrees of freedom (statistics) wikipedia , lookup
Bootstrapping (statistics) wikipedia , lookup
Foundations of statistics wikipedia , lookup
Psychometrics wikipedia , lookup
Taylor's law wikipedia , lookup
Omnibus test wikipedia , lookup
Statistical hypothesis testing wikipedia , lookup
Misuse of statistics wikipedia , lookup
SECTION 9.3: HYPOTHESIS TESTS FOR A POPULATION MEAN, π UNKNOWN OBJECTIVES 1. Test a hypothesis about a mean using the P-value method 2. Test a hypothesis about a mean using the critical value method OBJECTIVE 1 TEST A HYPOTHESIS ABOUT A MEAN USING THE P-VALUE METHOD We begin this section with an example. Suppose that in a recent medical study, 76 subjects were placed on a low-fat diet. After 12 months, their sample mean weight loss was π₯Μ = 2.2 kilograms, with a sample standard deviation of π = 6.1 kilograms. Can we conclude that the mean weight loss is greater than 0? If we knew the population standard deviation π, we would be able to compute the π§-score of π₯Μ βπ the sample mean to be π§ = π/ π, and use this test statistic to perform a hypothesis test. In this β example, as is usually the case, we do not know the population standard deviation. To proceed, π₯Μ βπ we replace π with the sample standard deviation π , and use the π‘ test statistic instead: π‘ = π / π. β When the null hypothesis is true, the π‘ statistic has a Studentβs π‘ distribution with π β 1 degrees of freedom. The assumptions for performing a hypothesis test for π when the population standard deviation π is unknown are as follows: 1. We have a simple random sample. 2. The sample size is large (π > 30), or the population is approximately normal. Since we have a simple random sample and the sample size is large, we may proceed with the test. The issue is whether the mean weight loss π is greater than 0. So the null and alternate hypotheses are π»0 : π = 0 versus π»1 : π > 0. π₯Μ βπ The test statistic is π‘ = π / βπ 2.2β0 = 6.1/β76 = 3.144. When π»0 is true, the test statistic π‘ has the Studentβs π‘ distribution with π β 1 = 76 β 1 = 75 degrees of freedom. This is a right tail test, so the P-value is the area under the Studentβs π‘ curve to the right of π‘ = 3.144. Using technology, we find the exact P-value to be P = 0.0012. Since P < 0.05, we reject π»0 at the πΌ = 0.05 level. We conclude that the mean weight loss of people who adhered to this diet for 12 months is greater than 0. 1 SECTION 9.3: HYPOTHESIS TESTS FOR A POPULATION MEAN, π UNKNOWN COMPUTING P-VALUES The P-value of the test statistic π‘ is the probability, assuming π»0 is true, of observing a value for the test statistic that disagrees as strongly as or more strongly with π»0 than the value actually observed. The P-value is an area under the Studentβs π‘ curve with π β 1 degrees of freedom. The area is in the left tail, the right tail, or in both tails, depending on the type of alternate hypothesis. ESTIMATING THE P-VALUE F ROM A TABLE When using a π‘ table, we cannot find the P-value exactly. Instead, we can only specify that P is between two values. In the last example, there are 75 degrees of freedom. We consult Table A.3 and find that the number 75 does not appear in the degrees of freedom column. We therefore use the next smallest number, which is 60. Now look across the row for two numbers that bracket the observed value 3.144. These are 2.915 and 3.232. The upper-tail probabilities are 0.0025 for 2.915 and 0.001 for 3.232. The P-value must therefore be between 0.001 and 0.0025. We can conclude that the P-value is small enough to reject π»0 at the πΌ = 0.05 level of significance. 2 SECTION 9.3: HYPOTHESIS TESTS FOR A POPULATION MEAN, π UNKNOWN P-VALUE FROM A TABLE FOR A TWO-TAILED TEST If the alternate hypothesis were π»1 : π β 0, the P-value would be the sum of the areas in two tails. If using Table A.3, we can only specify that P is between two values. We know, from Table A.3, that the area in one tail is between 0.001 and 0.0025. Therefore, the area in both tails is between 2(0.001) = 0.002 and 2(0.0025) = 0.005. 3 SECTION 9.3: HYPOTHESIS TESTS FOR A POPULATION MEAN, π UNKNOWN E XAMPLE : Generic drugs are lower-cost substitutes for brand-name drugs. Before a generic drug can be sold in the United States, it must be tested and found to perform equivalently to the brand name product. The U.S. Food and Drug Administration is now supervising the testing of a new generic antifungal ointment. The brandname ointment is known to deliver a mean of 3.5 micrograms of active ingredient to each square centimeter of skin. As part of the testing, seven subjects apply the ointment. Six hours later, the amount of drug that has been absorbed into the skin is measured. The amounts, in micrograms, are 2.6 3.2 2.1 3.0 3.1 2.9 3.7 How strong is the evidence that the mean amount absorbed differs from 3.5 micrograms? Use the πΌ = 0.01 level of significance. S OLUTION : 4 SECTION 9.3: HYPOTHESIS TESTS FOR A POPULATION MEAN, π UNKNOWN HYPOTHESIS TESTING ON THE TI-84 PLUS The TTest command will perform a hypothesis test when the population standard deviation π is not known. This command is accessed by pressing STAT and highlighting the TESTS menu. If the summary statistics are given the Stats option should be selected for the input option. If the raw sample data are given, the Data option should be selected. 5 SECTION 9.3: HYPOTHESIS TESTS FOR A POPULATION MEAN, π UNKNOWN OBJECTIVE 2 TEST A HYPOTHESIS ABOUT A MEAN USING THE CRITICAL VALUE METHOD CRITICAL VALUES FOR THE π-STATISTIC The critical value method for a hypothesis test of a population mean when π is unknown is the same as that when π is known. The only exception is that we use the Studentβs π‘ distribution rather than a normal distribution. The critical values for the Studentβs π‘ distribution can be found in Table A.3 or with technology. 6 SECTION 9.3: HYPOTHESIS TESTS FOR A POPULATION MEAN, π UNKNOWN E XAMPLE : A computer software vendor claims that a new version of their operating system will crash less than six times per year on average. A system administrator installs the operating system on a random sample of 41 computers. At the end of a year, the sample mean number of crashes is 7.1, with a standard deviation of 3.6. Can you conclude that the vendorβs claim is false? Use the πΌ = 0.05 significance level. S OLUTION : 7 SECTION 9.3: HYPOTHESIS TESTS FOR A POPULATION MEAN, π UNKNOWN YOU SHOULD KNOW β¦ ο· The assumptions for hypothesis tests for π when π is unknown ο· How to perform hypothesis tests for π when π is unknown using the P-value method ο· How to estimate a P-value from a table for one-tailed and two-tailed tests ο· How to perform hypothesis tests for π when π is unknown using the critical value method 8