Chapter 9. Inferences from Two Samples. Objective. Notation. Section 9.2. Definition. Notation. q = 1 p. Inferences About Two Proportions

Size: px
Start display at page:

Download "Chapter 9. Inferences from Two Samples. Objective. Notation. Section 9.2. Definition. Notation. q = 1 p. Inferences About Two Proportions"

Transcription

1 Chapter 9 Inferences from Two Samples 9. Inferences About Two Proportions 9.3 Inferences About Two s (Independent) 9.4 Inferences About Two s (Matched Pairs) 9.5 Comparing Variation in Two Samples Objective Compare the parameters of two populations using two samples from each population. Use Confidence Intervals and Hypothesis Tests For the first population use index 1 For the second population use index 9. Compare p 1, p 9.3 Compare µ 1, µ (Independent) 9.4 Compare µ 1, µ (Matched Pairs) 9.5 Compare σ 1, σ 1 Objective Section 9. Inferences About Two Proportions Compare the proportions of two populations using two samples from each population. Hypothesis Tests and Confidence Intervals of two proportions use the z-distribution 1 First Population p 1 x 1 p 1 Notation First population proportion First sample size Number of successes in first sample First sample proportion 3 4 Second Population p Notation Second population proportion Definition The pooled sample proportion p n x p Second sample size Number of successes in second sample Second sample proportion x 1 + x p = + n q = 1 p 5 6

2 Requirements (1) Have two independent random samples () For each sample: The number of successes is at least 5 The number of failures is at least 5 Both requirements must be satisfied to make a Hypothesis Test or to find a Confidence Interval Tests for Two Proportions The goal is to compare the two proportions H 0 : p 1 = p H 1 : p 1 p Two tailed H 0 : p 1 = p H 1 : p 1 < p Left tailed H 0 : p 1 = p H 1 : p 1 > p Right tailed Note: We only test the relation between p 1 and p (not the actual numerical values) 7 8 Finding the z = ( p ^ p ^ ) ( p p ) 1 1 pq + pq n Note: p 1 p =0 according to H 0 This equation is an altered form of the test statistic for a single proportion (see Ch. 8-3) 9 Note: Hypothesis Tests are done in same way as in Ch.8 (but with different test statistics) 10 Steps for Performing a Hypothesis Test on Two Proportions Write what we know State H 0 and H 1 Draw a diagram Calculate the sample and pooled proportions Find the Find the Critical Value(s) State the Initial Conclusion and Final Conclusion Note: Same process as in Chapter 8 11 Example 1 The table below lists results from a simple random sample of front-seat occupants involved in car crashes. Use a 0.05 significance level to test the claim that the fatality rate of occupants is lower for those in cars equipped with airbags. p 1 : Proportion of fatalities with airbags p : Proportion of fatalities with no airbags Claim p 1 < p What we know: x 1 = 41 x = 5 α = 0.05 = n = 9853 Claim: p 1 < p Note: Each sample has more than 5 successes and failures, thus fulfilling the requirements 1

3 Example 1 H 0 : p 1 = p H 1 : p 1 < p Sample Proportions Given: x 1 = 41 x = 5 α = 0.05 = n = 9853 Claim: p 1 < p Left-Tailed H 1 = Claim Diagram z = z α = Pooled Proportion z-dist. Example 1 H 0 : p 1 = p H 1 : p 1 < p Given: x 1 = 41 x = 5 α = 0.05 = n = 9853 Claim: p 1 < p Left-Tailed H 1 = Claim Diagram z = z α = Stat Proportions Two sample With summary Sample 1: Number of successes:. 41 Hypothesis Test Number of observations: Null: prop. diff.= Sample : Number of successes:. 5 Alternative Number of observations: < z-dist. P-value = 0.08 Critical Value () Initial Conclusion: Since z is in the critical region, reject H 0 Final Conclusion: We Accept the claim the fatality rate of occupants is lower for those who wear seatbelts 13 Initial Conclusion: Since P-value is less than α (with α = 0.05), reject H 0 Final Conclusion: We Accept the claim the fatality rate of occupants is lower for those who wear seatbelts 14 Confidence Interval Estimate We can observe how the two proportions relate by looking at the Confidence Interval Estimate of p 1 p CI = ( (p 1 p ) E, (p 1 p ) + E ) 3 Example 90% Confidence Interval Estimate of the difference x 1 = 41 x = 5 p 1 = = n = 9853 p = Where CI = ( , ) 15 Note: CI negative implies p 1 p is negative. This implies p 1 <p 16 Example 90% Confidence Interval Estimate of the difference Example 90% Confidence Interval Estimate of the difference x 1 = 41 x = 5 p 1 = = n = 9853 p = x 1 = 41 x = 5 = n = 9853 Stat Proportions Two sample With summary Sample 1: Number of successes:. 41 Confidence Interval Number of observations: Sample : Number of successes:. 5 Number of observations: 9853 Level 0.9 CI = ( , ) CI = ( , ) Note: CI negative implies p 1 p is negative. This implies p 1 <p 17 Note: CI negative implies p 1 p is negative. This implies p 1 <p 18

