Two Sample Problems Lecture 4. Examples of various hypotheses Average salary in Copenhagen is larger than in Bælum H 0 : μ C ≥ μ B. H A : μ C < μ B. Sodium.

Slides:



Advertisements
Similar presentations
Hypothesis testing 5th - 9th December 2011, Rome.
Advertisements

Tables and Non Parametric Tests Lecture 5 Compare Means Menu.
Tables and Non Parametric Tests Lecture 5 Non-normal Data Log-normal data Transform Data Compare the means of the transformed (normal) data Binomial.
Dependent t-tests When the two samples are correlated (i.e. not independent) 1.
5/15/2015Slide 1 SOLVING THE PROBLEM The one sample t-test compares two values for the population mean of a single variable. The two-sample test of a population.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
T-Tests.
t-Tests Overview of t-Tests How a t-Test Works How a t-Test Works Single-Sample t Single-Sample t Independent Samples t Independent Samples t Paired.
T-Tests.
K sample problems and non-parametric tests. Two-Sample T-test (unpaired)
Nemours Biomedical Research Statistics March 19, 2009 Tim Bunnell, Ph.D. & Jobayer Hossain, Ph.D. Nemours Bioinformatics Core Facility.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
MARE 250 Dr. Jason Turner Hypothesis Testing II. To ASSUME is to make an… Four assumptions for t-test hypothesis testing:
SADC Course in Statistics Comparing Means from Independent Samples (Session 12)
Stat 301- Day 32 More on two-sample t- procedures.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
6.4 One and Two-Sample Inference for Variances. Example - Problem 26 – Page 435  D. Kim did some crude tensile strength testing on pieces of some nominally.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
Hypothesis Testing Lecture 4. Examples of various hypotheses The sodium content in Furresøen is x Sodium content in Furresøen is equal to the content.
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
DEPENDENT SAMPLES t-TEST What is the Purpose?What Are the Assumptions?How Does it Work?
Hypothesis testing simplified. Objective: Describe a variable - Mean, Median, Mode, Standard Deviation Examples: What is the percentage of totally satisfied.
Chapter 2 Simple Comparative Experiments
Biostatistics in Research Practice: Non-parametric tests Dr Victoria Allgar.
5-3 Inference on the Means of Two Populations, Variances Unknown
Comparing Population Parameters (Z-test, t-tests and Chi-Square test) Dr. M. H. Rahbar Professor of Biostatistics Department of Epidemiology Director,
Quantitative Business Methods for Decision Making Estimation and Testing of Hypotheses.
Quiz 12  Nonparametric statistics. 1. Which condition is not required to perform a non- parametric test? a) random sampling of population b) data are.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
Chapter 9 Two-Sample Tests Part II: Introduction to Hypothesis Testing Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social & Behavioral.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Inferential Statistics: SPSS
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
LEARNING PROGRAMME Hypothesis testing Intermediate Training in Quantitative Analysis Bangkok November 2007.
Hypothesis testing – mean differences between populations
Lecture 14 Testing a Hypothesis about Two Independent Means.
5-1 Introduction 5-2 Inference on the Means of Two Populations, Variances Known Assumptions.
1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework –The two-sample.
STA291 Statistical Methods Lecture 24. Comparing Two Proportions Sample of 25, year-olds: Men: 84.9% diploma rate Women: 88.1% diploma rate Are.
SIMPLE TWO GROUP TESTS Prof Peter T Donnan Prof Peter T Donnan.
Previous Lecture: Categorical Data Methods. Nonparametric Methods This Lecture Judy Zhong Ph.D.
ANOVA (Analysis of Variance) by Aziza Munir
Hypothesis testing Intermediate Food Security Analysis Training Rome, July 2010.
Independent t-tests Uses a sampling distribution of differences between means 1.
Nonparametric Statistics
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
SW318 Social Work Statistics Slide 1 One-way Analysis of Variance  1. Satisfy level of measurement requirements  Dependent variable is interval (ordinal)
Hypothesis Testing Lecture 3. Examples of various hypotheses Average salary in Copenhagen is larger than in Bælum Sodium content in Furresøen is equal.
Welcome to MM570 Psychological Statistics
Chapter 10 The t Test for Two Independent Samples
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 9 Inferences Based on Two Samples Confidence Intervals and Tests of Hypotheses.
Soc 3306a Lecture 7: Inference and Hypothesis Testing T-tests and ANOVA.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Between Subjects Analysis of Variance PowerPoint.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests and One-Way ANOVA Business Statistics, A First.
One-way ANOVA Example Analysis of Variance Hypotheses Model & Assumptions Analysis of Variance Multiple Comparisons Checking Assumptions.
Comparing Two Means Ch. 13. Two-Sample t Interval for a Difference Between Two Means.
Testing Differences in Means (t-tests) Dr. Richard Jackson © Mercer University 2005 All Rights Reserved.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
Dr. C. Ertuna1 Hypothesis Testing 2 Samples (Chapter - 04/D)
Chapter 9 Lecture 3 Section: 9.3. We will now consider methods for using sample data from two independent samples to test hypotheses made about two population.
AP Statistics Chapter 11 Section 2. TestConfidence IntervalFormulasAssumptions 1-sample z-test mean SRS Normal pop. Or large n (n>40) Know 1-sample t-test.
1 Underlying population distribution is continuous. No other assumptions. Data need not be quantitative, but may be categorical or rank data. Very quick.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 7 l Hypothesis Tests 7.1 Developing Null and Alternative Hypotheses 7.2 Type I & Type.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 16 : Summary Marshall University Genomics Core Facility.
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.
Hypothesis Tests l Chapter 7 l 7.1 Developing Null and Alternative
Statistics in SPSS Lecture 8
Presentation transcript:

