Comparison of 2 Population Means Goal: To compare 2 populations/treatments wrt a numeric outcome Sampling Design: Independent Samples (Parallel Groups)

Slides:



Advertisements
Similar presentations
Prepared by Lloyd R. Jaisingh
Advertisements

Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample data Elements of a hypothesis test: Null hypothesis.
Hypothesis Tests: Two Independent Samples
Chapter 4 Inference About Process Quality
1 Chapter 20: Statistical Tests for Ordinal Data.
Hypothesis Testing. To define a statistical Test we 1.Choose a statistic (called the test statistic) 2.Divide the range of possible values for the test.
1-Way Analysis of Variance
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Hypothesis Testing Steps in Hypothesis Testing:
Confidence Interval and Hypothesis Testing for:
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
PSY 307 – Statistics for the Behavioral Sciences
Chapter 12 Chi-Square Tests and Nonparametric Tests
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Inferences About Process Quality
Basic Business Statistics (9th Edition)
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
5-3 Inference on the Means of Two Populations, Variances Unknown
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Chapter 7 Inferences Regarding Population Variances.
Chapter 15 Nonparametric Statistics
AM Recitation 2/10/11.
Experimental Statistics - week 2
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Ch 10 Comparing Two Proportions Target Goal: I can determine the significance of a two sample proportion. 10.1b h.w: pg 623: 15, 17, 21, 23.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.2 Estimating Differences.
Statistics Primer ORC Staff: Xin Xin (Cindy) Ryan Glaman Brett Kellerstedt 1.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Comparing Two Population Means
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
Section Inference for Experiments Objectives: 1.To understand how randomization differs in surveys and experiments when comparing two populations.
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
The Practice of Statistics Third Edition Chapter 13: Comparing Two Population Parameters Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.4 Analyzing Dependent Samples.
1 Nonparametric Statistical Techniques Chapter 17.
Nonparametric Statistics
© Copyright McGraw-Hill 2000
Previous Lecture: Phylogenetics. Analysis of Variance This Lecture Judy Zhong Ph.D.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
Ch11: Comparing 2 Samples 11.1: INTRO: This chapter deals with analyzing continuous measurements. Later, some experimental design ideas will be introduced.
Comparison of 2 Population Means Goal: To compare 2 populations/treatments wrt a numeric outcome Sampling Design: Independent Samples (Parallel Groups)
© Copyright McGraw-Hill 2004
Comparing k > 2 Groups - Numeric Responses Extension of Methods used to Compare 2 Groups Parallel Groups and Crossover Designs Normal and non-normal data.
ENGR 610 Applied Statistics Fall Week 7 Marshall University CITE Jack Smith.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Chapters Way Analysis of Variance - Completely Randomized Design.
Comparing I > 2 Groups - Numeric Responses Extension of Methods used to Compare 2 Groups Independent and Dependent Samples Normal and non-normal data structures.
Chapter 7 Inference Concerning Populations (Numeric Responses)
1 Nonparametric Statistical Techniques Chapter 18.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
Two-Sample Hypothesis Testing
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
CHAPTER 10 Comparing Two Populations or Groups
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
Comparing 2 Groups Most Research is Interested in Comparing 2 (or more) Groups (Populations, Treatments, Conditions) Longitudinal: Same subjects at different.
1-Way Analysis of Variance - Completely Randomized Design
Statistical Inference about Regression
Linear Regression and Correlation
Hypothesis Testing: The Difference Between Two Population Means
Linear Regression and Correlation
1-Way Analysis of Variance - Completely Randomized Design
Presentation transcript:

Comparison of 2 Population Means Goal: To compare 2 populations/treatments wrt a numeric outcome Sampling Design: Independent Samples (Parallel Groups) vs Paired Samples (Crossover Design) Data Structure: Normal vs Non-normal Sample Sizes: Large (n 1,n 2 >20) vs Small

Independent Samples Units in the two samples are different Sample sizes may or may not be equal Large-sample inference based on Normal Distribution (Central Limit Theorem) Small-sample inference depends on distribution of individual outcomes (Normal vs non-Normal)

Parameters/Estimates (Independent Samples) Parameter: Estimator: Estimated standard error: Shape of sampling distribution: –Normal if data are normal –Approximately normal if n 1,n 2 >20 –Non-normal otherwise (typically)

Large-Sample Test of     Null hypothesis: The population means differ by  0 (which is typically 0): Alternative Hypotheses: –1-Sided: –2-Sided: Test Statistic:

Large-Sample Test of     Decision Rule: –1-sided alternative If z obs  z  ==> Conclude       If z obs Do not reject       –2-sided alternative If z obs  z  ==> Conclude       If z obs  -z  ==> Conclude       If -z  Do not reject      

Large-Sample Test of     Observed Significance Level (P-Value) –1-sided alternative P=P(z  z obs ) (From the std. Normal distribution) –2-sided alternative P=2P( z  |z obs | ) (From the std. Normal distribution) If P-Value   then reject the null hypothesis

Large-Sample (1-  100% Confidence Interval for     Confidence Coefficient (1-  ) refers to the proportion of times this rule would provide an interval that contains the true parameter value     if it were applied over all possible samples Rule:

Large-Sample (1-  100% Confidence Interval for     For 95% Confidence Intervals, z.025 =1.96 Confidence Intervals and 2-sided tests give identical conclusions at same  -level: –If entire interval is above  0, conclude       –If entire interval is below  0, conclude       –If interval contains  0, do not reject     ≠  

Example: Vitamin C for Common Cold Outcome: Number of Colds During Study Period for Each Student Group 1: Given Placebo Group 2: Given Ascorbic Acid (Vitamin C) Source: Pauling (1971)

2-Sided Test to Compare Groups H 0 :  1  2  No difference in trt effects) H A :  1  2 ≠  Difference in trt effects) Test Statistic: Decision Rule (  =0.05) –Conclude      > 0 since z obs = 25.3 > z.025 = 1.96