4 Interpreting Confidence Intervals If a confidence interval limits does not contain 0, it implies there is a significant difference between the two proportions (i.e. p 1 p ). Thus, we can interpret a relation between the two proportions from the confidence interval. In general: If p 1 = p then the CI should contain 0 If p 1 > p then the CI should be mostly positive If p 1 > p then the CI should be mostly negative 19 Example 3 Drug Clinical Trial Chantix is a drug used as an aid to stop smoking. The number of subjects experiencing insomnia for each of two treatment groups in a clinical trial of the drug Chantix are given below: Number in group Number experiencing insomnia Chantix Treatment (a) Use a 0.01 significance level to test the claim proportions of subjects experiencing insomnia is the same for both groups. (b) Find the 99% confidence level estimate of the difference of the two proportions. Does it support the result of the test? What we know: x 1 = 41 x = 5 α = 0.01 = 19 n = 9853 Claim: p 1 = p Note: Each sample has more than 5 successes and failures, thus fulfilling the requirements Placebo Example 3a H 0 : p 1 = p H 1 : p 1 p Sample Proportions Two-Tailed H 0 = Claim Given: x 1 = 19 x = 13 α = 0.01 = 19 n = 805 Claim: p 1 = p Diagram -z α/ = Pooled Proportion z-dist. z α/ =.576 z = Example 3a H 0 : p 1 = p H 1 : p 1 p Two-Tailed H 0 = Claim Stat Proportions Two sample With summary Sample 1: Number of successes:. Number of observations: Sample : Number of successes:. Number of observations: Given: x 1 = 19 x = 13 α = 0.01 = 19 n = 805 Claim: p 1 = p Diagram Hypothesis Test Null: prop. diff.= Alternative 0 z-dist. Critical Value () P-value < i.e. the P-value is very small Initial Conclusion: Since z is in the critical region, reject H 0 Initial Conclusion: Since the P-value is less than α (0.01), reject H 0 Final Conclusion: We Reject the claim the proportions of the subjects experiencing insomnia is the same in both groups. 1 Final Conclusion: We Reject the claim the proportions of the subjects experiencing insomnia is the same in both groups. Example 3b Use the same sample data in Example 3 to construct a 99% Confidence Interval Estimate of the difference Example 3b Use the same sample data in Example 3 to construct a 99% Confidence Interval Estimate of the difference x 1 = 19 x = 13 p 1 = = 19 n = 805 p = x 1 = 19 x = 13 = 19 n = 805 Stat Proportions Two sample With summary Sample 1: Number of successes:. Number of observations: Sample : Number of successes:. Number of observations: Confidence Interval Level 0.9 CI = (0.0500, 0.13 ) Note: CI does not contain 0 implies p 1 and p have significant difference. 3 CI = (0.0500, 0.13 ) Note: CI does not contain 0 implies p 1 and p have significant difference. 4

5 Section 9.3 Inferences About Two s (Independent) Objective Compare the proportions of two independent means using two samples from each population. Hypothesis Tests and Confidence Intervals of two proportions use the t-distribution 5 6 Definitions Two samples are independent if the sample values selected from one population are not related to or somehow paired or matched with the sample values from the other population Examples: Flipping two coins (Independent) Drawing two cards (not independent) 5 First Population μ 1 σ 1 x 1 s 1 Notation First population mean First population standard deviation First sample size First sample mean First sample standard deviation 7 8 Second Population Notation Requirements (1) Have two independent random samples μ σ n x s Second population mean Second population standard deviation Second sample size Second sample mean Second sample standard deviation () σ 1 and σ are unknown and no assumption is made about their equality (3) Either or both the following holds: Both sample sizes are large ( >30, n >30) or Both populations have normal distributions All requirements must be satisfied to make a Hypothesis Test or to find a Confidence Interval 9 30

6 Tests for Two Independent s Finding the The goal is to compare the two s H 0 : μ 1 = μ H 1 : μ 1 μ H 0 : μ 1 = μ H 1 : μ 1 < μ H 0 : μ 1 = μ H 1 : μ 1 > μ t x x 1 1 s 1 s n Two tailed Left tailed Right tailed Note: 1 =0 according to H 0 Degrees of freedom: df = smaller of 1 and n 1. Note: We only test the relation between μ 1 and μ (not the actual numerical values) 31 This equation is an altered form of the test statistic for a single mean when σ unknown (see Ch. 8-5) 3 Steps for Performing a Hypothesis Test on Two Independent s Write what we know Degrees of freedom df = min( 1, n 1) 6 State H 0 and H 1 Draw a diagram Find the Find the Degrees of Freedom Find the Critical Value(s) State the Initial Conclusion and Final Conclusion Note: Hypothesis Tests are done in same way as in Ch.8 (but with different test statistics) 33 Note: Same process as in Chapter 8 34 Example 1 A headline in USA Today proclaimed that Men, women are equal talkers. That headline referred to a study of the numbers of words that men and women spoke in a day. Use a 0.05 significance level to test the claim that men and women speak the same mean number of words in a day. Example 1 = 186 n = 10 α = 0.05 x 1 = x = Claim: μ 1 = μ H 0 : µ 1 = µ H 1 : µ 1 µ s 1 = s = Two-Tailed H 0 = Claim t = t α/ = t-dist. df = 185 t α/ = 1.97 Degrees of Freedom df = min( 1, n 1) = min(185, 09) = 185 Critical Value t α/ = t 0.05 = 1.97 () 35 Initial Conclusion: Since t is not in the critical region, accept H 0 Final Conclusion: We accept the claim that men and women speak the same average number of words a day. 36

