Hypothesis Testing in the Real World

Slides:



Advertisements
Similar presentations
Stony Brook University
Advertisements

Comparing Two Population Parameters
1 COMM 301: Empirical Research in Communication Lecture 15 – Hypothesis Testing Kwan M Lee.
Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
PSY 307 – Statistics for the Behavioral Sciences
Lecture 8 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 9: Hypothesis Tests for Means: One Sample.
Overview of Lecture Parametric Analysis is used for
Statistics 101 Class 9. Overview Last class Last class Our FAVORATE 3 distributions Our FAVORATE 3 distributions The one sample Z-test The one sample.
T-Tests Lecture: Nov. 6, 2002.
Chapter 11: Inference for Distributions
Lecture 7 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Chapter 9 Hypothesis Testing.
The one sample t-test November 14, From Z to t… In a Z test, you compare your sample to a known population, with a known mean and standard deviation.
PSY 307 – Statistics for the Behavioral Sciences
Getting Started with Hypothesis Testing The Single Sample.
Richard M. Jacobs, OSA, Ph.D.
PSY 307 – Statistics for the Behavioral Sciences
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 8 Introduction to the t Test.
AM Recitation 2/10/11.
Statistics 11 Hypothesis Testing Discover the relationships that exist between events/things Accomplished by: Asking questions Getting answers In accord.
Significance Tests …and their significance. Significance Tests Remember how a sampling distribution of means is created? Take a sample of size 500 from.
Education 793 Class Notes T-tests 29 October 2003.
Stats 95 t-Tests Single Sample Paired Samples Independent Samples
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Hypothesis Tests: One Sample Mean
BPS - 3rd Ed. Chapter 211 Inference for Regression.
T tests comparing two means t tests comparing two means.
Single Sample Inferences
1 Statistical Inference. 2 The larger the sample size (n) the more confident you can be that your sample mean is a good representation of the population.
Comparing two sample means Dr David Field. Comparing two samples Researchers often begin with a hypothesis that two sample means will be different from.
H1H1 H1H1 HoHo Z = 0 Two Tailed test. Z score where 2.5% of the distribution lies in the tail: Z = Critical value for a two tailed test.
Stats Lunch: Day 4 Intro to the General Linear Model and Its Many, Many Wonders, Including: T-Tests.
Statistics for Psychology CHAPTER SIXTH EDITION Statistics for Psychology, Sixth Edition Arthur Aron | Elliot J. Coups | Elaine N. Aron Copyright © 2013.
DIRECTIONAL HYPOTHESIS The 1-tailed test: –Instead of dividing alpha by 2, you are looking for unlikely outcomes on only 1 side of the distribution –No.
© Copyright McGraw-Hill 2000
Introduction to the t Test Part 1: One-sample t test
Chapter 10 The t Test for Two Independent Samples
6 Making Sense of Statistical Significance.
© Copyright McGraw-Hill 2004
Chapter 5 Sampling Distributions. The Concept of Sampling Distributions Parameter – numerical descriptive measure of a population. It is usually unknown.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Chapter 13 Understanding research results: statistical inference.
Chapter 3 Normal Curve, Probability, and Population Versus Sample Part 2 Aug. 28, 2014.
BPS - 5th Ed. Chapter 231 Inference for Regression.
Testing the Difference Between Two Means
Lecture Nine - Twelve Tests of Significance.
Hypothesis Testing: One Sample Cases
INF397C Introduction to Research in Information Studies Spring, Day 12
Estimation & Hypothesis Testing for Two Population Parameters
Two Sample Tests When do use independent
Hypothesis Tests for 1-Sample Proportion
12 Inferential Analysis.
Central Limit Theorem, z-tests, & t-tests
Hypothesis Testing: Hypotheses
Chapter 9 Hypothesis Testing.
The t distribution and the independent sample t-test
Problems: Q&A chapter 6, problems Chapter 6:
Quantitative Methods in HPELS HPELS 6210
Hypothesis Testing.
Interval Estimation and Hypothesis Testing
12 Inferential Analysis.
Basic Practice of Statistics - 3rd Edition Inference for Regression
What are their purposes? What kinds?
Facts from figures Having obtained the results of an investigation, a scientist is faced with the prospect of trying to interpret them. In some cases the.
Statistics PSY302 Quiz Chapters 16 & 17
Introduction to the t Test
Chapter 9 Test for Independent Means Between-Subjects Design
Presentation transcript:

Hypothesis Testing in the Real World Thus far, Hypothesis testing has been presented for situations in which the population variances are known. T-tests allow you to compare means for which the population variances are unknown T-test for a single sample

