Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of times would result in heads half the time (i.e.,

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

Chapter 12: Testing hypotheses about single means (z and t) Example: Suppose you have the hypothesis that UW undergrads have higher than the average IQ.
Hypothesis Testing making decisions using sample data.
Inferential Statistics & Hypothesis Testing
Statistical Techniques I EXST7005 Lets go Power and Types of Errors.
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
Hypothesis testing & Inferential Statistics
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Overview of Lecture Independent and Dependent Variables Between and Within Designs.
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 6 Chicago School of Professional Psychology.
Probability Population:
Chapter 5For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 Suppose we wish to know whether children who grow up in homes without access to.
Statistical hypothesis testing – Inferential statistics I.
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.
Hypothesis Testing:.
Overview of Statistical Hypothesis Testing: The z-Test
Testing Hypotheses I Lesson 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics n Inferential Statistics.
Descriptive statistics Inferential statistics
Chapter 8 Introduction to Hypothesis Testing
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Let’s flip a coin. Making Data-Based Decisions We’re going to flip a coin 10 times. What results do you think we will get?
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Chapter 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Chapter 9: Hypothesis Testing 9.1 Introduction to Hypothesis Testing Hypothesis testing is a tool you use to make decision from data. Something you usually.
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Statistical Inference Statistical Inference involves estimating a population parameter (mean) from a sample that is taken from the population. Inference.
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
Chi Squared Test. Why Chi Squared? To test to see if, when we collect data, is the variation we see due to chance or due to something else?
Chapter 8 Parameter Estimates and Hypothesis Testing.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Example You give 100 random students a questionnaire designed to measure attitudes toward living in dormitories Scores range from 1 to 7 –(1 = unfavorable;
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
Stats Lunch: Day 3 The Basis of Hypothesis Testing w/ Parametric Statistics.
Remember Playing perfect black jack – the probability of winning a hand is.498 What is the probability that you will win 8 of the next 10 games of blackjack?
Welcome to MM570 Psychological Statistics
Practice Does drinking milkshakes affect (alpha =.05) your weight? To see if milkshakes affect a persons weight you collected data from 5 sets of twins.
1 Hypothesis Testing Basic Problem We are interested in deciding whether some data credits or discredits some “hypothesis” (often a statement about the.
_ z = X -  XX - Wow! We can use the z-distribution to test a hypothesis.
Statistical Techniques
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
Psych 230 Psychological Measurement and Statistics Pedro Wolf October 21, 2009.
SPSS Problem and slides Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of times would result in.
SPSS Homework Practice The Neuroticism Measure = S = 6.24 n = 54 How many people likely have a neuroticism score between 29 and 34?
Today: Hypothesis testing. Example: Am I Cheating? If each of you pick a card from the four, and I make a guess of the card that you picked. What proportion.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Prof. Robert Martin Southeastern Louisiana University.
Practice You recently finished giving 5 Villanova students the MMPI paranoia measure. Determine if Villanova students’ paranoia score is significantly.
SPSS Homework Practice The Neuroticism Measure = S = 6.24 n = 54 How many people likely have a neuroticism score between 29 and 34?
Is this quarter fair?. Is this quarter fair? Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of.
Chapter 8: Hypothesis Testing and Inferential Statistics
Practice Which is more likely: at least one ace with 4 throws of a fair die or at least one double ace in 24 throws of two fair dice? This is known as.
No class on Wednesday 11/1 No class on Friday 11/3
Practice The Neuroticism Measure = S = 6.24 n = 54
Practice You wonder if psychology majors have higher IQs than sociology majors ( = .05) You give an IQ test to 4 psychology majors and 4 sociology majors.
So far We have been doing independent samples designs The observations in one group were not linked to the observations in the other group.
Practice Which is more likely: at least one ace with 4 throws of a fair die or at least one double ace in 24 throws of two fair dice? This is known as.
Extra Brownie Points! Lottery To Win: choose the 5 winnings numbers
Practice Did the type of signal effect response time?
Testing Hypotheses I Lesson 9.
No class on Wednesday 11/1 No class on Friday 11/3
Is this quarter fair?. Is this quarter fair? Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of.
Practice You recently finished giving 5 Villanova students the MMPI paranoia measure. Determine if Villanova students’ paranoia score is significantly.
Presentation transcript:

Is this quarter fair?

How could you determine this? You assume that flipping the coin a large number of times would result in heads half the time (i.e., it has a.50 probability)

Is this quarter fair? Say you flip it 100 times 52 times it is a head Not exactly 50, but its close –probably due to random error

Is this quarter fair? What if you got 65 heads? 70? 95? At what point is the discrepancy from the expected becoming too great to attribute to chance?

Example You give 100 random students a questionnaire designed to measure attitudes toward living in dormitories Scores range from 1 to 7 –(1 = unfavorable; 4 = neutral; 7 = favorable) You wonder if the mean score of the population is different then the population mean at Haverford (which is 4)

Hypothesis Alternative hypothesis –H 1 :  sample = 4 –In other words, the population mean will be different than 4

Hypothesis Alternative hypothesis –H 1 :  sample = 4 Null hypothesis –H 0 :  sample = 4 –In other words, the population mean will not be different than 4

Results N = 100 X = 4.51 s = 1.94 Notice, your sample mean is consistent with H 1, but you must determine if this difference is simply due to chance

Results N = 100 X = 4.51 s = 1.94 To determine if this difference is due to chance you must calculate an observed t value

Observed t-value t obs = (X -  ) / S x

Observed t-value t obs = (X -  ) / S x This will test if the null hypothesis H 0 :  sample = 4 is true The bigger the t obs the more likely that H 1 :  sample = 4 is true

Observed t-value t obs = (X -  ) / S x S x = S / N

Observed t-value t obs = (X -  ) / = 1.94/ 100

Observed t-value t obs = (4.51 – 4.0) /.194

Observed t-value 2.63 = (4.51 – 4.0) /.194

t distribution

t obs = 2.63

t distribution t obs = 2.63 Next, must determine if this t value happened due to chance or if represent a real difference in means. Usually, we want to be 95% certain.

t critical To find out how big the t obs must be to be significantly different than 0 you find a t crit value. Calculate df = N - 1 Table D –First Column are df –Look at an alpha of.05 with two-tails

t distribution t obs = 2.63

t distribution t obs = 2.63 t crit = 1.98 t crit = -1.98

t distribution t obs = 2.63 t crit = 1.98 t crit = -1.98

t distribution t obs = 2.63 t crit = 1.98 t crit = If t obs fall in critical area reject the null hypothesis Reject H 0 :  sample = 4

t distribution t obs = 2.63 t crit = 1.98 t crit = If t obs does not fall in critical area do not reject the null hypothesis Do not reject H 0 :  sample = 4

Decision Since t obs falls in the critical region we reject H o and accept H 1 It is statistically significant, the average favorability of Villanova dorms is significantly different than the favorability of Haverford dorms. p <.05

We usually test for significance at the “.05 level” This means that the results we got in the previous example would only happen 5 times out of 100 if the true population mean was really 4

Hypothesis Testing Basic Logic 1) Want to test a hypothesis (called the research or alternative hypothesis). –“Second born children are smarter than everyone else (Mean IQ of everyone else = 100”) 2) Set up the null hypothesis that your sample was drawn from the general population –“Your sample of second born children come from a population with a mean of 100”

Hypothesis Testing Basic Logic 3) Collect a random sample –You collect a sample of second born children and find their mean IQ is 145 4) Calculate the probability of your sample mean occurring given the null hypothesis –What is the probability of getting a sample mean of 145 if they were from a population mean of 100

