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

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

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

Comparing Means from Two-Sample

Chapter 9 Inferences from Two Samples

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

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

The Chi-Square Distributions

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

Objectives Simple linear regression. Statistical model for linear regression. Estimating the regression parameters

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

The Chi-Square Distributions

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

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

Inference About Two Means: Independent Samples

Chapter 23: Inferences About Means

Introduction to Business Statistics QM 220 Chapter 12

Two-Sample Inferential Statistics

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

9.5 t test: one μ, σ unknown

POLI 443 Applied Political Research

Sampling Distributions: Central Limit Theorem

Exam 2 (KEY) July 20, 2009

Question. Hypothesis testing. Example. Answer: hypothesis. Test: true or not? Question. Average is not the mean! μ average. Random deviation or not?

The One-Way Repeated-Measures ANOVA. (For Within-Subjects Designs)

Statistical Methods in Natural Resources Management ESRM 304

We need to define some concepts that are used in experiments.

Chapter 12 - Lecture 2 Inferences about regression coefficient

STAT Chapter 8: Hypothesis Tests

The t-statistic. Student s t Test

EC2001 Econometrics 1 Dr. Jose Olmo Room D309

Review of Statistics 101

Hypothesis Testing. Week 04. Presented by : W. Rofianto

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

+ Specify 1 tail / 2 tail

Midterm 1 and 2 results

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

Statistical inference provides methods for drawing conclusions about a population from sample data.

Statistics for IT Managers

Single Sample Means. SOCY601 Alan Neustadtl

Lecture 10: Comparing two populations: proportions

Inference for Proportions, Variance and Standard Deviation

Hypothesis Testing hypothesis testing approach formulation of the test statistic

Ch Inference for Linear Regression

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing

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

Statistics for Managers Using Microsoft Excel

Lecture 28 Chi-Square Analysis

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

Descriptive Statistics

16.400/453J Human Factors Engineering. Design of Experiments II

Review 6. n 1 = 85 n 2 = 75 x 1 = x 2 = s 1 = 38.7 s 2 = 39.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.

10.4 Hypothesis Testing: Two Independent Samples Proportion

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

Hypothesis testing: Steps

Difference between means - t-test /25

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

Ch. 7: Estimates and Sample Sizes

Inferences for Regression

Chapter 5: HYPOTHESIS TESTING

Lecture 3: Inference in SLR

EXAM 3 Math 1342 Elementary Statistics 6-7

Inferences about central values (.)

Section 9.5. Testing the Difference Between Two Variances. Bluman, Chapter 9 1

Inference for Regression

HYPOTHESIS TESTING. Hypothesis Testing

Hypothesis testing: Steps

OHSU OGI Class ECE-580-DOE :Design of Experiments Steve Brainerd

A3. Statistical Inference

5 Basic Steps in Any Hypothesis Test

D. A 90% confidence interval for the ratio of two variances is (.023,1.99). Based on the confidence interval you will fail to reject H 0 =!

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

4.1 Hypothesis Testing

Keppel, G. & Wickens, T.D. Design and Analysis Chapter 2: Sources of Variability and Sums of Squares

ST430 Exam 1 with Answers

STAT 135 Lab 5 Bootstrapping and Hypothesis Testing

CHAPTER 7. Hypothesis Testing

ME3620. Theory of Engineering Experimentation. Spring Chapter IV. Decision Making for a Single Sample. Chapter IV

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

Chapter 7 Comparison of two independent samples

Hypothesis Tests and Estimation for Population Variances. Copyright 2014 Pearson Education, Inc.

ECO220Y Simple Regression: Testing the Slope

Topic 10 - Linear Regression

The Difference in Proportions Test

Levene's Test of Equality of Error Variances a

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

Advanced Experimental Design

The Student s t Distribution

Slides for Data Mining by I. H. Witten and E. Frank

SCHOOL OF MATHEMATICS AND STATISTICS

Ch. 11 Inference for Distributions of Categorical Data

One-Way ANOVA Source Table J - 1 SS B / J - 1 MS B /MS W. Pairwise Post-Hoc Comparisons of Means

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

