Testing Differences in Means (t-tests) Dr. Richard Jackson © Mercer University 2005 All Rights Reserved.

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Chapter 10 Estimation and Hypothesis Testing II: Independent and Paired Sample T-Test.
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
S519 Statistical Sessions Wrap up. Things we’ve covered Descriptive Statistics Normal Distributions Z-test Hypothesis Testing T-test ANOVA Correlation.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.
Nonparametric tests and ANOVAs: What you need to know.
PSY 307 – Statistics for the Behavioral Sciences
© 2002 Prentice-Hall, Inc.Chap 8-1 Statistics for Managers using Microsoft Excel 3 rd Edition Chapter 8 Two Sample Tests with Numerical Data.
BCOR 1020 Business Statistics
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
Statistics 07 Nonparametric Hypothesis Testing. Parametric testing such as Z test, t test and F test is suitable for the test of range variables or ratio.
Analysis of Differential Expression T-test ANOVA Non-parametric methods Correlation Regression.
T-Tests Lecture: Nov. 6, 2002.
S519: Evaluation of Information Systems
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Chapter 11: Inference for Distributions
Basic Business Statistics (9th Edition)
© 2005 The McGraw-Hill Companies, Inc., All Rights Reserved. Chapter 13 Using Inferential Statistics.
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing.
Mann-Whitney and Wilcoxon Tests.
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
AM Recitation 2/10/11.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Statistical Analysis Statistical Analysis
Chapter Eleven McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. Two-Sample Tests of Hypothesis Pages &
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
The Hypothesis of Difference Chapter 10. Sampling Distribution of Differences Use a Sampling Distribution of Differences when we want to examine a hypothesis.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Hypothesis Testing CSCE 587.
Mid-Term Review Final Review Statistical for Business (1)(2)
Statistical Analysis Mean, Standard deviation, Standard deviation of the sample means, t-test.
A Repertoire of Hypothesis Tests  z-test – for use with normal distributions and large samples.  t-test – for use with small samples and when the pop.
Biostatistics, statistical software VII. Non-parametric tests: Wilcoxon’s signed rank test, Mann-Whitney U-test, Kruskal- Wallis test, Spearman’ rank correlation.
Ordinally Scale Variables
6/4/2016Slide 1 The one sample t-test compares two values for the population mean of a single variable. The two-sample t-test of population means (aka.
Introduction to Inferential Statistics Statistical analyses are initially divided into: Descriptive Statistics or Inferential Statistics. Descriptive Statistics.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
CHAPTERS HYPOTHESIS TESTING, AND DETERMINING AND INTERPRETING BETWEEN TWO VARIABLES.
Introducing Communication Research 2e © 2014 SAGE Publications Chapter Seven Generalizing From Research Results: Inferential Statistics.
Business Statistics: A First Course (3rd Edition)
© Copyright McGraw-Hill 2004
1 Testing of Hypothesis Two Sample test Dr. T. T. Kachwala.
The t-distribution William Gosset lived from 1876 to 1937 Gosset invented the t -test to handle small samples for quality control in brewing. He wrote.
- 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.
Ch8.2 Ch8.2 Population Mean Test Case I: A Normal Population With Known Null hypothesis: Test statistic value: Alternative Hypothesis Rejection Region.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Statistics for Education Research Lecture 4 Tests on Two Means: Types and Paired-Sample T-tests Instructor: Dr. Tung-hsien He
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 9: t test.
Lesson 5 DATA ANALYSIS. Am I using and independent groups design or repeated measures? Independent groups Mann- Whitney U test Repeated measures Wilcoxon.
1 Underlying population distribution is continuous. No other assumptions. Data need not be quantitative, but may be categorical or rank data. Very quick.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
When the means of two groups are to be compared (where each group consists of subjects that are not related) then the excel two-sample t-test procedure.
Data Analysis and Interpretation
Environmental Modeling Basic Testing Methods - Statistics
Chi Square (2) Dr. Richard Jackson
Presentation transcript:

Testing Differences in Means (t-tests) Dr. Richard Jackson © Mercer University 2005 All Rights Reserved

Student t test A parametric statistic Tests difference in 2 means William Gossett

Steps in Research State Null Hypothesis. State alternative Hypothesis. Determine Significance Level Collect Data Calculate Test Statistic (example = t) Accept or Reject Null Hypothesis Make Conclusions

Requirements of the t test 2 means Continuous Data Normally distributed

Hypothesis Associated with t H 0 : m 1 = m 2 H 1 : m 2  m 2

Types of Samples Associated with t Repeated Measures of Paired (See Table I) Independent (See Table III)

If Requirements Not Met, Use Non-Parametric Counterparts Repeated Measures – Wilcoxon Signed Rank or Sign Test Independent – Mann Whitney U.

Formula for t t = X 1 - X 2 S DX Similar to Z A “ Difference ” / A Standard Deviation

Standard of Difference in Means Similar to Standard Error of Mean Replicate Study to Determine Difference in 2 Groups Many Times

Standard Error of Difference In Means XXX 1 -X

Repeated Measures (Paired) t (See Table I) PatientBeforeAfterDifference

Null Hypothesis H o : m b =m a X b =110 X a =105

Calculation of t Using Statistix (See Table II) Mean Difference is 5 STD Error of Difference is t = p =

Conclusion A priori significance label set at 0.05 p = Reject H o (p < 0.05) Conclusion: “ Significant ” difference in before and after

Independent Sample t (See Table III) Diet A Diet B

Hypothesis H o : m a = m b H 1 : m a  m b X a = 204; X b = 167.3

Calculation of t Using Statistix (See Table IV) Test for Equality of Variances (p=0.49) Use T for Equal Variances T = 2.65, p = Reject H o (p < 0.05) Conclusion: Difference is “ Significant ”

Use of t Table (See Table V) Compare Calculated t with Tabled t Calculated t > Table t : Reject H o Calculated t  Table t : Accept H o

Degrees of Freedom (Sample Size) (See Table V) Independent (N 1 + N 2 – 2) Repeated (N – 1)

One–Tail Versus Two-Tail Test (See Table V) H   m, <m 2 Prior Knowledge of Difference

One-Tail Versus Two-Tail (See Table V) When in Doubt, use Two-Tail Two-Tail More Conservative

Significance Level Access Top Most Times Use 0.05

Example Using Repeated Measures t Degrees of Freedom = N-1 = 5-1 = 4 Two-Tail Test Significance Level = 0.05 Tabled Value = Calculated Value = Conclusion Reject H o

Example Using Independent t Degrees of Freedom = N 1 +N 2 -2 = 14 Two-Tail Test Significance Level = 0.05 Tabled Value = Calculated t = 2.65 Conclusion: Reject H o

Observations About t Table As Sample Size Increases, Tables Value Decreases As Significance Level Decreases, Tabled Value Increases Two-Tail Tabled Value Larger than One- Tail Tabled Value for Some Significance Level

Sample Size Determination Power Desired (Average = 0.80) Variability of Groups How Small Difference Detect

Example Sample Size for t N = 16 S 2 /D 2 S = Standard Deviation of subjects D = Smallest difference to detect

Example Sample Size for t Cholesterol Levels in 2 groups Range Estimate = = 60 60/6 = 10 = S D Estimated at 10 N = 16(10) 2 /(10) 2 = 16

Summary for t Difference in 2 means Data Continuous and Normally Distributed Calculated t with p value allows Researcher to Accept/Reject H o p-Value Provides Probability of Type I Error if Reject

Computer Exercise: t Tests See exercise at end of module. Using the Statistix software, analyze the data in each of the problems. See instructions in next slide.

How to Perform t Tests Using Statistix Enter Variables and Data Select Statistics Select One, Two, Multi-Sample Tests Select Paired t Test or Two-Sample t Test For Paired t: Select Variables then OK For Two-Sample t: Select “ Table ” Under Model Specification, Select Variables then OK