Hypothesis Testing Basic Logic 5) On the basis of that probability you make a decision to either reject of fail to reject the null hypothesis. –If it is very unlikely (p <.05) to get a mean of 145 if the population mean was 100 you would reject the null –Second born children are SIGNIFICANTLY smarter than the general population

Example You wonder if the average IQ score of Villanova students is significantly different (at alpha =.05)than the average IQ of the population (which is 100). To determine this you collect a sample of 54 students. N = 54 X = 130 s = 18.4

The Steps Try to always follow these steps!

Step 1: Write out Hypotheses Alternative hypothesis –H 1 :  sample = 100 Null hypothesis –H 0 :  sample = 100

Step 2: Calculate the Critical t N = 54 df = 53  =.05 t crit = 2.0

Step 3: Draw Critical Region t crit = 2.00t crit = -2.00

Step 4: Calculate t observed t obs = (X -  ) / S x

Step 4: Calculate t observed t obs = (X -  ) / S x S x = S / N

Step 4: Calculate t observed t obs = (X -  ) / S x 2.5 = 18.4 / 54

Step 4: Calculate t observed t obs = (X -  ) / S x 12 = ( ) / = 18.4 / 54

Step 5: See if t obs falls in the critical region t crit = 2.00t crit = -2.00

Step 5: See if t obs falls in the critical region t crit = 2.00t crit = t obs = 12

Step 6: Decision If t obs falls in the critical region: –Reject H 0, and accept H 1 If t obs does not fall in the critical region: –Fail to reject H 0

Step 7: Put answer into words We reject H 0 and accept H 1. The average IQ of Villanova students statistically different (  =.05) than the average IQ of the population.

Practice You wonder if the average agreeableness score of Villanova students is significantly different (at alpha =.05) than the average agreeableness of the population (which is 3.8). You collect data from 31 people. N = 31 X = 3.92 s = 1.52

Step 1: Write out Hypotheses Alternative hypothesis –H 1 :  sample = 3.8 Null hypothesis –H 0 :  sample = 3.8

Step 2: Calculate the Critical t N = 31 df = 30  =.05 t crit = 2.042

Step 3: Draw Critical Region t crit = 2.042t crit =

Step 4: Calculate t observed t obs = (X -  ) / S x

Step 4: Calculate t observed t obs = (X -  ) / S x S x = S / N

Step 4: Calculate t observed t obs = (X -  ) / S x.27 = 1.52 / 31

Step 4: Calculate t observed t obs = (X -  ) / S x.44 = ( ) /.27

Step 5: See if t obs falls in the critical region t crit = 2.042t crit =

Step 5: See if t obs falls in the critical region t crit = 2.042t crit = t obs =.44

Step 6: Decision If t obs falls in the critical region: –Reject H 0, and accept H 1 If t obs does not fall in the critical region: –Fail to reject H 0

Step 7: Put answer into words We fail to reject H 0 The average agreeableness score of Villanova students is not statistically different (  =.05) than the average agreeableness score of the population.