Lab #12: Exam 3 Review Key

POLI 443 Applied Political Research

Stat 231 Exam 2 Fall 2013

10/4/2013. Hypothesis Testing & z-test. Hypothesis Testing. Hypothesis Testing

Psych 230. Psychological Measurement and Statistics

Chapter Eight: Assessment of Relationships 1/42

Soc3811 Second Midterm Exam

Transcription:

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 use the t-distribution Definition Two samples are dependent if there is some relationship between the two samples so that each value in one sample is paired with a corresponding value in the other sample. Two samples can be treated as the matched pairs of values. 1 Examples Blood pressure of patients before they are given medicine and after they take it. Predicted temperature (by Weather Forecast) and the actual temperature. Heights of selected people in the morning and their heights by night time. Test scores of selected students in Calculus-I and their scores in Calculus-II. 1 First sample: weights of students in April Second sample: their weights in September These weights make matched pairs Third line: differences between April weights and September weights (net change in weight for each student, separately) In our calculations we only use differences (d), not the values in the two samples. 3 4 d μ d n d s d Notation Individual difference between two matched paired values Population mean for the difference of the two values. Number of paired values in sample Mean value of the differences in sample Standard deviation of differences in sample Requirements (1) The sample data are dependent (i.e. they make matched pairs) () Either or both the following holds: The number of matched pairs is large (n>30) or The differences have a normal distribution All requirements must be satisfied to make a Hypothesis Test or to find a Confidence Interval 6

Tests for Two Dependent Means Goal: Compare the mean of the differences H 0 : μ d = 0 H 1 : μ d 0 Two tailed H 0 : μ d = 0 H 1 : μ d < 0 Left tailed H 0 : μ d = 0 H 1 : μ d > 0 Right tailed Finding the Test Statistic t = d µ d s d n Note: m d = 0 according to H 0 degrees of freedom: df = n 1 7 8 Test Statistic Degrees of freedom df = n 1 Steps for Performing a Hypothesis Test on Two Independent Means Write what we know State H 0 and H 1 Draw a diagram Calculate the Find the Test Statistic Find the Critical Value(s) State the Initial Conclusion and Final Conclusion Note: Hypothesis Tests are done in same way as in Ch.8-9 Note: Same process as in Chapter 8 10 Assume the differences in weight form a normal distribution. Use a 0.0 significance level to test the claim that for the population of students, the mean change in weight from September to April is 0 kg (i.e. on average, there is no change) H 0 : µ d = 0 H 1 : µ d 0 Test Statistic n = d = 0. s d =.387 d Data: -1-1 4-1 Use StatCrunch: Stat Summary Stats Columns -t α/ = -.78 Critical Value t α/ = t 0.0 =.78 (Using StatCrunch, df = 4) t = 0.186 t-dist. df = 4 t α/ =.78 Claim: μ d = 0 using α = 0.0 11 Initial Conclusion: Since t is not in the critical region, accept H 0 Final Conclusion: We accept the claim that mean change in weight from September to April is 0 kg. 1

d Data: -1-1 4-1 H 0 : µ d = 0 H 1 : µ d 0 n = d = 0. s d =.387 Use StatCrunch: Stat Summary Stats Columns Stat T statistics One sample With summary Sample mean: Sample std. dev.: Sample size: 0..387 Hypothesis Test Null: proportion= Alternative P-value = 0.860 0 Confidence Interval Estimate We can observe how the two proportions relate by looking at the Confidence Interval Estimate of μ 1 μ CI = ( d E, d + E ) Initial Conclusion: Since P-value is greater than α (0.0), accept H 0 Final Conclusion: We accept the claim that mean change in weight from September to April is 0 kg. 13 14 Example Find the 9% Confidence Interval Estimate of μ d from the data in n = d = 0. s d =.387 t α/ = t 0.0 =.78 (Using StatCrunch, df = 4) 3 Example Find the 9% Confidence Interval Estimate of μ d from the data in n = d = 0. s d =.387 Stat T statistics One sample With summary Sample mean: Sample std. dev.: Sample size: 0..387 Confidence Interval Level: 0.9 CI = (-.8, 3.) CI = (-.8, 3.) 1 16 Section 9. Comparing Variation in Two Samples Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use the F-distribution 17 18