Hypothesis Testing in the Real World T-test for a single sample This involves the comparison of a single sample to a population of known mean but unknown variance Example: Do students in my fraternity study more hours than the national average of 2.5 hours per day. I conduct a survey of 20 men and discover that they study an average of 3.2 hours per day. Is 3.2 significantly greater than 2.5?

Hypothesis Testing in the Real World Steps of Hypothesis Testing Step 1: Restate the research question as a research hypothesis and a null hypothesis - refer to populations Population 1: Students who live in fraternities Population 2: Students who live in the general college population Research Hypothesis: The mean study time of Population 1 will be higher than the mean study time of Population 2 Null Hypothesis: The mean study time of Population 1 will be the same as the mean study time of Population 2

Hypothesis Testing in the Real World Steps of Hypothesis Testing Step 2: Determine the comparison distribution The mean of Population 2 (All students; 2.5) is the mean of the comparison distribution The variance of Population 2 is unknown Estimate the population variance from the sample variance Since the variance of a sample will be slightly smaller than the variance of a population, the estimate based on a sample is biased. You can calculate an unbiased estimate by using a slightly different formula for calculating the variance.

Hypothesis Testing in the Real World Step 2: Determine the comparison distribution You can calculate an unbiased estimate of the population variance by using a slightly different formula for calculating the variance. Variance=Sum (X-M) squared, divided by N Unbiased Variance=Sum (X-M) squared, divided by N-1. Division by N-1 makes the variance estimate larger. The number you divided by (N-1) is the “Degrees of Freedom” (df). It is the number of scores in the sample that are “free to vary”. If you know the mean of a sample, then one score is determined and not free to vary. Unbiased Variance=SS/df

Hypothesis Testing in the Real World Step 2: Determine the comparison distribution Calculate the Standard Deviation of the Distribution of Means Variance of Means = Population Variance / N = 2.54 / 12 = .21 SD of Means = Square Root of Variance of Means = .46

Step 2: Determine the comparison distribution The t distribution is the shape of the comparison distribution when you use an estimated population variance. When you use an estimate of the population variance that is derived from a sample, there is more error. This results in more extreme means in the distribution of means. The smaller the sample, the more this occurs.

Step 2: Determine the comparison distribution When you use an estimate of the population variance that is derived from a sample, there is more error. This results in more extreme means in the distribution of means. The smaller the sample, the more this occurs. You have a slightly different t distribution for every different degrees of freedom (df)

Step 2: Determine the comparison distribution When you use an estimate of the population variance that is derived from a sample, there is more error. This results in more extreme means in the distribution of means. The smaller the sample, the more this occurs. The difference in shape affects how extreme a score must be in order to reject the null hypothesis. You need a slightly more extreme mean to reject the null with a t distribution than with a normal distribution.

Step 2: Determine the comparison distribution When you use an estimate of the population variance that is derived from a sample, there is more error. This results in more extreme means in the distribution of means. The smaller the sample, the more this occurs. The greater the df, the more the t distribution approximates the normal curve. Your greater sample size results in a more accurate estimate of the population variance.

Step 2: Determine the comparison distribution When you use an estimate of the population variance that is derived from a sample, there is more error. Example .05 alpha for normal distribution = 1.64 .05 alpha for t distribution w 7 df = 1.89 .05 alpha for t distribution w 25 df = 1.71 .05 alpha for t distribution w infinite df = 1.64

Step 3: Determine the cut-off on the comparison distribution for rejecting the null hypothesis There is a different t distribution for every df. Most t tables only include the cut-off points for common alpha levels.

Step 3: Determine the cut-off on the comparison distribution for rejecting the null hypothesis

Step 4: Figure your sample’s score on the comparison distribution When calculating this before, we rendered a Z score. When comparing to a t distribution, you calculate a t-score. T = (Sample Mean - the population mean) divided by the standard deviation of the distribution of means Example Sample mean = 4 Population mean = 2.5 SD of the means = .46 T= 4 - 2.5 / .46 T= 3.26

Step 5: Decide whether to reject the null hypothesis

Step 5: Decide whether to reject the null hypothesis

Hypothesis Testing in the Real World Example

T test for dependent means Used when you measure a dependent variable twice from each unit of observation (person) Scores on a reading test before and after phonics training Ratings on the safety of flying vs. the safety of taking a train, when collected from the same people Ratings on the taste of Pepsi vs. Coke, when collected from the same people Speed before and after seeing a police check point

T test for dependent means Other names: repeated measures design, t-test for paired samples, t-test for correlated means, t-test for matched samples With a t-test for dependent means, 1) you use a difference score for the comparison rather than a single score and 2) you assume the population mean is 0.