7 Example 1 = 186 n = 10 α = 0.05 x 1 = x = Claim: μ 1 = μ H 0 : µ 1 = µ H 1 : µ 1 µ Two-Tailed H 0 = Claim (Be sure to not use pooled variance) s 1 = s = Stat T statistics Two sample With summary Sample 1: Sample : Hypothesis Test Null: prop. diff.= Alternative 0 10 (No pooled variance) P-value = Confidence Interval Estimate We can observe how the two proportions relate by looking at the Confidence Interval Estimate of μ 1 μ CI = ( (x 1 x ) E, (x 1 x ) + E ) Where Initial Conclusion: Since P-value > α (0.05), accept H 0 Final Conclusion: We accept the claim that men and women speak the same average number of words a day. 37 df = min( 1, n 1) 38 Example 95% Confidence Interval Estimate of the difference between the two population proportions (µ 1 µ ) = 186 n = 10 df = min(n df = min( 1, n 1) = min(185, 10) = , n 1) = min(185, 10) = 185 x 1 = x = t t α/ t 0.1/ = t 0.05 = α/ = t 0.05/ = t 0.05 = s 1 = s = x x 1 - x = = x = = Example 95% Confidence Interval Estimate of the difference between the two population proportions (µ 1 µ ) = 186 n = 10 x 1 = x = s 1 = s = Stat T statistics Two sample With summary Sample 1: Sample : Confidence Interval Level: 0.95 (No pooled variance) (x 1 - x ) + E = = (x 1 - x ) E = = CI = (-14.7, ) 39 CI = (-137.4, ) Note: slightly different because of rounding errors 40 Example 3 Consider two different classes. The students in the first class are thought to generally be older than those in the second. The students ages for this semester are summed as follows: = 93 n = 67 x 1 = 1. x = 19.8 s 1 =.4 s = 4.77 (a) Use a 0.1 significance level to test the claim that the average age of students in the first class is greater than the average age of students in the second class. (b) Construct a 90% confidence interval estimate of the difference in average ages. 41 Example 3a H 0 : µ 1 = µ H 1 : µ 1 > µ t = x 1 x s1 n1 +s n Critical Value t α/ = t 0.05 = Right-Tailed H 1 = Claim = 93 n = 67 α = 0.1 = =.07 (.4) 93 +(4.77) 67 Degrees of Freedom df = min( 1, n 1) = min(9, 66) = 66 x 1 = 1. x = 19.8 Claim: µ 1 > µ s 1 =.4 s = 4.77 () Initial Conclusion: Since t is in the critical region, reject H 0 t α/ = t-dist. df = 66 t = 7.60 Final Conclusion: We accept the claim that the average age of students in the first class is greater than that in the second. 4

8 Example 3a = 93 n = 67 α = 0.1 x 1 = 1. x = 19.8 Claim: µ 1 > µ H 0 : µ 1 = µ H 1 : µ 1 > µ Right-Tailed H 1 = Claim (Be sure to not use pooled variance) s 1 =.4 s = 4.77 Stat T statistics Two sample With summary Sample 1: Sample : 1. Hypothesis Test.4 Null: prop. diff.= 0 93 Alternative (No pooled variance) P-value = Example 3b (90% Confidence Interval) df = min( 1, n 1) = min(9, 66) = 66 t α/ = t 0.1/ = t 0.05 = x 1 - x = = 1.4 s E = t 1 α + s 1 = mp (x 1 - x ) + E = =.458 (x 1 - x ) E = = 0.34 = 93 n = 67 α = 0.1 x 1 = 1. x = 19.8 s 1 =.4 s = = Initial Conclusion: Since P-value < α (0.1), reject H 0 CI = (0.34,.46) Final Conclusion: We accept the claim that the average age of students in the first class is greater than that in the second Example 3b (90% Confidence Interval) (Be sure to not use pooled variance) = 93 n = 67 α = 0.1 x 1 = 1. x = 19.8 s 1 =.4 s = 4.77 Stat T statistics Two sample With summary Sample 1: Sample : 1. Hypothesis Test.4 Null: prop. diff.= 0 93 Alternative (No pooled variance) 8 CI = (0.35,.45) 45

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 9.1-1

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 9.1-1 Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by Mario F. Triola Copyright 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 9.1-1 Chapter 9 Inferences

More information

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples Objective Section 9.4 Inferences About Two Means (Matched Pairs) Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means

More information

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015 AMS7: WEEK 7. CLASS 1 More on Hypothesis Testing Monday May 11th, 2015 Testing a Claim about a Standard Deviation or a Variance We want to test claims about or 2 Example: Newborn babies from mothers taking

More information

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS In our work on hypothesis testing, we used the value of a sample statistic to challenge an accepted value of a population parameter. We focused only

More information

Lecture 10: Comparing two populations: proportions

Lecture 10: Comparing two populations: proportions Lecture 10: Comparing two populations: proportions Problem: Compare two sets of sample data: e.g. is the proportion of As in this semester 152 the same as last Fall? Methods: Extend the methods introduced

More information

Chapter 9 Inferences from Two Samples

Chapter 9 Inferences from Two Samples Chapter 9 Inferences from Two Samples 9-1 Review and Preview 9-2 Two Proportions 9-3 Two Means: Independent Samples 9-4 Two Dependent Samples (Matched Pairs) 9-5 Two Variances or Standard Deviations Review

More information

Comparing Means from Two-Sample

Comparing Means from Two-Sample Comparing Means from Two-Sample Kwonsang Lee University of Pennsylvania kwonlee@wharton.upenn.edu April 3, 2015 Kwonsang Lee STAT111 April 3, 2015 1 / 22 Inference from One-Sample We have two options to

More information

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between 7.2 One-Sample Correlation ( = a) Introduction Correlation analysis measures the strength and direction of association between variables. In this chapter we will test whether the population correlation

More information

Lecture Slides. Elementary Statistics. by Mario F. Triola. and the Triola Statistics Series

Lecture Slides. Elementary Statistics. by Mario F. Triola. and the Triola Statistics Series Lecture Slides Elementary Statistics Tenth Edition and the Triola Statistics Series by Mario F. Triola Slide 1 Chapter 9 Inferences from Two Samples 9-1 Overview 9-2 Inferences About Two Proportions 9-3

More information

Test 3 Practice Test A. NOTE: Ignore Q10 (not covered)

Test 3 Practice Test A. NOTE: Ignore Q10 (not covered) Test 3 Practice Test A NOTE: Ignore Q10 (not covered) MA 180/418 Midterm Test 3, Version A Fall 2010 Student Name (PRINT):............................................. Student Signature:...................................................

More information

Chapter. Hypothesis Testing with Two Samples. Copyright 2015, 2012, and 2009 Pearson Education, Inc. 1

Chapter. Hypothesis Testing with Two Samples. Copyright 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter 8 Hypothesis Testing with Two Samples Copyright 2015, 2012, and 2009 Pearson Education, Inc 1 Two Sample Hypothesis Test Compares two parameters from two populations Sampling methods: Independent

