No class on Wednesday 11/1 No class on Friday 11/3

Slides:



Advertisements
Similar presentations
There are two statistical tests for mean: 1) z test – Used for large samples (n ≥ 30) 1) t test – Used for small samples (n < 30)
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.
Statistics Are Fun! Analysis of Variance
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
Hypothesis test with t – Exercise 1 Step 1: State the hypotheses H 0 :  = 50H 1 = 50 Step 2: Locate critical region 2 tail test,  =.05, df = =24.
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
T-Tests Lecture: Nov. 6, 2002.
One Sample Z-test Convert raw scores to z-scores to test hypotheses about sample Using z-scores allows us to match z with a probability Calculate:
Testing Hypotheses I Lesson 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics n Inferential Statistics.
Section 9-4 Hypothesis Testing Means. This formula is used when the population standard deviation is known. Once you have the test statistic, the process.
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.,
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.
Statistics for the Behavioral Sciences Second Edition Chapter 11: The Independent-Samples t Test iClicker Questions Copyright © 2012 by Worth Publishers.
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.
Section 10.2 Hypothesis Testing for Means (Small Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
One-Way ANOVA ANOVA = Analysis of Variance This is a technique used to analyze the results of an experiment when you have more than two groups.
Reasoning in Psychology Using Statistics Psychology
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 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
What if.... The two samples have different sample sizes (n)
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.
Practice A research study was conducted to examine the differences between older and younger adults on perceived life satisfaction. A pilot study was.
Sampling Distribution of Differences Between Means.
Sampling Distribution (a.k.a. “Distribution of Sample Outcomes”) – Based on the laws of probability – “OUTCOMES” = proportions, means, test statistics.
IE241 Final Exam. 1. What is a test of a statistical hypothesis? Decision rule to either reject or not reject the null hypothesis.
Practice You recently finished giving 5 Villanova students the MMPI paranoia measure. Determine if Villanova students’ paranoia score is significantly.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Hypothesis Testing – Two Means(Small, Independent Samples)
Definition Two samples are independent if the sample selected from one population is not related to the sample selected from the second population. The.
Dependent-Samples t-Test
How does the Unpaired t-Test work?
Hypothesis Testing for Means (Small Samples)
Hypothesis Testing: One Sample Cases
Introduction to Statistics for the Social Sciences SBS200 - Lecture Section 001, Fall 2016 Room 150 Harvill Building 10: :50 Mondays, Wednesdays.
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.
Inference and Tests of Hypotheses
Hypothesis testing March 20, 2000.
Hypothesis Tests for 1-Sample Proportion
MATH 2311 Section 8.2.
Monday, October 19 Hypothesis testing using the normal Z-distribution.
Reasoning in Psychology Using Statistics
Hypothesis Tests for Proportions
Reasoning in Psychology Using Statistics
Practice I think it is colder in Philadelphia than in Anaheim ( = .10). To test this, I got temperatures from these two places on the Internet.
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.
Hypothesis Testing.
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
What if. . . You were asked to determine if psychology and sociology majors have significantly different class attendance (i.e., the number of days.
You can calculate: Central tendency Variability You could graph the data.
Statistics for the Social Sciences
Statistics Problem Set III
Practice Does drinking milkshakes affect (alpha = .05) your weight?
Power Section 9.7.
What are their purposes? What kinds?
Reasoning in Psychology Using Statistics
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
Reasoning in Psychology Using Statistics
Practice As part of a program to reducing smoking, a national organization ran an advertising campaign to convince people to quit or reduce their smoking.
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
Reasoning in Psychology Using Statistics
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.
Section 11.1: Significance Tests: Basics
Hypothesis Testing for Proportions
Practice You recently finished giving 5 Villanova students the MMPI paranoia measure. Determine if Villanova students’ paranoia score is significantly.
Presentation transcript:

No class on Wednesday 11/1 No class on Friday 11/3 Remember No class on Wednesday 11/1 No class on Friday 11/3

Example You just created a “Smart Pill” and you gave it to 150 subjects. Below are the results you found. Do people who take your “Smart Pill” have significantly ( = .05) greater IQ scores than the average IQ population ( = 100)? X = 103 s = 14.4

Step 1: Write out Hypotheses Alternative hypothesis H1: sample > 100 Null hypothesis H0: sample < or = 100

Step 2: Calculate the Critical t N = 150 df = 149  = .05 tcrit = 1.645

Step 3: Draw Critical Region tcrit = 1.645

Step 4: Calculate t observed tobs = (X - ) / Sx

Step 4: Calculate t observed tobs = (X - ) / Sx Sx = S / N

Step 4: Calculate t observed tobs = (X - ) / Sx 1.18=14.4 / 150

Step 4: Calculate t observed tobs = (X - ) / Sx 2.54 = (103 - 100) / 1.18 1.18=14.4 / 150

Step 5: See if tobs falls in the critical region tcrit = 1.645

Step 5: See if tobs falls in the critical region tcrit = 1.645 tobs = 2.54

Step 6: Decision If tobs falls in the critical region: Reject H0, and accept H1 If tobs does not fall in the critical region: Fail to reject H0

Step 7: Put answer into words We reject H0 and accept H1. The average IQ of the people who took your “Smart Pill” is statistically greater ( = .05) than the average IQ of the population.

Practice You create a program that reduces aggressiveness of children. After completing your program you give 15 children the “Aggressive Test” which has an average score of  = 15.6 . Below are the results you found. Did your program significantly ( = .05) reduce the aggressiveness of children? X = 14.5 s = 2.77

Step 1: Write out Hypotheses Alternative hypothesis H1: sample < 15.6 Null hypothesis H0: sample > or = 15.6

Step 2: Calculate the Critical t N = 15 df = 14  = .05 tcrit = -1.761

Step 3: Draw Critical Region tcrit = -1.761

Step 4: Calculate t observed tobs = (X - ) / Sx

Step 4: Calculate t observed tobs = (X - ) / Sx -1.53 = (14.5 – 15.6) / .72 .72 = 2.77/ 15

Step 5: See if tobs falls in the critical region tcrit = -1.761

Step 5: See if tobs falls in the critical region tcrit = -1.761 tobs = -1.53

Step 6: Decision If tobs falls in the critical region: Reject H0, and accept H1 If tobs does not fall in the critical region: Fail to reject H0

Step 7: Put answer into words We fail to reject H0 The average aggressiveness score of the children who took your program is not statistically less then ( = .05) the average aggressiveness of the population.

So far. . . We have been doing hypothesis testing with a single sample We find the mean of a sample and determine if it is statistically different than the mean of a population

Basic logic of research \

Start with two equivalent groups of subjects

Treat them alike except for one thing

See if both groups are different at the end

Notice This means that we need to see if two samples are statistically different from each other We can use the same logic we learned earlier with single sample hypothesis testing

Example You just invented a “magic math pill” that will increase test scores. You give the pill to 4 subjects and another 4 subjects get no pill You then examine their final exam grades

Hypothesis Two-tailed Alternative hypothesis H1: pill = nopill In other words, the means of the two groups will be significantly different Null hypothesis H0: pill = nopill In other words, the means of the two groups will not be significantly different

Hypothesis One-tailed Alternative hypothesis H1: pill > nopill In other words, the pill group will score higher than the no pill group Null hypothesis H0: pill < or = nopill In other words, the pill group will be lower or equal to the no pill group

For current example, lets just see if there is a difference Alternative hypothesis H1: pill = nopill In other words, the means of the two groups will be significantly different Null hypothesis H0: pill = nopill In other words, the means of the two groups will not be significantly different

Results Pill Group 5 3 4 No Pill Group 1 2 4 3

Remember before. . . Step 2: Calculate the Critical t df = N -1

Now Step 2: Calculate the Critical t df = N1 + N2 - 2 df = 4 + 4 - 2 = 6  = .05 t critical = 2.447

Step 3: Draw Critical Region tcrit = -2.447 tcrit = 2.447

Remember before. . . Step 4: Calculate t observed tobs = (X - ) / Sx

Now Step 4: Calculate t observed tobs = (X1 - X2) / Sx1 - x2

Now Step 4: Calculate t observed tobs = (X1 - X2) / Sx1 - x2

Now Step 4: Calculate t observed tobs = (X1 - X2) / Sx1 - x2 X1 = 3.75 X2 = 2.50

Now Step 4: Calculate t observed tobs = (X1 - X2) / Sx1 - x2

Standard Error of a Difference Sx1 - x2 When the N of both samples are equal If N1 = N2: Sx1 - x2 = Sx12 + Sx22

Results Pill Group 5 3 4 No Pill Group 1 2 4 3

Standard Deviation S = -1

Standard Deviation Pill Group 5 3 4 No Pill Group 1 2 4 3 X2= 10

Standard Deviation Pill Group 5 3 4 No Pill Group 1 2 4 3 X2= 10

Standard Deviation Pill Group 5 3 4 No Pill Group 1 2 4 3 X2= 10 Sx= .48 Sx= . 645

Standard Error of a Difference Sx1 - x2 When the N of both samples are equal If N1 = N2: Sx1 - x2 = Sx12 + Sx22

Standard Error of a Difference Sx1 - x2 When the N of both samples are equal If N1 = N2: Sx1 - x2 = (.48)2 + (.645)2

Standard Error of a Difference Sx1 - x2 When the N of both samples are equal If N1 = N2: Sx1 - x2 = (.48)2 + (.645)2 = .80

Standard Error of a Difference Raw Score Formula When the N of both samples are equal If N1 = N2: Sx1 - x2 =

X1= 15 X12= 59 N1 = 4 X2= 10 X22= 30 N2 = 4 Sx1 - x2 =

X1= 15 X12= 59 N1 = 4 X2= 10 X22= 30 N2 = 4 Sx1 - x2 = 10 15

Sx1 - x2 = X1= 15 X12= 59 N1 = 4 X2= 10 X22= 30 N2 = 4 10 15

Sx1 - x2 = X1= 15 X12= 59 N1 = 4 X2= 10 X22= 30 N2 = 4 10 15 4 (4 - 1)

Sx1 - x2 = X1= 15 X12= 59 N1 = 4 X2= 10 X22= 30 N2 = 4 10 15 56.25 30 25 4 4 12

.80 = X1= 15 X12= 59 N1 = 4 X2= 10 X22= 30 N2 = 4 10 15 59 56.25 30 25 7.75 4 4 12

Now Step 4: Calculate t observed tobs = (X1 - X2) / Sx1 - x2 Sx1 - x2 = .80 X1 = 3.75 X2 = 2.50

Now Step 4: Calculate t observed Sx1 - x2 = .80 X1 = 3.75 X2 = 2.50

Now Step 4: Calculate t observed 1.56 = (3.75 - 2.50) / .80 Sx1 - x2 = .80 X1 = 3.75 X2 = 2.50

Step 5: See if tobs falls in the critical region tcrit = -2.447 tcrit = 2.447

Step 5: See if tobs falls in the critical region tcrit = -2.447 tcrit = 2.447 tobs = 1.56

Step 6: Decision If tobs falls in the critical region: Reject H0, and accept H1 If tobs does not fall in the critical region: Fail to reject H0

Step 7: Put answer into words We fail to reject H0. The final exam grades of the “pill group” were not statistically different ( = .05) than the final exam grades of the “no pill” group.

Practice You wonder if people like Pepsi better than Coke ( = .05) You give Pepsi to 5 people and Coke to 5 people. You ask them to rate on a 1 to 5 scale how much they liked their soda.

Results Pepsi 4 5 3 Coke 4 3 2

Hypotheses Alternative hypothesis Null hypothesis H1: Pepsi > Coke Null hypothesis H0: Pepsi = or < Coke

Step 2: Calculate the Critical t df = N1 + N2 - 2 df = 5 + 5 - 2 = 8  = .05 One-tailed t critical = 1.860

Step 3: Draw Critical Region tcrit = 1.860

Now Step 4: Calculate t observed tobs = (X1 - X2) / Sx1 - x2

Sx1 - x2 = X1= 21 X12= 91 N1 = 5 X1 = 4.2 X2= 15 X22= 49 5 (5 - 1)

.58 = X1= 21 X12= 91 N1 = 5 X1 = 4.2 X2= 15 X22= 49 N2 = 5 .58 = 15 21 91 49 5 5 5 (5 - 1)

Step 4: Calculate t observed 2.07 = (4.2 - 3) / .58 Sx1 - x2 = .58 X1 = 4.2 X2 = 3

Step 5: See if tobs falls in the critical region tcrit = 1. 860 tobs = 2.07

Step 6: Decision If tobs falls in the critical region: Reject H0, and accept H1 If tobs does not fall in the critical region: Fail to reject H0

Step 7: Put answer into words We Reject H0, and accept H1 People like Pepsi significantly ( = .05) better than Coke.