SOLUTIONS y n. n 1 = 605, y 1 = 351. y1. p y n. n 2 = 195, y 2 = 41. y p H 0 : p 1 = p 2 vs. H 1 : p 1 p 2.

Similar documents
Common Large/Small Sample Tests 1/55

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to:

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

Chapter 1 (Definitions)

Inferential Statistics. Inference Process. Inferential Statistics and Probability a Holistic Approach. Inference Process.

Lecture 5. Materials Covered: Chapter 6 Suggested Exercises: 6.7, 6.9, 6.17, 6.20, 6.21, 6.41, 6.49, 6.52, 6.53, 6.62, 6.63.

Section 9.2. Tests About a Population Proportion 12/17/2014. Carrying Out a Significance Test H A N T. Parameters & Hypothesis

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc.

MidtermII Review. Sta Fall Office Hours Wednesday 12:30-2:30pm Watch linear regression videos before lab on Thursday

Statistical Inference About Means and Proportions With Two Populations

- E < p. ˆ p q ˆ E = q ˆ = 1 - p ˆ = sample proportion of x failures in a sample size of n. where. x n sample proportion. population proportion

Statistics 20: Final Exam Solutions Summer Session 2007

Stat 200 -Testing Summary Page 1

Math 152. Rumbos Fall Solutions to Review Problems for Exam #2. Number of Heads Frequency

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc.

7-1. Chapter 4. Part I. Sampling Distributions and Confidence Intervals

Chapter 5: Hypothesis testing

University of California, Los Angeles Department of Statistics. Hypothesis testing

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3

(7 One- and Two-Sample Estimation Problem )

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics

Rule of probability. Let A and B be two events (sets of elementary events). 11. If P (AB) = P (A)P (B), then A and B are independent.

Comparing Two Populations. Topic 15 - Two Sample Inference I. Comparing Two Means. Comparing Two Pop Means. Background Reading

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND.

Final Examination Solutions 17/6/2010

Working with Two Populations. Comparing Two Means

LESSON 20: HYPOTHESIS TESTING

HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018

Econ 371 Exam #1. Multiple Choice (5 points each): For each of the following, select the single most appropriate option to complete the statement.

Class 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Stat 319 Theory of Statistics (2) Exercises

Agreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times

UCLA STAT 110B Applied Statistics for Engineering and the Sciences

A Statistical hypothesis is a conjecture about a population parameter. This conjecture may or may not be true. The null hypothesis, symbolized by H

Expectation and Variance of a random variable

Chapter two: Hypothesis testing

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara

October 25, 2018 BIM 105 Probability and Statistics for Biomedical Engineers 1

A quick activity - Central Limit Theorem and Proportions. Lecture 21: Testing Proportions. Results from the GSS. Statistics and the General Population

Read through these prior to coming to the test and follow them when you take your test.

Instructor: Judith Canner Spring 2010 CONFIDENCE INTERVALS How do we make inferences about the population parameters?

Describing the Relation between Two Variables

Hypothesis Testing (2) Barrow, Statistics for Economics, Accounting and Business Studies, 4 th edition Pearson Education Limited 2006

Continuous Data that can take on any real number (time/length) based on sample data. Categorical data can only be named or categorised

Chapter 8: Estimating with Confidence

Important Formulas. Expectation: E (X) = Σ [X P(X)] = n p q σ = n p q. P(X) = n! X1! X 2! X 3! X k! p X. Chapter 6 The Normal Distribution.

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2

Topic 9: Sampling Distributions of Estimators

This chapter focuses on two experimental designs that are crucial to comparative studies: (1) independent samples and (2) matched pair samples.

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

Homework 5 Solutions

IUT of Saint-Etienne Sales and Marketing department Mr Ferraris Prom /12/2015

INSTRUCTIONS (A) 1.22 (B) 0.74 (C) 4.93 (D) 1.18 (E) 2.43

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics

SOLUTIONS. 1. a) Let X and Y be random variables with. σ Y = 9. σ X 30 σ XY σ X 30 ρ σ X σ Y σ X + 24 σ XY

