Docsity

Hypothesis Testing - Introduction to Statistics | STAT 1222, Study notes of Statistics

Partial preview of the text

Download Hypothesis Testing - Introduction to Statistics | STAT 1222 and more Study notes Statistics in PDF only on Docsity!

Hypothesis Testing (Stat 1222. Professor: Dr. A. Biswas) (1) Terminologies: Hy (read H-naught) versus H,, (read H-alternative ); “is” means “equal to”, more than/greater than: >, less than/smaller than: <, greater than or cqual to: >, less than or equal to: <. (2) Ho always contains statements of “equalities”, i.e., symbols like =, >, <. H, always contains statements of “inequalities”, i.e., symbols like 4, >, <. (3) Claim can be either Hp or H, depending on the statement of the problem. (4) The type of test, ie., right-sided (or right-tailed), left-sided (or left-tailed) or two-sided (two-tailed) is determined entirely by Hy. Ai, contains >: right-tailed, H,, contains <: left-tailed, Hz contains #: two-tailed. (5) Level of significance (denoted by a): This is the maximum allowable probability of making Type I error. This will be given in a problem. (6) P-value: Assuming the null hypothesis is true, this is the probability of obtaining a sample statistic “ag extreme or more extreme” than the one determined from sample data. (7) Area of rejection region always equals level of significance a. Testing for population mean () at level a: One-Sided Tesi for ys Two-Sided test for Right tailed test Left tailed test Null Hyp. Agijesk Ho: p>k Ho:p=k vs. vs. vs. vs. Alternative Hyp. Ha: p>k Ayipck Ay: hfAk f= = 7 7a (n large, ¢ known) or z= aw (a large, ¢ unknown) Test Statistic or (a small, ¢ unknown, poplin. nortnal) z< 2% 2< —Z Or Z > Z Meir - eft ew : 7 aN Th a“ NF fy, cell | iil yaa By “2 fr d E ° Fen. Rejection Region furts) or fos - gy or for to} t ty Look in ¢ table with (mw — 1) df. P-Value Area to the right oe , of z | Area to the left of z 2(Area in the tail of z } {only for n large) vada - } 4 Ebseree z Test using Rejection Region: e Bvaluate the test statistic and check the condition specified by the Rejection Region. ® If the condition helds “Reject Hp at level a” « If the condition dees not held “Do not reject Ho at level a” Test using p- Value: 0 HP-Value a, “Do not reject Hp at level a” 1. An auto maker estimates that the mean gas mileage of its luxury sedan is at least 25 miles per gallon. A random sample of 50 such cars had a mean of 23 miles per gallon and a standard deviation of 5 miles per gallon. Test the auto maker’s claim. {a) State the null and the alternative hypotheses. Ho: Ay: ({b) Find the value of the standardized test statistic based on the observed sample. {c) Find the P-value and state your decision at level a = .05. (d} Find the critical values at level a = .05 and show the rejection rule. State your decision. 2. A weight-loss company claims the average weight-loss of dietors using its prepackaged meals is more than 6 lbs. The FDA studics 55 dieters, and finds they have a mean weight loss of 6.4 lbs, with standard deviation 2.4 Ibs. (a) Set up the null and alternative hypotheses to test the company’s claim. G) Ho: 6 vs, Hy: > 6 Gi) Ho: w= 6 vs. Hy: <8 (iii) Ho: = 6 vs. Hg: E>6 (iv) Ho: = 6s. Hat #6 (b) Find the test statistic. (i) 1.24 (i) 0.02 (ii) 1.96 (iv) -1.24 (v) -0.02 (c) Choose the best conchusion: (i) Reject Hp at a = 0.1 level of significance, since p-value < 0.1. {ii) Reject Hy at a = 0.05 level of significance, since p-value < 0.05. (iii) Reject Hp at a = 0.01 level of significance, since p-value < 0.01. {iv) Do not reject Hp at a = 0.1 level of significance, since p-value > 0.1. {v) Do not reject Fly ai a = 0.1 level of significance, since p-value < 0.1. 3. A manufacturer of electrical products will not accept a shipment of a certain part from a vendor if there is a reason to believe that the mean resistance is not 70 ohms. A random sample of 35 selected from a large shipment yields a mean and a standard deviation, respectively, of 68 and 10 ohms. (a) Set up the null and alternative hypotheses to test the company’s claim. (i) Ho: = 6B vs. Hy,:4>68 (i) Ho: p< 68 vs. Ha: pp > 68 (ii) Ho: p> 70 vs. Has < 70) (iv) Ho: = 70 v8. Hyp #70 (b) Find the test statistic. (@) O.A77 Gi) 148 (ii) 2.12 (iv) -1.77 (c) The observed significance level (p-value) of the test is (i) 0.0381 (ii) -0.0384 Gif) 119. (iv) 238 4, Do problems (2) and (3) using rejection region approach. Perform the test at level a = .04.