95% Confidence Interval for     Point Estimate: Estimated Std. Error: Critical Value: z.025 = % CI: 0.30 ± 1.96(0.0119)  0.30 ±  (0.277, 0.323) Entire interval > 0

Small-Sample Test for     Normal Populations Case 1: Common Variances (  1 2 =  2 2 =  2 ) Null Hypothesis : Alternative Hypotheses : –1-Sided: –2-Sided : Test Statistic: (where S p 2 is a “pooled” estimate of  2 )

Small-Sample Test for     Normal Populations Decision Rule: (Based on t-distribution with =n 1 +n 2 -2 df) –1-sided alternative If t obs  t , ==> Conclude       If t obs Do not reject       –2-sided alternative If t obs  t , ==> Conclude       If t obs  -t  ==> Conclude       If -t  Do not reject      

Small-Sample Test for     Normal Populations Observed Significance Level (P-Value) Special Tables Needed, Printed by Statistical Software Packages –1-sided alternative P=P(t  t obs ) (From the t distribution) –2-sided alternative P=2P( t  |t obs | ) (From the t distribution) If P-Value   then reject the null hypothesis

Small-Sample (1-  100% Confidence Interval for      Normal Populations Confidence Coefficient (1-  ) refers to the proportion of times this rule would provide an interval that contains the true parameter value     if it were applied over all possible samples Rule: Interpretations same as for large-sample CI’s

Small-Sample Inference for     Normal Populations Case 2:  1 2   2 2 Don’t pool variances: Use “adjusted” degrees of freedom (Satterthwaites’ Approximation) :

Example - Scalp Wound Closure Groups: Stapling (n 1 =15) / Suturing (n 2 =16) Outcome: Physician Reported VAS Score at 1-Year Conduct a 2-sided test of whether mean scores differ Construct a 95% Confidence Interval for true difference Source: Khan, et al (2002)

Example - Scalp Wound Closure H 0 :      H A :      0 (  = 0.05) No significant difference between 2 methods

Small Sample Test to Compare Two Medians - Nonnormal Populations Two Independent Samples (Parallel Groups) Procedure (Wilcoxon Rank-Sum Test): –Rank measurements across samples from smallest (1) to largest (n 1 +n 2 ). Ties take average ranks. –Obtain the rank sum for each group (T 1, T 2 ) –1-sided tests:Conclude H A : M 1 > M 2 if T 2  T 0 –2-sided tests:Conclude H A : M 1  M 2 if min(T 1, T 2 )  T 0 –Values of T 0 are given in many texts for various sample sizes and significance levels. P-values printed by statistical software packages.

Example - Levocabostine in Renal Patients 2 Groups: Non-Dialysis/Hemodialysis (n 1 = n 2 = 6) Outcome: Levocabastine AUC (1 Outlier/Group) 2-sided Test: Conclude Medians differ if min(T 1,T 2 )  26 Source: Zagornik, et al (1993)

Computer Output - SPSS

Inference Based on Paired Samples (Crossover Designs) Setting: Each treatment is applied to each subject or pair (preferably in random order) Data: d i is the difference in scores (Trt 1 -Trt 2 ) for subject (pair) i Parameter:  D - Population mean difference Sample Statistics:

Test Concerning  D Null Hypothesis : H 0 :  D =  0 (almost always 0) Alternative Hypotheses : –1-Sided: H A :  D >  0 –2-Sided : H A :  D   0 Test Statistic:

Test Concerning  D Decision Rule: (Based on t-distribution with =n-1 df) 1-sided alternative If t obs  t , ==> Conclude  D    If t obs Do not reject  D    2-sided alternative If t obs  t , ==> Conclude  D    If t obs  -t  ==> Conclude  D    If -t  Do not reject  D    Confidence Interval for  D

Example - Evaluation of Transdermal Contraceptive Patch In Adolescents Subjects: Adolescent Females on O.C. who then received Ortho Evra Patch Response: 5-point scores on ease of use for each type of contraception (1=Strongly Agree) Data: d i = difference (O.C.-EVRA) for subject i Summary Statistics: Source: Rubinstein, et al (2004)

Example - Evaluation of Transdermal Contraceptive Patch In Adolescents 2-sided test for differences in ease of use (  =0.05) H 0 :  D = 0 H A :  D  0 Conclude Mean Scores are higher for O.C., girls find the Patch easier to use (low scores are better)

Small-Sample Test For Nonnormal Data Paired Samples (Crossover Design) Procedure (Wilcoxon Signed-Rank Test) –Compute Differences d i (as in the paired t-test) and obtain their absolute values (ignoring 0 s ) –Rank the observations by |d i | (smallest=1), averaging ranks for ties –Compute T + and T -, the rank sums for the positive and negative differences, respectively –1-sided tests:Conclude H A : M 1 > M 2 if T -  T 0 –2-sided tests:Conclude H A : M 1  M 2 if min(T +, T - )  T 0 –Values of T 0 are given in many texts for various sample sizes and significance levels. P-values printed by statistical software packages.

Example - New MRI for 3D Coronary Angiography Previous vs new Magnetization Prep Schemes (n=7) Response: Blood/Myocardium Contrast-Noise-Ratio All Differences are negative, T - = 1+2+…+7 = 28, T + = 0 From tables for 2-sided tests, n=7,  =0.05, T 0 =2 Since min(0,28)  2, Conclude the scheme means differ Source: Nguyen, et al (2004)

Computer Output - SPSS Note that SPSS is taking NEW-PREVIOUS in top table