1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.

Slides:



Advertisements
Similar presentations
Psych 5500/6500 t Test for Two Independent Groups: Power Fall, 2008.
Advertisements

1 COMM 301: Empirical Research in Communication Lecture 15 – Hypothesis Testing Kwan M Lee.
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.
Lecture 2: Null Hypothesis Significance Testing Continued Laura McAvinue School of Psychology Trinity College Dublin.
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Psych 5500/6500 The Sampling Distribution of the Mean Fall, 2008.
1 One Tailed Tests Here we study the hypothesis test for the mean of a population when the alternative hypothesis is an inequality.
Psych 5500/6500 Null Hypothesis Testing: General Concepts
Hypothesis testing Week 10 Lecture 2.
1. Estimation ESTIMATION.
Review: What influences confidence intervals?
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Inference about a Mean Part II
T-Tests Lecture: Nov. 6, 2002.
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 2): p Values One-Tail Tests Assumptions Fall, 2008.
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.
1 Confidence Interval for Population Mean The case when the population standard deviation is unknown (the more common case).
Hypothesis Testing Using The One-Sample t-Test
Chapter 9: Introduction to the t statistic
1 Psych 5500/6500 Statistics and Parameters Fall, 2008.
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.
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
Intermediate Statistical Analysis Professor K. Leppel.
Overview Definition Hypothesis
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 9. Hypothesis Testing I: The Six Steps of Statistical Inference.
Hypothesis Testing II The Two-Sample Case.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Chapter 8 Hypothesis testing 1. ▪Along with estimation, hypothesis testing is one of the major fields of statistical inference ▪In estimation, we: –don’t.
Confidence Intervals and Hypothesis Testing
Significance Tests …and their significance. Significance Tests Remember how a sampling distribution of means is created? Take a sample of size 500 from.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
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 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
1 Psych 5500/6500 t Test for Two Independent Means Fall, 2008.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 4): Power Fall, 2008.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
1 Psych 5500/6500 Introduction to the F Statistic (Segue to ANOVA) Fall, 2008.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
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.
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Example You give 100 random students a questionnaire designed to measure attitudes toward living in dormitories Scores range from 1 to 7 –(1 = unfavorable;
Inferences from sample data Confidence Intervals Hypothesis Testing Regression Model.
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.
Stats Lunch: Day 3 The Basis of Hypothesis Testing w/ Parametric Statistics.
Review I A student researcher obtains a random sample of UMD students and finds that 55% report using an illegally obtained stimulant to study in the past.
Testing the Differences between Means Statistics for Political Science Levin and Fox Chapter Seven 1.
Welcome to MM570 Psychological Statistics
Chapter 11: Estimation of Population Means. We’ll examine two types of estimates: point estimates and interval estimates.
Hypothesis test flow chart
Chapter 9: Introduction to the t statistic. The t Statistic The t statistic allows researchers to use sample data to test hypotheses about an unknown.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Welcome to MM570 Psychological Statistics Unit 5 Introduction to Hypothesis Testing Dr. Ami M. Gates.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
9.3 Hypothesis Tests for Population Proportions
Hypothesis Testing: One Sample Cases
Hypothesis testing March 20, 2000.
Hypothesis Testing: Two Sample Test for Means and Proportions
Review: What influences confidence intervals?
Hypothesis Testing.
Presentation transcript:

1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008

2 Back to Our Example We are testing a theory which predicts that Elbonians should have a different mean IQ than people in the USA. In general H 0 is the hypothesis of ‘no difference’, while H A is the hypothesis that reflects what the theory predicts. H 0 : μ Elbonia = 100 (same as USA) H A : μ Elbonia  100 (different than the USA)

3 Challenge The sample mean of the Elbonians is 106, the challenge is to determine whether this is because the population mean of Elbonians is different than 100, or if the Elbonians have a population mean of 100 and we obtained a sample mean six above that just due to chance (i.e. our sample had random bias).

4 Approach 1.Determine the probability of obtaining our data if H 0 were true. 2.If that probability is low enough (less than or equal to our significance level of.05) then reject H 0.

5 Test Statistic The statistic that is going to make or break H0 is the sample mean, this is our ‘test statistic’. We need to see what values the test statistic could take on if H 0 were true.

6 Sampling Distribution This is the population of values the sample mean could be if H0 is true.

7 Normality of the Sampling Distribution We will be estimating the standard deviation of the population so the SDM will be modeled using the t distribution, rather than the normal distribution. For the probabilities in the t table to be accurate we need to either sample our scores from a normal population or make sure that our sample N is 30 or greater. As we will be using a small N in this example (to make number crunching easier) let’s assume that the IQ scores of Elbonians are normally distributed.

8 Mean of the SDM We are looking at the sampling distribution of the mean assuming H0 is true. If H0 is true, then the mean IQ of Elbonians is 100, we will use that to determine the mean of the SDM.

9 SDM (so far)

10 Standard Error To find the standard deviation of the SDM (i.e. the ‘standard error’) we need to know the standard deviation of the population. We don’t, so we will have to estimate it from our sample of 6 scores.

11 SDM (so far)

12 Rejection Regions Now, we are interested in those values of the sample mean that have a 5% chance or less of happening if H0 were true. If we get a sample mean in that area of the curve we will decide to ‘reject H0’. If we get a sample mean close to what H0 predicts (i.e. close to 100) then we will ‘not reject H0’.

13 SDM (so far)

14 t critical values The next step is to find out how many standard deviations above and below the mean we have to go to cut off the 5% most unlikely means (2.5% on each tail). d.f.= N -1 = 6 -1= 5 Looking in the t table we see that leads to a t value of (the lower tail would be ). As this establishes where we make our decision about H0, these are called the ‘t critical values’.

15 SDM (so far)

16 t obtained value OK, our criteria are set, there is only a 5% chance that the sample mean will fall or more standard deviations away from the mean if H0 is true, if the sample mean does fall that far away from the mean then we will reject H0. Now, the sample mean we obtained was 106, we need to change that into a standard score to see where if falls on our curve. The standard score of the sample mean is called the ‘t obtained value’.

17 t obtained value (cont.) Remember that a standard score is always some point on a curve minus the mean of the curve divided by the standard deviation of the curve. So, our sample mean of 106 falls almost four standard deviations above the mean on the curve representing what H0 predicts.

18 SDM (so far) Our decision is “to reject H0”

19 Equivalent Approach We could also have found what values of the sample mean fall at the rejection regions. From the graph above it is clear that our sample mean of 106 would lead to a decision to reject H0.

20 Stating the Decision Remember: H 0 : μ Elbonia = 100 (same as USA) H A : μ Elbonia  100 (different than the USA) Decision: ‘We reject H0” Since ‘rejecting H0’ implies ‘accepting HA’, we can go on to say... We can conclude that the mean IQ of the population of Elbonians does not equal 100’.

21 Possible Error If our decision is to ‘reject H0’, then if we are wrong that would be a type 1 error. If the null hypothesis happens to actually be true (μ Elbonia = 100) then there is a.05 chance that we would obtain a sample mean that would lead us to erroneously reject H0 (i.e. α=.05)

22 What if... Let’s take a look an an example where everything is exactly the same except the data lead to ‘not rejecting’. I’ll simply subtract 4 from each of the scores to give us a sample mean closer to 100, without changing d.f. or our estimate of the standard deviation. Y=102, 99, 104, 96, 105, 106 Mean=102

23 t obtained value Remember that a standard score is always some point on a curve minus the mean of the curve divided by the standard deviation of the curve. So, our sample mean of 102 falls a little more than one standard deviation above the mean of the curve representing what H0 predicts.

24 SDM Our decision is “do not reject H0”

25 Equivalent Approach It is clear that a sample mean of 102 would lead to not rejecting H0

26 Stating the Decision Remember: H 0 : μ Elbonia = 100 (same as USA) H A : μ Elbonia  100 (different than the USA) Decision: Do not reject H0. Since ‘not rejecting H0’ implies ‘not accepting HA’, we can say... “We can not conclude that the mean IQ of the population of Elbonians differs from 100”, or clearer still, “We cannot determine whether or not the mean IQ of Elbonians differs from 100” (I like this wording as it best conveys the ambiguity of the result). However, we can’t say... “We can conclude that the mean IQ of Elbonians equals 100.”

27 Huh? Under most circumstances, when the mean falls in the ‘do not reject H0’ area, you can say you ‘fail to reject H0’ but you can’t say that you ‘accept H0’ or that you’ve ‘proven H0 is correct’. The reason for this will be developed in the lecture on ‘power’. For now, think of it this way: You set out to try to find a difference between the actual population mean and the value proposed by H0. If you find a difference, then that result is interpretable (reject H0). If you don’t find a difference, is that because the difference doesn’t exist or because you didn’t search hard enough to find it?

28 Confidence Intervals We can now return to confidence intervals, as we now have the tool we need to generate them (i.e. the t table). The 95% confidence interval of the mean can be generated using the following formula, where t d.f.,α=.05,2-tail stands for the t c value for the two-tailed alpha of.05 with the appropriate degrees of freedom. For our sample that had a mean of

29 99% Confidence Interval For other intervals use a different value for alpha. For the 99% confidence interval use the two-tailed t c for alpha=.01

30 Using Confidence Intervals Confidence intervals can be used to make decisions about a priori hypotheses. Any hypothesis that proposed (a priori) a μ outside that range can be rejected at the.05 significance level.

31 Using Confidence Intervals The 95% confidence interval for our data was:  μ Y  Note that H0 said that μ =100, thus H0 can be rejected using the confidence interval. There is absolutely no difference between testing H0 using a two-tailed test and doing the same thing using confidence intervals. Confidence intervals are useful in other ways, however, and we will take a look at those towards the end of the semester when we examine alternatives to null hypothesis testing.