More information

Statistical Inference for Means

Statistical Inference for Means Statistical Inference for Means Jamie Monogan University of Georgia February 18, 2011 Jamie Monogan (UGA) Statistical Inference for Means February 18, 2011 1 / 19 Objectives By the end of this meeting,

More information

Hypothesis Testing with Z and T

Hypothesis Testing with Z and T Chapter Eight Hypothesis Testing with Z and T Introduction to Hypothesis Testing P Values Critical Values Within-Participants Designs Between-Participants Designs Hypothesis Testing An alternate hypothesis

More information

Chapter 23: Inferences About Means

Chapter 23: Inferences About Means Chapter 3: Inferences About Means Sample of Means: number of observations in one sample the population mean (theoretical mean) sample mean (observed mean) is the theoretical standard deviation of the population

More information

Chapter 22. Comparing Two Proportions. Bin Zou STAT 141 University of Alberta Winter / 15

Chapter 22. Comparing Two Proportions. Bin Zou STAT 141 University of Alberta Winter / 15 Chapter 22 Comparing Two Proportions Bin Zou (bzou@ualberta.ca) STAT 141 University of Alberta Winter 2015 1 / 15 Introduction In Ch.19 and Ch.20, we studied confidence interval and test for proportions,

More information

Chapter 7 Comparison of two independent samples

Chapter 7 Comparison of two independent samples Chapter 7 Comparison of two independent samples 7.1 Introduction Population 1 µ σ 1 1 N 1 Sample 1 y s 1 1 n 1 Population µ σ N Sample y s n 1, : population means 1, : population standard deviations N

More information

Chapter 20 Comparing Groups

Chapter 20 Comparing Groups Chapter 20 Comparing Groups Comparing Proportions Example Researchers want to test the effect of a new anti-anxiety medication. In clinical testing, 64 of 200 people taking the medicine reported symptoms

More information

Inferences About Two Proportions

Inferences About Two Proportions Inferences About Two Proportions Quantitative Methods II Plan for Today Sampling two populations Confidence intervals for differences of two proportions Testing the difference of proportions Examples 1

More information

For tests of hypotheses made about population, we consider. only tests having a hypothesis of. Note that under the assumption of

For tests of hypotheses made about population, we consider. only tests having a hypothesis of. Note that under the assumption of CONFIDENCE INTERVAL ESTIMATE OF p 1 p 2 The confidence interval estimate of the is: where the of is given by Rounding: Round the confidence interval limits to significant digits. HYPOTHESIS TESTS For tests

More information

STAT Chapter 9: Two-Sample Problems. Paired Differences (Section 9.3)

STAT Chapter 9: Two-Sample Problems. Paired Differences (Section 9.3) STAT 515 -- Chapter 9: Two-Sample Problems Paired Differences (Section 9.3) Examples of Paired Differences studies: Similar subjects are paired off and one of two treatments is given to each subject in

More information

An inferential procedure to use sample data to understand a population Procedures

An inferential procedure to use sample data to understand a population Procedures Hypothesis Test An inferential procedure to use sample data to understand a population Procedures Hypotheses, the alpha value, the critical region (z-scores), statistics, conclusion Two types of errors

More information

MBA 605, Business Analytics Donald D. Conant, Ph.D. Master of Business Administration

MBA 605, Business Analytics Donald D. Conant, Ph.D. Master of Business Administration t-distribution Summary MBA 605, Business Analytics Donald D. Conant, Ph.D. Types of t-tests There are several types of t-test. In this course we discuss three. The single-sample t-test The two-sample t-test

More information

Inference About Two Means: Independent Samples

Inference About Two Means: Independent Samples Inference About Two Means: Independent Samples MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2017 Motivation Suppose we wish to study the mean absorption in muscle

More information

Sampling distribution of t. 2. Sampling distribution of t. 3. Example: Gas mileage investigation. II. Inferential Statistics (8) t =

Sampling distribution of t. 2. Sampling distribution of t. 3. Example: Gas mileage investigation. II. Inferential Statistics (8) t = 2. The distribution of t values that would be obtained if a value of t were calculated for each sample mean for all possible random of a given size from a population _ t ratio: (X - µ hyp ) t s x The result

More information

Two-Sample Inferential Statistics

Two-Sample Inferential Statistics The t Test for Two Independent Samples 1 Two-Sample Inferential Statistics In an experiment there are two or more conditions One condition is often called the control condition in which the treatment is

More information

Hypothesis testing for µ:

Hypothesis testing for µ: University of California, Los Angeles Department of Statistics Statistics 10 Elements of a hypothesis test: Hypothesis testing Instructor: Nicolas Christou 1. Null hypothesis, H 0 (always =). 2. Alternative

More information

STA Module 10 Comparing Two Proportions

STA Module 10 Comparing Two Proportions STA 2023 Module 10 Comparing Two Proportions Learning Objectives Upon completing this module, you should be able to: 1. Perform large-sample inferences (hypothesis test and confidence intervals) to compare

More information

Statistics for IT Managers

Statistics for IT Managers Statistics for IT Managers 95-796, Fall 2012 Module 2: Hypothesis Testing and Statistical Inference (5 lectures) Reading: Statistics for Business and Economics, Ch. 5-7 Confidence intervals Given the sample

More information

Population 1 Population 2

Population 1 Population 2 Two Population Case Testing the Difference Between Two Population Means Sample of Size n _ Sample mean = x Sample s.d.=s x Sample of Size m _ Sample mean = y Sample s.d.=s y Pop n mean=μ x Pop n s.d.=

More information

Math 2000 Practice Final Exam: Homework problems to review. Problem numbers

Math 2000 Practice Final Exam: Homework problems to review. Problem numbers Math 2000 Practice Final Exam: Homework problems to review Pages: Problem numbers 52 20 65 1 181 14 189 23, 30 245 56 256 13 280 4, 15 301 21 315 18 379 14 388 13 441 13 450 10 461 1 553 13, 16 561 13,

