SADC Course in Statistics Comparing Means from Independent Samples (Session 12)

Slides:



Advertisements
Similar presentations
1 Session 8 Tests of Hypotheses. 2 By the end of this session, you will be able to set up, conduct and interpret results from a test of hypothesis concerning.
Advertisements

SADC Course in Statistics Comparing two proportions (Session 14)
SADC Course in Statistics Revision using CAST (Session 04)
SADC Course in Statistics (Session 09)
Chapter 10 Estimation and Hypothesis Testing II: Independent and Paired Sample T-Test.
Hypothesis Testing Steps in Hypothesis Testing:
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 21, Slide 1 Chapter 21 Comparing Two Proportions.
Review of the Basic Logic of NHST Significance tests are used to accept or reject the null hypothesis. This is done by studying the sampling distribution.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Significance Tests Chapter 13.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Part IVA Analysis of Variance (ANOVA) Dr. Stephen H. Russell Weber State University.
PSY 307 – Statistics for the Behavioral Sciences
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
12.5 Differences between Means (s’s known)
MARE 250 Dr. Jason Turner Hypothesis Testing II. To ASSUME is to make an… Four assumptions for t-test hypothesis testing:
EEM332 Design of Experiments En. Mohd Nazri Mahmud
Business Statistics - QBM117 Interval estimation for the slope and y-intercept Hypothesis tests for regression.
Two Population Means Hypothesis Testing and Confidence Intervals With Unknown Standard Deviations.
Chapter 11 Hypothesis Tests and Estimation for Population Variances
Chapter 9 Hypothesis Testing.
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing Using The One-Sample t-Test
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
ISE 352: Design of Experiments
Lecture 14 Testing a Hypothesis about Two Independent Means.
1 1 Slide © 2005 Thomson/South-Western Chapter 13, Part A Analysis of Variance and Experimental Design n Introduction to Analysis of Variance n Analysis.
More About Significance Tests
Dependent Samples: Hypothesis Test For Hypothesis tests for dependent samples, we 1.list the pairs of data in 2 columns (or rows), 2.take the difference.
Comparing Two Population Means
Comparing Two Proportions
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
Chapter 10 Comparing Two Means Target Goal: I can use two-sample t procedures to compare two means. 10.2a h.w: pg. 626: 29 – 32, pg. 652: 35, 37, 57.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Basic Statistics Inferences About Two Population Means.
January 31 and February 3,  Some formulae are presented in this lecture to provide the general mathematical background to the topic or to demonstrate.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
Hypothesis Testing Hypothesis Testing Topic 11. Hypothesis Testing Another way of looking at statistical inference in which we want to ask a question.
1 10 Statistical Inference for Two Samples 10-1 Inference on the Difference in Means of Two Normal Distributions, Variances Known Hypothesis tests.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
One-way ANOVA: - Comparing the means IPS chapter 12.2 © 2006 W.H. Freeman and Company.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.1 One-Way ANOVA: Comparing.
Foundations of Sociological Inquiry Statistical Analysis.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Fall 2002Biostat Statistical Inference - Proportions One sample Confidence intervals Hypothesis tests Two Sample Confidence intervals Hypothesis.
Chapter 10 The t Test for Two Independent Samples
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Business Statistics: A First Course (3rd Edition)
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
P-values and statistical inference Dr. Omar Aljadaan.
Chapter 1 Introduction to Statistics. Section 1.1 Fundamental Statistical Concepts.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Difference Between Two Means.
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.
Formula for Linear Regression y = bx + a Y variable plotted on vertical axis. X variable plotted on horizontal axis. Slope or the change in y for every.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Statistical Inferences for Variance Objectives: Learn to compare variance of a sample with variance of a population Learn to compare variance of a sample.
Objectives (PSLS Chapter 18) Comparing two means (σ unknown)  Two-sample situations  t-distribution for two independent samples  Two-sample t test 
Chapter 10: The t Test For Two Independent Samples.
Chapter 9 Introduction to the t Statistic
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
Statistical Process Control
Chapter 12: Comparing Independent Means
Presentation transcript:

SADC Course in Statistics Comparing Means from Independent Samples (Session 12)