Topic 9: Sampling Distributions of Estimators

BIOS 4110: Introduction to Biostatistics. Breheny. Lab #9

Sample questions. 8. Let X denote a continuous random variable with probability density function f(x) = 4x 3 /15 for

The Hong Kong University of Science & Technology ISOM551 Introductory Statistics for Business Assignment 3 Suggested Solution

Recall the study where we estimated the difference between mean systolic blood pressure levels of users of oral contraceptives and non-users, x - y.

Understanding Dissimilarity Among Samples

April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE

Topic 9: Sampling Distributions of Estimators

[ ] ( ) ( ) [ ] ( ) 1 [ ] [ ] Sums of Random Variables Y = a 1 X 1 + a 2 X 2 + +a n X n The expected value of Y is:

Chapter 11: Asking and Answering Questions About the Difference of Two Proportions

Confidence Interval for one population mean or one population proportion, continued. 1. Sample size estimation based on the large sample C.I.

Direction: This test is worth 150 points. You are required to complete this test within 55 minutes.

x z Increasing the size of the sample increases the power (reduces the probability of a Type II error) when the significance level remains fixed.

1 Inferential Methods for Correlation and Regression Analysis

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date:

Multiple Comparisons Examples STAT 314

Statistics. Chapter 10 Two-Sample Tests. Copyright 2013 Pearson Education, Inc. publishing as Prentice Hall. Chap 10-1

Sample Size Determination (Two or More Samples)

MATH/STAT 352: Lecture 15

1 Models for Matched Pairs

This is an introductory course in Analysis of Variance and Design of Experiments.

AP Statistics Review Ch. 8

Module 1 Fundamentals in statistics

Confidence Intervals for the Population Proportion p

Exam 2 Instructions not multiple versions

If, for instance, we were required to test whether the population mean μ could be equal to a certain value μ

z is the upper tail critical value from the normal distribution

ST 305: Exam 3 ( ) = P(A)P(B A) ( ) = P(A) + P(B) ( ) = 1 P( A) ( ) = P(A) P(B) σ X 2 = σ a+bx. σ ˆp. σ X +Y. σ X Y. σ X. σ Y. σ n.

Sampling Error. Chapter 6 Student Lecture Notes 6-1. Business Statistics: A Decision-Making Approach, 6e. Chapter Goals

Mathematical Notation Math Introduction to Applied Statistics

Table 12.1: Contingency table. Feature b. 1 N 11 N 12 N 1b 2 N 21 N 22 N 2b. ... a N a1 N a2 N ab

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

Chapter 22: What is a Test of Significance?

Formulas and Tables for Gerstman

MTH 345 Exam 2 Review Questions Fall Based on a Bellowes survey of adults, there is a 0.48 probability that a randomly selected adult uses a

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

STAT431 Review. X = n. n )

Samples from Normal Populations with Known Variances

Math 140 Introductory Statistics

Properties and Hypothesis Testing

Successful HE applicants. Information sheet A Number of applicants. Gender Applicants Accepts Applicants Accepts. Age. Domicile

AMS570 Lecture Notes #2

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance

Transcription:

STAT 400 UIUC Practice Problems # SOLUTIONS Stepaov Dalpiaz The followig are a umber of practice problems that may be helpful for completig the homework, ad will likely be very useful for studyig for exams.. 7.-8 8.-8 The April 8, 994 issue of Time magazie reported the results of a telephoe poll of 800 adult Americas, 605 osmokers, who were asked the followig questio: Should the federal tax o cigarettes be raised by $.5 to pay for health care reform? Let p ad p equal the proportios of osmokers ad smokers, respectively, who say yes to this questio. y 35 osmokers ad y 4 smokers said yes. 605, y 35. y 35 ˆ 605 p 0.58. 95, y 4. y 4 ˆ 95 y 35 4 39 p ˆ 0.49. 605 95 800 y p 0.. a) With α 0.05, test H 0 : p p vs. H : p p. H 0 : p p vs. H : p p. Two tailed. The test statistic is z pˆ ( pˆ ) pˆ pˆ, where pˆ y pˆ pˆ. y