T test for dependent means Example: Speed before and after seeing a police check point. Was there a significant change in speed? A policeman clocks the following times for a sample of cars approaching a speed checkpoint on a highway with a posted speed limit of 35mph: 30, 36, 42, 36, 30, 52, 36, 34, 36, 33, 30, 32, 35, 32, 37. A policeman clocks the following times for a sample of cars leaving a speed checkpoint on a highway with a posted speed limit of 35mph: 31, 37, 32, 34, 32, 40, 31, 35, 35, 32, 31, 32, 33, 33, 32.

T test for dependent means Example Step 1: Restate the question as a research hypothesis and null hypothesis Population 1: People who see a speed check-point Population 2: People whose speed does not change after seeing a speed check-point Research Hypothesis: People do change speed after seeing a speed check-point. Null Hypothesis: Speed stays the same before and after seeing a speed check-point.

T test for dependent means Example Step 2: Determine the characteristics of the comparison distribution If the null hypothesis is true then the mean of the difference scores will be 0. The variance of the population of difference scores can be estimated from the sample of difference scores

T test for dependent means Example Step 3: Determine the cutoff score on the comparison distribution A two tailed test for alpha <.05, df = 14 has a cutoff t-score of 2.145

T test for dependent means Example Step 4: Determine the t-score for your study

T test for dependent means Example Step 5: Decide whether to reject the null hypothesis Is a t-score of -1.9 greater than the cutoff of ± 2.145? Now, let’s compare these results for the case of the single mean and the dependent means to those using SPSS.

T-test for Dependent Means Now, let’s compare these results for the case of the single mean and the dependent means to those using SPSS. Navigate to Speed Trap Data at learnpsychology.com

T-test for Dependent Means Another T-test for dependent means example: Statistical Parameter Mapping for Functional Magnetic Resonance Imaging (fMRI). Step 1: Record resonant radio signals from tissue responding to radio pulses within a strong magnetic field.

T-test for Dependent Means Statistical Parameter Mapping for Functional Magnetic Resonance Imaging (fMRI). Step 2: Map the signal strengths as gray levels. This renders a map of different tissues.

T-test for Dependent Means Statistical Parameter Mapping for Functional Magnetic Resonance Imaging (fMRI). These maps are made pixel by pixel.

T-test for Dependent Means Statistical Parameter Mapping for Functional Magnetic Resonance Imaging (fMRI). The BOLD Response

T-test for Dependent Means Statistical Parameter Mapping for Functional Magnetic Resonance Imaging (fMRI). The “Boxcar” Design. Design A has greater variance than Design B. T = 2.3 T = 6.7

T-test for Dependent Means Statistical Parameter Mapping for Functional Magnetic Resonance Imaging (fMRI). Calculate t scores for every pixel and then plot these as colored areas This is a Statistical Parameter Map (SPM). This image depicts the areas of elevated signal associated with hearing spoken words.

T-test for Dependent Means Statistical Parameter Mapping for Functional Magnetic Resonance Imaging (fMRI). Sample application: Presurgery planning

T test for dependent means Assumptions of the t-test The distribution of individuals must follow a normal curve. The comparison distribution (t-distribution) is derived from the distribution of individuals. If this distribution is not normal then the t distribution has an abnormal shape.

T test for dependent means Effect Size and the t-test for dependent means d = population 1 mean - population 2 mean / variance For the t-test for dependent means, the mean of population 1 is 0, the mean of the difference scores. The variance is usually the standard deviation of the difference scores What was the effect size for our example? = 2.07 - 0 / 4.2 = .49 Effect is small to moderate

T test for dependent means Power and the t-test for dependent means Effect Size P<.05 N Small Medium Large One tail D=.20 D=.5 D=.8 10 .15 .46 .78 20 .22 .71 .96 30 .29 .86 .99 40 .35 .93 50 .40 .97 100 .63

T test for dependent means Estimating your sample size in relationship to power Effect Size P<.05 Small Medium Large d=.2 d=.5 d=.8 One tailed 156 26 12 Two tailed 196 33 14

Homework Null H True Research H True Research H Supported Reject Null H Type 1 Error: Study concludes that premature infants are different in face recognition when they are the same as full-term infants Study correctly concludes that premature infants are different in facial recognition Do not reject Null H, Study inconclusive Study correctly concludes that the results are inconclusive and the null hypothesis is not rejected, research hypothesis is not supported Type 2 Error: Study concludes that results are inconclusive and research hypothesis is not supported when in fact there is a difference between the infants