Requirements (1) The two populations are independent () The two samples are random samples (3) The two populations are normally distributed (Very strict!) Important The first sample must have a larger sample standard deviation s 1 than the second sample. i.e. we must have s 1 s All requirements must be satisfied to make a Hypothesis Test or to find a Confidence Interval If this is not so, i.e. if s 1 < s, then we will need to switch the indices 1 and 19 0 Notation Tests for Two Proportions σ 1 s 1 First population standard deviation First sample standard deviation The goal is to compare the two population variances (or standard deviations) n 1 σ First sample size Second population standard deviation 4 H 0 : σ 1 = σ H 1 : σ 1 σ H 0 : σ 1 = σ H 1 : σ 1 > σ s Second sample standard deviation Two tailed Right tailed n Second sample size Note: Use index 1 on sample/population with the larger sample standard deviation (s) 1 Note: We do not consider σ 1 < σ (since we used indexes 1 and such that s 1 is larger) Note: We only test the relation between σ 1 and σ (not the actual numerical values) The F-Distribution The F-Distribution Similar to the χ -dist. Not symmetric df 1 = n 1 1 df = n 1 Non-negative values (F 0) Depends on two degrees of freedom df 1 = n 1 1 (Numerator df ) df = n 1 (Denominator df ) On StatCrunch: Stat Calculators F 3 4

Test Statistic for Hypothesis Tests with Two Variances s 1 F = s Use of the F Distribution If the two populations have equal variances, then F = s 1 /s will be close to 1 (Since s 1 and s will be close in value) Where s 1 is the first (larger) of the two sample variances Because of this, we will always have F 1 If the two populations have different variances, then F = s 1 /s will be greater than 1 (Since s 1 will be larger than s ) 6 Conclusions from the F-Distribution Values of F close to 1 are evidence in favor of the claim that the two variances are equal. Large values of F, are evidence against this claim (i.e. it suggest there is some difference between the two) Steps for Performing a Hypothesis Test on Two Independent Means Write what we know Index the variables such that s 1 s (important!) State H 0 and H 1 Draw a diagram Find the Test Statistic Find the two degrees of freedom Find the Critical Value(s) State the Initial Conclusion and Final Conclusion 7 8 Below are sample weights (in g) of quarters made before 1964 and weights of quarters made after 1964. When designing coin vending machines, we must consider the standard deviations of pre-1964 quarters and post-1964 quarters. Use a 0.0 significance level to test the claim that the weights of pre-1964 quarters and the weights of post-1964 quarters are from populations with the same standard deviation. H 0 : σ 1 = σ H 1 : σ 1 σ Test Statistic Critical Value Using StatCrunch: Stat Calculators F F α/ = F 0.0 = 1.891 Degrees of Freedom df 1 = n 1 1 = 39 df = n 1 = 39 n 1 = 40 n = 40 α = 0.0 s 1 = 0.08700 s = 0.06194 (Note: s 1 s ) F α/ = 1.891 F = 1.973 F is in the critical region Claim: σ 1 = σ using α = 0.0 9 Initial Conclusion: Since F is in the critical region, reject H 0 Final Conclusion: We reject the claim that the weights of the pre-1964 and post-1964 quarters have the same standard deviation 30

H 0 : σ 1 = σ H 1 : σ 1 σ n 1 = 40 n = 40 α = 0.0 s 1 = 0.08700 s = 0.06194 (Note: s 1 s ) s 1 = 0.00769 s = 0.003837 Stat Variance Two sample With summary Sample 1: Variance: 0.00769 Hypothesis Test Size: 40 Null: variance ratio= Sample : Variance: 0.003837 Alternative Size: 40 1 P-value = 0.0368 Initial Conclusion: Since P-value is less than α (0.0), reject H 0 Final Conclusion: We reject the claim that the weights of the pre-1964 and post-1964 quarters have the same standard deviation 31 6