α 0.05. The critical (rejectio) regio is z < z α/.96 or z > z α/.96. The observed value of z (test statistic) 0.58 0. z 8.988 0.49 0.5 ( ) 605 95 is greater tha.96 (the test statistic does fall ito the rejectio regio), so Reject H 0. b) Fid a 95% cofidece iterval for p p. ( p ˆ pˆ ) ± z α pˆ ( pˆ ) pˆ ( pˆ ) 95% cofidece level α 0.05 α 0.05. 0.580.4 605 0.0.79 95 z α.96. ( 0.58 0. ) ±.96 or [ 0.30, 0.44 ]. c) Fid a 95% cofidece iterval for p, the proportio of adult Americas who would say yes. p ˆ ± z pˆ ( pˆ ) α. 95% cofidece level α 0.05 α 0.05. z α.96. 0.490.5 0.490.5 0.49.96, 0.49.96 [ 0.455, 0.55 ]. 800 800

. A ew method of storig sap beas is believed to retai more ascorbic acid tha the old method. I a experimet, sap beas were harvested uder uiform coditios ad froze i 5 equal-size packages. Te of those packages were radomly selected ad stored accordig to the ew method, ad the other 5 packages were stored by the old method. Subsequetly, ascorbic acid determiatios (i mg/kg) were made, ad the followig summary statistics were calculated. New Method Old Method (sample) mea ascorbic acid 435 40 (sample) stadard deviatio 0 45 a) Use Welch s T to costruct a 95% cofidece iterval for µ New µ Old. s s x y m s s x y m m 0 0 0 0 0 45 5 5 45 5 0.69867 0 degrees of freedom. t 0.05 ( 0 ).086, ( 435 40 ) ±.086 0 45 0 5 5 ± 7.6 or (.6, 5.6 ). b) Test H 0 : µ New µ Old vs. H : µ New > µ Old at a 5% level of sigificace. ( X Y ) δ 0 Test Statistic: T ( 435 40 ) s s 0 0 0 45 5.890. Critical Value: t ( 0 ).75. Reject H 0.05 0 at α 0.05.

3. Assume that the distributios of X ad Y are N ( µ, σ ) ad N ( µ, σ ), respectively. Give the 4 observatios of X, ad the m 6 observatios of Y, 05, 30, 35, 50 6, 4, 46, 56, 66, 7 fid the p-value ( approximately ) for the test H 0 : µ µ vs. H : µ µ. Hit : Assume the populatio variaces are equal. x x 50 30. x x 4 05 30 35 50 x ( ) x x 65 0 5 400 0 050 5 0 5 0 ( x x ) 050 3 s x 350. y y 906 5. y y 6 6 4 46 56 66 7 y ( ) y y 65 00 5 5 5 400 0 400 5 0 5 5 5 0 ( y y ) 400 5 s y 80.

( 4 ) 350 ( 6 ) 80 s 306.5. s pooled 7.5. pooled 4 6 ( X Y ) δ ( 30 5) Test Statistic: T 0 s pooled m 7.5 0 4 6.859. m 4 6 8 d.f. t 0.05 ( 8 d.f. ).860. p-value ( tailed ) 0.05 0.0.

4. A radom sample of 9 adult elephats had the sample mea weight of,40 pouds ad the sample stadard deviatio of 450 pouds. A radom sample of 6 adult hippos had the sample mea weight of 5,700 pouds ad the sample stadard deviatio of 400 pouds. Assume that the two populatios are approximately ormally distributed, Costruct a 95% cofidece iterval for the differece betwee their overall average weights of adult elephats ad adult hippos. a) Assume that the overall stadard deviatios are equal. ( 9 ) 450 ( 6 ) 400 s 74,78.6 s pooled 48.07 pooled ( X Y ) t 0.05 9 6 ± tα spooled 9 6 3 degrees of freedom m ( 3 ).069 (,40 5,700 ) ±.069 48.07 9 6,540 ± 360.4 ( 6,79.6, 6,900.4 ) 6 b) Do NOT assume that the overall stadard deviatios are equal. Use Welch s T. s s s s 5. 5 degrees of freedom 450 400 9 6 450 400 9 9 6 6 t 0.05 ( 5 ).3 (,40 5,700 ) ±.3 6,540 ± 384.7 ( 6,55.83, 694.7 ) 450 400 9 6