More information

hypotheses. P-value Test for a 2 Sample z-test (Large Independent Samples) n > 30 P-value Test for a 2 Sample t-test (Small Samples) n < 30 Identify α

hypotheses. P-value Test for a 2 Sample z-test (Large Independent Samples) n > 30 P-value Test for a 2 Sample t-test (Small Samples) n < 30 Identify α Chapter 8 Notes Section 8-1 Independent and Dependent Samples Independent samples have no relation to each other. An example would be comparing the costs of vacationing in Florida to the cost of vacationing

More information

Difference between means - t-test /25

Difference between means - t-test /25 Difference between means - t-test 1 Discussion Question p492 Ex 9-4 p492 1-3, 6-8, 12 Assume all variances are not equal. Ignore the test for variance. 2 Students will perform hypothesis tests for two

More information

+ Specify 1 tail / 2 tail

+ Specify 1 tail / 2 tail Week 2: Null hypothesis Aeroplane seat designer wonders how wide to make the plane seats. He assumes population average hip size μ = 43.2cm Sample size n = 50 Question : Is the assumption μ = 43.2cm reasonable?

More information

Outline. PubH 5450 Biostatistics I Prof. Carlin. Confidence Interval for the Mean. Part I. Reviews

Outline. PubH 5450 Biostatistics I Prof. Carlin. Confidence Interval for the Mean. Part I. Reviews Outline Outline PubH 5450 Biostatistics I Prof. Carlin Lecture 11 Confidence Interval for the Mean Known σ (population standard deviation): Part I Reviews σ x ± z 1 α/2 n Small n, normal population. Large

More information

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6. Chapter 7 Reading 7.1, 7.2 Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.112 Introduction In Chapter 5 and 6, we emphasized

More information

EXAM 3 Math 1342 Elementary Statistics 6-7

EXAM 3 Math 1342 Elementary Statistics 6-7 EXAM 3 Math 1342 Elementary Statistics 6-7 Name Date ********************************************************************************************************************************************** MULTIPLE

More information

Review 6. n 1 = 85 n 2 = 75 x 1 = x 2 = s 1 = 38.7 s 2 = 39.2

Review 6. n 1 = 85 n 2 = 75 x 1 = x 2 = s 1 = 38.7 s 2 = 39.2 Review 6 Use the traditional method to test the given hypothesis. Assume that the samples are independent and that they have been randomly selected ) A researcher finds that of,000 people who said that

More information

Purposes of Data Analysis. Variables and Samples. Parameters and Statistics. Part 1: Probability Distributions

Purposes of Data Analysis. Variables and Samples. Parameters and Statistics. Part 1: Probability Distributions Part 1: Probability Distributions Purposes of Data Analysis True Distributions or Relationships in the Earths System Probability Distribution Normal Distribution Student-t Distribution Chi Square Distribution

More information

Inferences for Regression

Inferences for Regression Inferences for Regression An Example: Body Fat and Waist Size Looking at the relationship between % body fat and waist size (in inches). Here is a scatterplot of our data set: Remembering Regression In

More information

STAT Chapter 8: Hypothesis Tests

STAT Chapter 8: Hypothesis Tests STAT 515 -- Chapter 8: Hypothesis Tests CIs are possibly the most useful forms of inference because they give a range of reasonable values for a parameter. But sometimes we want to know whether one particular

More information

Two sample Hypothesis tests in R.

Two sample Hypothesis tests in R. Example. (Dependent samples) Two sample Hypothesis tests in R. A Calculus professor gives their students a 10 question algebra pretest on the first day of class, and a similar test towards the end of the

More information

χ test statistics of 2.5? χ we see that: χ indicate agreement between the two sets of frequencies.

χ test statistics of 2.5? χ we see that: χ indicate agreement between the two sets of frequencies. I. T or F. (1 points each) 1. The χ -distribution is symmetric. F. The χ may be negative, zero, or positive F 3. The chi-square distribution is skewed to the right. T 4. The observed frequency of a cell

More information

The t-statistic. Student s t Test

The t-statistic. Student s t Test The t-statistic 1 Student s t Test When the population standard deviation is not known, you cannot use a z score hypothesis test Use Student s t test instead Student s t, or t test is, conceptually, very

More information

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8 CIVL - 7904/8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8 Chi-square Test How to determine the interval from a continuous distribution I = Range 1 + 3.322(logN) I-> Range of the class interval

More information

Contingency Tables. Contingency tables are used when we want to looking at two (or more) factors. Each factor might have two more or levels.