Two Sample Problems Lecture 4

Examples of various hypotheses Average salary in Copenhagen is larger than in Bælum H 0 : μ C ≥ μ B. H A : μ C < μ B. Sodium content in Furresøen is equal to the content in Madamsø H 0 : μ F = μ M. H A : μ F ≠ μ M. Proportion of Turks in Århus is the same as in Aalborg H 0 : p Å = p A. H A : p Å ≠ p A. Average height of men in Sweden is the same as in Denmark H 0 : μ S = μ D. H A : μ S ≠ μ D. The average temperature is increasing over time H 0 : μ time 1 ≥ μ time 2. H A : μ time 1 < μ time 2 if time 1 ≥ time 2.

Today’s tests Compare means 1.Independent samples (also called two samples in the book). 2.Paired samples. Compare variances for independent samples. Compare proportions.

An example An embarasing Measurement

Embarasing Measurement It seems to be bigger after than before!!!

NICE AND NORMAL !!!

95% CI for mean before and after 95% CI for mean before and after The observations in living color The observations in living color

Another look at the data All the differences are bigger than zero

Look at the differences

How about testing if the mean difference is significantly bigger than zero?

Result of One Sample T-test on Differences Mean bigger than 2 SE Mean actually SE, therefore p = 0.000

Equivalently The Compare Means menu is sufficient for alot of different tests

Blah blah – we want to see a TEST!

Mean difference 95% CI for difference P-value Test statistic Output

Conclusion If you want to test the difference between BEFORE and AFTER (or similar designs) Test if the DIFFERENCE is zero! And do this with a PAIRED T-TEST!!

Two-Sample T-test (unpaired) Data normal ? Equal variances? Data normal ? Equal variances?

Time Categorical variable Time Categorical variable Age e.g. Age > 40 Age e.g. Age > 40

Two-Sample Output Equal variances P-value for equal means 95% CI

K-Sample Data normal (in each group) ? Equal variances? Data normal (in each group) ? Equal variances?

If NOT!!!

K-Sample Output P-value

A Small Trick (Post Hoc)

OK OK, I’ll use another data set

RECIPE Formulate the hypothesis Formulate the model Recognize the design Check the assumptions Run the SPSS procedure Equal means or mean = some value Equal means or mean = some value Normal, binomial ect. Paired, unpaired, more groups Normal ? Equal variances? Get your p-value