5. Six childre are tested for pulse rate before ad after watchig a violet movie with the followig results. Child Before After 0 96 08 3 89 94 4 04 5 90 0 6 85 98 Usig the paired t test, test for differeces i the before ad after mea pulse rates. Use α 0.05 ad use a two-sided test. Before 0 96 89 04 90 85 After 08 94 0 98 Differece 0 5 8 3 d 0 5 8 3 6 60 0. 6 Σ d 00 44 5 64 44 69 646. s d d d 646 6 0 6 46 9.. 5 OR s d ( d d ) 0 4 5 4 4 9 5 46 9.. 5 H 0 : µ B µ A vs. H : µ B µ A. H 0 : µ D 0 vs. H : µ D 0. Test Statistic: T d 0 sd 0 0 9. 6 8.076.

5 degrees of freedom. α 0.05, α / 0.05, ± t α ±.57. Critical Values The test statistic is i the Rejectio Regio. Reject H 0 at α 0.05. OR 5 degrees of freedom. t 0.005 4.03. Right tail is less tha 0.005. P-value ( two tails ) is less tha 0.0. ( p-value 0.00047 ) P-value < 0.05 α. Reject H 0 at α 0.05. OR Cofidece iterval: 5 degrees of freedom. α 0.05, α / 0.05, 0.57 9. 6 s d ± t d α. t α.57. ± 0 ± 3. ( 6.8, 3. ) 95% cofidece iterval does NOT cover zero Reject H 0 at α 0.05.

6. Crosses of mice will produce either gray, brow, or albio offsprig. Medel s model predicts that the probability of a gray offsprig is 9 / 6 ; the probability of a brow offsprig is 3 / 6 ; ad the probability of a albio offsprig is 4 / 6. a) A experimet to assess the validity of Medel s theory produces the followig data: 35 gray offsprig; 0 brow offsprig; ad 5 albio offsprig. Test H 0 : p 9 / 6, p 3 / 6, p 3 4 / 6 vs H : ot H 0 i) at α 0.05, ii) at α 0.0. gray brow albio O 35 0 5 80 9 / 6 45 80 3 / 6 5 80 4 / 6 0 ( O ) ( 35 45) ( 0 5) ( 5 0) 45 5..6667.5 0 χ cells ( O )..6667.5 5.389. k 3 d.f. Rejectio Regio: Reject H 0 if χ χ α i) χ 0.05 5.99. 5.389 χ < χ α 5.99. Do NOT Reject H 0 at α 0.05. ii) χ 0.0 4.605. 5.389 χ > χ α 4.605. Reject H 0 at α 0.0.

b) Suppose the experimet i part (a) is repeated, but with twice as may observatios. Suppose also that we happeed to get the same proportios, amely, 70 gray offsprig; 40 brow offsprig; ad 50 albio offsprig. Repeat part (a) i this case, usig α 0.0. black brow albio O 70 40 50 60 9 / 6 90 60 3 / 6 30 60 4 / 6 40 ( O ) ( 70 90) ( 40 30) ( 50 40) 90 30 4.4444 3.3333.5 40 χ cells ( O ) 4.4444 3.3333.50 0.778. k 3 d.f. Rejectio Regio: Reject H 0 if χ χ α χ 0.0 9.0. 0.778 χ > Reject H 0 at α 0.0. χ α 9.0.

