The t-test: When you use it When you wish to compare the difference between two groups for a continuous (or discrete) variable Examples Blood pressure.

Slides:



Advertisements
Similar presentations
Chapter 25: Paired Samples and Blocks. Paired Data Paired data arise in a number of ways. Compare subjects with themselves before and after treatment.
Advertisements

Topics Today: Case I: t-test single mean: Does a particular sample belong to a hypothesized population? Thursday: Case II: t-test independent means: Are.
Section 9.3 Inferences About Two Means (Independent)
Statistics. Overview 1. Confidence interval for the mean 2. Comparing means of 2 sampled populations (or treatments): t-test 3. Determining the strength.
Lesson #25 Nonparametric Tests for a Single Population.
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
Analysis of Differential Expression T-test ANOVA Non-parametric methods Correlation Regression.
EXPERIMENTAL DESIGN Random assignment Who gets assigned to what? How does it work What are limits to its efficacy?
5-3 Inference on the Means of Two Populations, Variances Unknown
1 Confidence Intervals for Means. 2 When the sample size n< 30 case1-1. the underlying distribution is normal with known variance case1-2. the underlying.
Hypothesis Testing Using The One-Sample t-Test
UWHC Scholarly Forum April 17, 2013 Ismor Fischer, Ph.D. UW Dept of Statistics, UW Dept of Biostatistics and Medical Informatics
Chapter 15 Nonparametric Statistics
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Testing Group Difference
Lab 5 Hypothesis testing and Confidence Interval.
II.Simple Regression B. Hypothesis Testing Calculate t-ratios and confidence intervals for b 1 and b 2. Test the significance of b 1 and b 2 with: T-ratios.
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.
Lesson Comparing Two Means.
Education 793 Class Notes T-tests 29 October 2003.
Ch7 Inference concerning means II Dr. Deshi Ye
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.
Statistical Significance R.Raveendran. Heart rate (bpm) Mean ± SEM n In men ± In women ± The difference between means.
One-Way Analysis of Variance Comparing means of more than 2 independent samples 1.
Inferences in Regression and Correlation Analysis Ayona Chatterjee Spring 2008 Math 4803/5803.
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.
1 Testing Statistical Hypothesis for Dependent Samples.
SIMPLE TWO GROUP TESTS Prof Peter T Donnan Prof Peter T Donnan.
Nonparametric Statistical Methods: Overview and Examples ETM 568 ISE 468 Spring 2015 Dr. Joan Burtner.
Statistical Analysis. Statistics u Description –Describes the data –Mean –Median –Mode u Inferential –Allows prediction from the sample to the population.
The Practice of Statistics Third Edition Chapter 13: Comparing Two Population Parameters Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
© 2011 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
 In Chapter 10 we tested a parameter from a population represented by a sample against a known population ( ).  In chapter 11 we will test a parameter.
1 Chapter 9 Inferences from Two Samples 9.2 Inferences About Two Proportions 9.3 Inferences About Two Means (Independent) 9.4 Inferences About Two Means.
Tests of Hypotheses Involving Two Populations Tests for the Differences of Means Comparison of two means: and The method of comparison depends on.
STATISTICAL ANALYSIS FOR THE MATHEMATICALLY-CHALLENGED Associate Professor Phua Kai Lit School of Medicine & Health Sciences Monash University (Sunway.
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.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
Comparison of 2 Population Means Goal: To compare 2 populations/treatments wrt a numeric outcome Sampling Design: Independent Samples (Parallel Groups)
Medical Statistics as a science. Меdical Statistics: To do this we must assume that all data is randomly sampled from an infinitely large population,
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
NON-PARAMETRIC STATISTICS
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Comparing the Means of Two Dependent Populations.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Related Samples T-Test Quantitative Methods in HPELS HPELS 6210.
BIOSTATISTICS Statistical tests part IV: nonparametric tests.
Sampling Distribution of Differences Between Means.
366_7. T-distribution T-test vs. Z-test Z assumes we know, or can calculate the standard error of the distribution of something in a population We never.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
T tests comparing two means t tests comparing two means.
Introduction to Basic Statistical Methods Part 1: Statistics in a Nutshell UWHC Scholarly Forum May 21, 2014 Ismor Fischer, Ph.D. UW Dept of Statistics.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Nonparametric Statistics - Dependent Samples How do we test differences from matched pairs of measurement data? If the differences are normally distributed,
Chapter 7 Inference Concerning Populations (Numeric Responses)
I231B QUANTITATIVE METHODS Analysis of Variance (ANOVA)
Nonparametric statistics. Four levels of measurement Nominal Ordinal Interval Ratio  Nominal: the lowest level  Ordinal  Interval  Ratio: the highest.
Inferential Statistics Assoc. Prof. Dr. Şehnaz Şahinkarakaş.
Statistical hypothesis Statistical hypothesis is a method for testing a claim or hypothesis about a parameter in a papulation The statement H 0 is called.
CHAPTER 15: THE NUTS AND BOLTS OF USING STATISTICS.
Research Methodology Lecture No :25 (Hypothesis Testing – Difference in Groups)
Statistical Inference for the Mean: t-test
Presentation transcript:

The t-test: When you use it When you wish to compare the difference between two groups for a continuous (or discrete) variable Examples Blood pressure comparing men to women Caloric intake comparing anorexics to non-anorexics Change in LDL comparing treatment group to placebo group

The t-distribution family

Example t-test 1. Establish alpha. α = Write H 0 : μ cases = μ controls 3. Calculate t-ratio or t-score

Interpret results of t-test 4. Compare t obs (3.495) with known t-distribution to obtain p-value. p ≈ *(Note: d.f. = sample size – 2) 5. Since p < α, we reject H 0 and conclude that there is a statistically significant difference in age between the cases and controls. i.e. cases, on average, are older than controls. … *Note: For very large samples, the t-distribution is almost identical to the normal distribution.

For a test statistic of 3.495, the p-value is less than alpha. Note: two-sided 2.5% Test statistic (3.495) P-value Visualizing the p-value

Caveats to the t-test 1. Requires normally distributed data If not, use Wilcoxon Rank Sum (Mann-Whitney) test. 2. Observations must be independent If they’re paired (e.g. pre-post), use a paired t-test. 3. The t-test works only for comparisons of two groups. If there are 3 or more groups, use analysis of variance (ANOVA).

Confidence interval method Analog to the t-test 1. Calculate 95% confidence intervals for the two group means. 2. If the confidence interval of one group includes the mean of the other, then the difference is not statistically significant. Not a stat. sig. difference (p > 0.05) Stat. sig. difference (p < 0.05) Group A Group B