To put your footer here go to View > Header and Footer 2 Learning Objectives By the end of this session, you will be able to explain how means from two populations may be compared describe the assumptions associated with the independent samples t-test interpret computer output from a two-sample t-test present and write up conclusions resulting from such tests explain the difference between statistical significance and an important result

To put your footer here go to View > Header and Footer 3 An example: Comparing 2 means AgricNon-agric As part of a health survey, cholesterol levels of men in a small rural area were measured, including those working in agriculture and those employed in non- agricultural work. Aim: To see if mean cholesterol levels were different between the two groups.

To put your footer here go to View > Header and Footer 4 Summary statistics Begin with summarising each column of data. AgricNon-agric Mean= Std. dev. = Variance = There appears to be a substantial difference between the two means. Our question of interest is: Is this difference showing a real effect, or could it merely be a chance occurrence?

To put your footer here go to View > Header and Footer 5 Setting up the hypotheses To answer the question, we set up: Null hypothesis H 0 : no difference between the two groups (in terms of mean response), i.e.  1 =  2 Alternative hypothesis H 1 : there is a difference, i.e.  1   2 The resulting test will be two-sided since the alternative is “not equal to”.

To put your footer here go to View > Header and Footer 6 Test for comparing means Use a two-sample (unpaired) t-test - appropriate with 2 independent samples Assumptions - normal distributions for each sample - constant variance (so test uses a pooled estimate of variance) - observations are independent Procedure - assess how large the difference in means is, relative to the noise in this difference, i.e. the std. error of the difference.

To put your footer here go to View > Header and Footer 7 Test Statistic where s 2, the pooled estimate of variance, is given by The test statistic is:

To put your footer here go to View > Header and Footer 8 Numerical Results The pooled estimate of variance, is : = Hence the t-statistic is: = 41.7/(2x1279.5/10) = 2.61, based on 18 d.f. Comparing with tables of t 18, this result is significant at the 2% level, so reject H 0. Note: The exact p-value = 0.018

To put your footer here go to View > Header and Footer 9 Presenting the results For comparisons, should report: - difference between means - s.e. of difference in means - 95% confidence interval for true diff. In addition, may report for each group: - mean - s.e. of each mean - sample size for each mean Conclusions will then follow…

To put your footer here go to View > Header and Footer 10 Results and conclusions Difference of means: 41.7 Standard error of difference: % confidence interval for difference in means: (8.09, 75.3). Conclusions: There is some evidence (p=0.018) that the mean cholesterol levels differ between those working in agriculture and others. The difference in means is 42 mg/dL with 95% confidence interval (8.1, 75.3).

To put your footer here go to View > Header and Footer 11 Significance ideas again! e.g. Farmers report that using a fungicide increased crop yields by 2.7 kg ha -1, s.e.m.=0.41 This gave a t-statistic of 6.6 (p-value<0.001) Recall that the p-value is the probability of rejecting the null hypothesis when it is true. i.e. it is the chance of error in your conclusion that there is an effect due to fungicide!

To put your footer here go to View > Header and Footer 12 How important are sig. tests? In relation to the example on the previous slide, we may find one of the following situations for different crops. Mean yields: with and without fungicide  Not an important finding!  Very important finding! It is likely that in the first of these results, either too much replication or the incorrect level of replication had been used (e.g. plant level variation, rather than plot level variation used to compare means).

To put your footer here go to View > Header and Footer 13 What does non-significance tell us e.g. There was insufficient evidence in the data to demonstrate that using a fungicide had any effect on plant yields (p=0.128). Mean yields: with and without fungicide This difference may be an important finding, but the statistical analysis was unable to pick up this difference as being statistically significant. HOW CAN THIS HAPPEN? Too small a sample size? High variability in the experimental material? One or two outliers? All sources of variability not identified?

To put your footer here go to View > Header and Footer 14 Significance – Key Points Statistical significance alone is not enough. Consider whether the result is also scientifically meaningful and important. When a significant result if found, report the finding in terms of the corresponding estimates, their standard errors and C.I.’s

To put your footer here go to View > Header and Footer 15 Some practical work follows…