Contingency Tables. Contingency tables are used when we want to looking at two (or more) factors. Each factor might have two more or levels. Contingency Tables Definition & Examples. Contingency tables are used when we want to looking at two (or more) factors. Each factor might have two more or levels. (Using more than two factors gets complicated,

More information

STA 101 Final Review

STA 101 Final Review STA 101 Final Review Statistics 101 Thomas Leininger June 24, 2013 Announcements All work (besides projects) should be returned to you and should be entered on Sakai. Office Hour: 2 3pm today (Old Chem

More information

The Difference in Proportions Test

The Difference in Proportions Test Overview The Difference in Proportions Test Dr Tom Ilvento Department of Food and Resource Economics A Difference of Proportions test is based on large sample only Same strategy as for the mean We calculate

More information

Hypothesis Testing hypothesis testing approach formulation of the test statistic

Hypothesis Testing hypothesis testing approach formulation of the test statistic Hypothesis Testing For the next few lectures, we re going to look at various test statistics that are formulated to allow us to test hypotheses in a variety of contexts: In all cases, the hypothesis testing

More information

Testing a Claim about the Difference in 2 Population Means Independent Samples. (there is no difference in Population Means µ 1 µ 2 = 0) against

Testing a Claim about the Difference in 2 Population Means Independent Samples. (there is no difference in Population Means µ 1 µ 2 = 0) against Section 9 2A Lecture Testing a Claim about the Difference i Population Means Independent Samples Test H 0 : µ 1 = µ 2 (there is no difference in Population Means µ 1 µ 2 = 0) against H 1 : µ 1 > µ 2 or

More information

STAT Chapter 11: Regression

STAT Chapter 11: Regression STAT 515 -- Chapter 11: Regression Mostly we have studied the behavior of a single random variable. Often, however, we gather data on two random variables. We wish to determine: Is there a relationship

More information

χ L = χ R =

χ L = χ R = Chapter 7 3C: Examples of Constructing a Confidence Interval for the true value of the Population Standard Deviation σ for a Normal Population. Example 1 Construct a 95% confidence interval for the true

More information

Stat 231 Exam 2 Fall 2013

Stat 231 Exam 2 Fall 2013 Stat 231 Exam 2 Fall 2013 I have neither given nor received unauthorized assistance on this exam. Name Signed Date Name Printed 1 1. Some IE 361 students worked with a manufacturer on quantifying the capability

More information

STA2601. Tutorial letter 203/2/2017. Applied Statistics II. Semester 2. Department of Statistics STA2601/203/2/2017. Solutions to Assignment 03

STA2601. Tutorial letter 203/2/2017. Applied Statistics II. Semester 2. Department of Statistics STA2601/203/2/2017. Solutions to Assignment 03 STA60/03//07 Tutorial letter 03//07 Applied Statistics II STA60 Semester Department of Statistics Solutions to Assignment 03 Define tomorrow. university of south africa QUESTION (a) (i) The normal quantile

More information

STAT 201 Assignment 6

STAT 201 Assignment 6 STAT 201 Assignment 6 Partial Solutions 12.1 Research question: Do parents in the school district support the new education program? Parameter: p = proportion of all parents in the school district who

More information

CHAPTER 10 HYPOTHESIS TESTING WITH TWO SAMPLES

CHAPTER 10 HYPOTHESIS TESTING WITH TWO SAMPLES CHAPTER 10 HYPOTHESIS TESTING WITH TWO SAMPLES In this chapter our hypothesis tests allow us to compare the means (or proportions) of two different populations using a sample from each population For example,

More information

Chapter 10: Chi-Square and F Distributions

Chapter 10: Chi-Square and F Distributions Chapter 10: Chi-Square and F Distributions Chapter Notes 1 Chi-Square: Tests of Independence 2 4 & of Homogeneity 2 Chi-Square: Goodness of Fit 5 6 3 Testing & Estimating a Single Variance 7 10 or Standard

More information

Two-sample t-tests. - Independent samples - Pooled standard devation - The equal variance assumption

Two-sample t-tests. - Independent samples - Pooled standard devation - The equal variance assumption Two-sample t-tests. - Independent samples - Pooled standard devation - The equal variance assumption Last time, we used the mean of one sample to test against the hypothesis that the true mean was a particular

More information

Chapters 4-6: Inference with two samples Read sections 4.2.5, 5.2, 5.3, 6.2

Chapters 4-6: Inference with two samples Read sections 4.2.5, 5.2, 5.3, 6.2 Chapters 4-6: Inference with two samples Read sections 45, 5, 53, 6 COMPARING TWO POPULATION MEANS When presented with two samples that you wish to compare, there are two possibilities: I independent samples

More information

Introduction to Business Statistics QM 220 Chapter 12

Introduction to Business Statistics QM 220 Chapter 12 Department of Quantitative Methods & Information Systems Introduction to Business Statistics QM 220 Chapter 12 Dr. Mohammad Zainal 12.1 The F distribution We already covered this topic in Ch. 10 QM-220,

More information

Inference About Means and Proportions with Two Populations. Chapter 10

Inference About Means and Proportions with Two Populations. Chapter 10 Inference About Means and Proportions with Two Populations Chapter 10 Two Populations? Chapter 8 we found interval estimates for the population mean and population proportion based on a random sample Chapter

More information

Sampling Distributions: Central Limit Theorem

Sampling Distributions: Central Limit Theorem Review for Exam 2 Sampling Distributions: Central Limit Theorem Conceptually, we can break up the theorem into three parts: 1. The mean (µ M ) of a population of sample means (M) is equal to the mean (µ)

More information

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING LECTURE 1 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING INTERVAL ESTIMATION Point estimation of : The inference is a guess of a single value as the value of. No accuracy associated with it. Interval estimation

More information

HYPOTHESIS TESTING II TESTS ON MEANS. Sorana D. Bolboacă

HYPOTHESIS TESTING II TESTS ON MEANS. Sorana D. Bolboacă HYPOTHESIS TESTING II TESTS ON MEANS Sorana D. Bolboacă OBJECTIVES Significance value vs p value Parametric vs non parametric tests Tests on means: 1 Dec 14 2 SIGNIFICANCE LEVEL VS. p VALUE Materials and

More information

Example. χ 2 = Continued on the next page. All cells

Example. χ 2 = Continued on the next page. All cells Section 11.1 Chi Square Statistic k Categories 1 st 2 nd 3 rd k th Total Observed Frequencies O 1 O 2 O 3 O k n Expected Frequencies E 1 E 2 E 3 E k n O 1 + O 2 + O 3 + + O k = n E 1 + E 2 + E 3 + + E

More information

COVENANT UNIVERSITY NIGERIA TUTORIAL KIT OMEGA SEMESTER PROGRAMME: ECONOMICS

COVENANT UNIVERSITY NIGERIA TUTORIAL KIT OMEGA SEMESTER PROGRAMME: ECONOMICS COVENANT UNIVERSITY NIGERIA TUTORIAL KIT OMEGA SEMESTER PROGRAMME: ECONOMICS COURSE: CBS 221 DISCLAIMER The contents of this document are intended for practice and leaning purposes at the undergraduate

More information

Classroom Activity 7 Math 113 Name : 10 pts Intro to Applied Stats

Classroom Activity 7 Math 113 Name : 10 pts Intro to Applied Stats Classroom Activity 7 Math 113 Name : 10 pts Intro to Applied Stats Materials Needed: Bags of popcorn, watch with second hand or microwave with digital timer. Instructions: Follow the instructions on the

More information

9.5 t test: one μ, σ unknown

9.5 t test: one μ, σ unknown GOALS: 1. Recognize the assumptions for a 1 mean t test (srs, nd or large sample size, population stdev. NOT known). 2. Understand that the actual p value (area in the tail past the test statistic) is

More information

Data Mining. Chapter 5. Credibility: Evaluating What s Been Learned

Data Mining. Chapter 5. Credibility: Evaluating What s Been Learned Data Mining Chapter 5. Credibility: Evaluating What s Been Learned 1 Evaluating how different methods work Evaluation Large training set: no problem Quality data is scarce. Oil slicks: a skilled & labor-intensive

More information

Stat 529 (Winter 2011) Experimental Design for the Two-Sample Problem. Motivation: Designing a new silver coins experiment

Stat 529 (Winter 2011) Experimental Design for the Two-Sample Problem. Motivation: Designing a new silver coins experiment Stat 529 (Winter 2011) Experimental Design for the Two-Sample Problem Reading: 2.4 2.6. Motivation: Designing a new silver coins experiment Sample size calculations Margin of error for the pooled two sample

More information

Chapter 24. Comparing Means. Copyright 2010 Pearson Education, Inc.

Chapter 24. Comparing Means. Copyright 2010 Pearson Education, Inc. Chapter 24 Comparing Means Copyright 2010 Pearson Education, Inc. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side. For example:

More information

Chapter 3. Comparing two populations

Chapter 3. Comparing two populations Chapter 3. Comparing two populations Contents Hypothesis for the difference between two population means: matched pairs Hypothesis for the difference between two population means: independent samples Two

More information

Ch 8: Inference for two samples

Ch 8: Inference for two samples Summer 2017 UAkron Dept. of Stats [3470 : 461/561] Applied Statistics Ch 8: Inference for two samples Contents 1 Preliminaries 2 1.1 Prelim: Two Normals.............................................................

More information

Quantitative Analysis and Empirical Methods

Quantitative Analysis and Empirical Methods Hypothesis testing Sciences Po, Paris, CEE / LIEPP Introduction Hypotheses Procedure of hypothesis testing Two-tailed and one-tailed tests Statistical tests with categorical variables A hypothesis A testable

More information

Inference for Distributions Inference for the Mean of a Population

Inference for Distributions Inference for the Mean of a Population Inference for Distributions Inference for the Mean of a Population PBS Chapter 7.1 009 W.H Freeman and Company Objectives (PBS Chapter 7.1) Inference for the mean of a population The t distributions The

More information

Chapter 5: HYPOTHESIS TESTING

Chapter 5: HYPOTHESIS TESTING MATH411: Applied Statistics Dr. YU, Chi Wai Chapter 5: HYPOTHESIS TESTING 1 WHAT IS HYPOTHESIS TESTING? As its name indicates, it is about a test of hypothesis. To be more precise, we would first translate

More information

Design of Engineering Experiments Part 2 Basic Statistical Concepts Simple comparative experiments

Design of Engineering Experiments Part 2 Basic Statistical Concepts Simple comparative experiments Design of Engineering Experiments Part 2 Basic Statistical Concepts Simple comparative experiments The hypothesis testing framework The two-sample t-test Checking assumptions, validity Comparing more that

More information

1 Statistical inference for a population mean

1 Statistical inference for a population mean 1 Statistical inference for a population mean 1. Inference for a large sample, known variance Suppose X 1,..., X n represents a large random sample of data from a population with unknown mean µ and known

More information

Chapter 22. Comparing Two Proportions 1 /29

Chapter 22. Comparing Two Proportions 1 /29 Chapter 22 Comparing Two Proportions 1 /29 Homework p519 2, 4, 12, 13, 15, 17, 18, 19, 24 2 /29 Objective Students test null and alternate hypothesis about two population proportions. 3 /29 Comparing Two

More information

Sleep data, two drugs Ch13.xls

Sleep data, two drugs Ch13.xls Model Based Statistics in Biology. Part IV. The General Linear Mixed Model.. Chapter 13.3 Fixed*Random Effects (Paired t-test) ReCap. Part I (Chapters 1,2,3,4), Part II (Ch 5, 6, 7) ReCap Part III (Ch

More information

Lecture 9 Two-Sample Test. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech

Lecture 9 Two-Sample Test. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech Lecture 9 Two-Sample Test Fall 2013 Prof. Yao Xie, yao.xie@isye.gatech.edu H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech Computer exam 1 18 Histogram 14 Frequency 9 5 0 75 83.33333333

More information

Psych 10 / Stats 60, Practice Problem Set 5 (Week 5 Material) Part 1: Power (and building blocks of power)

Psych 10 / Stats 60, Practice Problem Set 5 (Week 5 Material) Part 1: Power (and building blocks of power) Psych 10 / Stats 60, Practice Problem Set 5 (Week 5 Material) Part 1: Power (and building blocks of power) 1. A researcher plans to do a two-tailed hypothesis test with a sample of n = 100 people and a

More information

Solution: First note that the power function of the test is given as follows,

Solution: First note that the power function of the test is given as follows, Problem 4.5.8: Assume the life of a tire given by X is distributed N(θ, 5000 ) Past experience indicates that θ = 30000. The manufacturere claims the tires made by a new process have mean θ > 30000. Is

More information

Contingency Tables. Safety equipment in use Fatal Non-fatal Total. None 1, , ,128 Seat belt , ,878

Contingency Tables. Safety equipment in use Fatal Non-fatal Total. None 1, , ,128 Seat belt , ,878 Contingency Tables I. Definition & Examples. A) Contingency tables are tables where we are looking at two (or more - but we won t cover three or more way tables, it s way too complicated) factors, each

More information

CHAPTER 9, 10. Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities:

CHAPTER 9, 10. Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities: CHAPTER 9, 10 Hypothesis Testing Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities: The person is guilty. The person is innocent. To

More information

An Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01

An Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01 An Analysis of College Algebra Exam s December, 000 James D Jones Math - Section 0 An Analysis of College Algebra Exam s Introduction Students often complain about a test being too difficult. Are there

More information

Chapter 9. Hypothesis testing. 9.1 Introduction

Chapter 9. Hypothesis testing. 9.1 Introduction Chapter 9 Hypothesis testing 9.1 Introduction Confidence intervals are one of the two most common types of statistical inference. Use them when our goal is to estimate a population parameter. The second

More information

9-6. Testing the difference between proportions /20

9-6. Testing the difference between proportions /20 9-6 Testing the difference between proportions 1 Homework Discussion Question p514 Ex 9-6 p514 2, 3, 4, 7, 9, 11 (use both the critical value and p-value for all problems. 2 Objective Perform hypothesis

More information

CHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains:

CHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains: CHAPTER 8 Test of Hypotheses Based on a Single Sample Hypothesis testing is the method that decide which of two contradictory claims about the parameter is correct. Here the parameters of interest are

More information

a Sample By:Dr.Hoseyn Falahzadeh 1

a Sample By:Dr.Hoseyn Falahzadeh 1 In the name of God Determining ee the esize eof a Sample By:Dr.Hoseyn Falahzadeh 1 Sample Accuracy Sample accuracy: refers to how close a random sample s statistic is to the true population s value it

More information

Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users

Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users BIOSTATS 640 Spring 2017 Review of Introductory Biostatistics STATA solutions Page 1 of 16 Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users #1. The following table lists length of

More information

Review of probability and statistics 1 / 31

Review of probability and statistics 1 / 31 Review of probability and statistics 1 / 31 2 / 31 Why? This chapter follows Stock and Watson (all graphs are from Stock and Watson). You may as well refer to the appendix in Wooldridge or any other introduction

More information

Lab #12: Exam 3 Review Key

Lab #12: Exam 3 Review Key Psychological Statistics Practice Lab#1 Dr. M. Plonsky Page 1 of 7 Lab #1: Exam 3 Review Key 1) a. Probability - Refers to the likelihood that an event will occur. Ranges from 0 to 1. b. Sampling Distribution

More information

Study Ch. 10.3, 67 70all, (no CI), 81, 83

Study Ch. 10.3, 67 70all, (no CI), 81, 83 GOALS: 1. Compare 2 sample means when the population standard deviations are not equal. 2. Use the distribution of the difference between the means to evaluate the samples. 3. Arrive at a conclusion: are

More information

STAT 135 Lab 6 Duality of Hypothesis Testing and Confidence Intervals, GLRT, Pearson χ 2 Tests and Q-Q plots. March 8, 2015

STAT 135 Lab 6 Duality of Hypothesis Testing and Confidence Intervals, GLRT, Pearson χ 2 Tests and Q-Q plots. March 8, 2015 STAT 135 Lab 6 Duality of Hypothesis Testing and Confidence Intervals, GLRT, Pearson χ 2 Tests and Q-Q plots March 8, 2015 The duality between CI and hypothesis testing The duality between CI and hypothesis

More information

i=1 X i/n i=1 (X i X) 2 /(n 1). Find the constant c so that the statistic c(x X n+1 )/S has a t-distribution. If n = 8, determine k such that

i=1 X i/n i=1 (X i X) 2 /(n 1). Find the constant c so that the statistic c(x X n+1 )/S has a t-distribution. If n = 8, determine k such that Math 47 Homework Assignment 4 Problem 411 Let X 1, X,, X n, X n+1 be a random sample of size n + 1, n > 1, from a distribution that is N(µ, σ ) Let X = n i=1 X i/n and S = n i=1 (X i X) /(n 1) Find the

More information

Chapter 22. Comparing Two Proportions 1 /30

Chapter 22. Comparing Two Proportions 1 /30 Chapter 22 Comparing Two Proportions 1 /30 Homework p519 2, 4, 12, 13, 15, 17, 18, 19, 24 2 /30 3 /30 Objective Students test null and alternate hypothesis about two population proportions. 4 /30 Comparing

More information

POLI 443 Applied Political Research

POLI 443 Applied Political Research POLI 443 Applied Political Research Session 4 Tests of Hypotheses The Normal Curve Lecturer: Prof. A. Essuman-Johnson, Dept. of Political Science Contact Information: aessuman-johnson@ug.edu.gh College

More information

Practice Questions: Statistics W1111, Fall Solutions

Practice Questions: Statistics W1111, Fall Solutions Practice Questions: Statistics W, Fall 9 Solutions Question.. The standard deviation of Z is 89... P(=6) =..3. is definitely inside of a 95% confidence interval for..4. (a) YES (b) YES (c) NO (d) NO Questions

More information

Mock Exam - 2 hours - use of basic (non-programmable) calculator is allowed - all exercises carry the same marks - exam is strictly individual

Mock Exam - 2 hours - use of basic (non-programmable) calculator is allowed - all exercises carry the same marks - exam is strictly individual Mock Exam - 2 hours - use of basic (non-programmable) calculator is allowed - all exercises carry the same marks - exam is strictly individual Question 1. Suppose you want to estimate the percentage of

More information

4.1 Hypothesis Testing

4.1 Hypothesis Testing 4.1 Hypothesis Testing z-test for a single value double-sided and single-sided z-test for one average z-test for two averages double-sided and single-sided t-test for one average the F-parameter and F-table

More information