7. Suppose we toss a 6-sided die 0 times ad cout how may times each outcome ( through 6) occurs. We obtai the followig results: Outcome 3 4 5 6 Observed frequecy 4 4 8 7 5 We wat to use the chi-square goodess-of-fit test to test the hypothesis that the die is fair (balaced) usig a 5% level of sigificace. a) State the ull hypothesis. H 0 : p / 6, p / 6, p 3 / 6, p 4 / 6, p 5 / 6, p 6 / 6 vs H : ot H 0 b) Calculate the values of the chi-square test statistic. O 4 4 8 7 5 0 0 0 0 0 0 ( O ) ( 4 0) ( 4 0) ( 8 0) ( 7 0) ( 0) ( 5 0) 0 0 0 0 0 0.80 0.80 3.0 0.45 3.0.5 χ cells ( O ).80 0.80 3.0 0.45 3.0.5 0.7. c) Fid the critical value χ α. Rejectio Regio: Reject H 0 if χ χ α k 6 5 d.f. χ 0. 05.07. d) Test the hypothesis that the die is fair (balaced) usig a 5% level of sigificace. 0.7 χ >X χ α.07. Do NOT Reject H 0 at α 0.05.

8. A article i Busiess Week reports profits ad losses of firms by idustry. A radom sample of 00 firms is selected, ad for each firm i the sample, we record whether the compay made moey or lost moey, ad whether or ot the firm is a service compay. The data are summarized i the table below. Use a 0% level of sigificace to test whether the two evets the compay made profit this year ad the compay is i the service idustry are idepedet. Idustry Type Service Noservice Profit 3 38 Loss 8 O ( O ) 3 38 70 8 4 0.5749 0.38095 8 30 8.333333 0.888889 40 60 00 Q 3.74603. ( ) ( ) degree of freedom. χ 0. 0 ( ).706. Q 3.74603 >.706 χ α. Reject H 0.

9. A group of 50 childre (5 boys ad 5 girls) were asked to idetify their favorite color. We obtai the followig data: Favorite Color Sex Red Gree Blue Pik Purple Boys 35 5 35 0 0 Girls 5 0 5 30 5 A toy maufacturer wats to kow if the color prefereces of boys ad girls differ. Perform χ test of homogeeity usig a % level of sigificace. H 0 : I all 5 respose categories ( Red, Gree, Blue, Pik, Purple ), the probabilities are equal for these populatios (Boys, Girls). H A : Not H 0. Favorite Color Sex Red Gree Blue Pik Purple Total O ( O ) Boys 35 5 35 0 0 5 30.5 30 0.5 0.83333 0.7778 0.83333 5.00000 0.7778 Girls 5 0 5 30 5 5 30.5 30 0.5 0.83333 0.7778 0.83333 5.00000 0.7778 Total 60 45 60 40 45 50 Q 4.4444. ( ) ( 5 ) 4 degrees of freedom. χ 0. 0 ( 4 ) 3.8. Q 4.4444 > 3.8 χ α. Reject H 0.

0. A breakfast cereal maufacturer wats to kow whether idividual prefereces for types of breakfast cereal sweeteer are associated with the age of the buyer. I a survey, sweeteer prefereces were matched to the cosumers age group. From a radom sample of 500 resposes, the results were as follows: Age (Years) Cereal 5 5 6 40 4 60 Over 60 Sugar Sweeteed 50 60 55 35 Fruit Sweeteed 5 35 55 35 Natural 5 55 40 30 Test whether sweeteer prefereces ad age are idepedet at a % level of sigificace. Age (Years) Cereal 5 5 6 40 4 60 Over 60 Total Sugar Sweeteed 50 60 55 35 00 40 60 60 40.5 0 0.4667 0.65 Fruit Sweeteed 5 35 55 35 50 30 45 45 30 0.83333.. 0.83333 Natural 5 55 40 30 50 30 45 45 30 0.83333. 0.55556 0 Total 00 50 50 00 500 O ( O ) Q 3.6389. ( 3 ) ( 4 ) 6 degrees of freedom. Q 3.6389 < 6.8 χ 0. 0 ( 6 ) 6.8. χ α ( k ). Do NOT Reject H 0.