Sampling Distributions, Hypothesis Testing and One-sample Tests.

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

Introductory Mathematics & Statistics for Business
Tests of Hypotheses Based on a Single Sample
Chapter 7 Hypothesis Testing
Introduction to Hypothesis Testing
Hypothesis Tests: Two Independent Samples
Chapter 9 Introduction to the t-statistic
“Students” t-test.
Statistics for the Social Sciences Psychology 340 Spring 2005 Using t-tests.
Inferential Statistics
Chapter 16 Inferential Statistics
Fundamental Statistics for the Behavioral Sciences, 5th edition David C. Howell Chapter 12 Hypothesis Tests: One Sample Mean © 2003 Brooks/Cole Publishing.
Power and Effect Size Cal State Northridge  320 Andrew Ainsworth PhD.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
1 COMM 301: Empirical Research in Communication Lecture 15 – Hypothesis Testing Kwan M Lee.
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
Inferential Statistics & Hypothesis Testing
AP Statistics – Chapter 9 Test Review
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
Cal State Northridge  320 Andrew Ainsworth PhD Hypothesis Tests: One Sample Mean.
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
If you think you made a lot of mistakes in the survey project…. Think of how much you accomplished and the mistakes you did not make…
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Hypothesis Testing: Type II Error and Power.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 9: Hypothesis Tests for Means: One Sample.
Major Points An exampleAn example Sampling distributionSampling distribution Hypothesis testingHypothesis testing  The null hypothesis  Test statistics.
Major Points An example Sampling distribution Hypothesis testing
T-tests Part 1 PS1006 Lecture 2
Chapter 11: Inference for Distributions
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Major Points Formal Tests of Mean Differences Review of Concepts: Means, Standard Deviations, Standard Errors, Type I errors New Concepts: One and Two.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Fundamental Statistics for the Behavioral Sciences, 5th edition David C. Howell Chapter 8 Sampling Distributions and Hypothesis Testing © 2003 Brooks/Cole.
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.
Overview Definition Hypothesis
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Sampling Distributions and Hypothesis Testing. 2 Major Points An example An example Sampling distribution Sampling distribution Hypothesis testing Hypothesis.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Education 793 Class Notes T-tests 29 October 2003.
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
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ μ.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Monday, October 22 Hypothesis testing using the normal Z-distribution. Student’s t distribution. Confidence intervals.
© Copyright McGraw-Hill 2004
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
One Tailed and Two Tailed tests One tailed tests: Based on a uni-directional hypothesis Example: Effect of training on problems using PowerPoint Population.
Monday, October 21 Hypothesis testing using the normal Z-distribution. Student’s t distribution. Confidence intervals.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Chapter 9 Introduction to the t Statistic
Sampling Distributions and Hypothesis Testing
Hypothesis Testing.
Interval Estimation and Hypothesis Testing
What are their purposes? What kinds?
Presentation transcript:

Sampling Distributions, Hypothesis Testing and One-sample Tests

Media Violence Does violent content in a video affect later behavior?Does violent content in a video affect later behavior? XBushman (1998) Two groups of 100 subjects saw a videoTwo groups of 100 subjects saw a video XViolent video versus nonviolent video Then free associated to 26 homonyms with aggressive & nonaggressive forms.Then free associated to 26 homonyms with aggressive & nonaggressive forms. Xe.g. cuff, mug, plaster, pound, sock Cont.

Media Violence--cont. ResultsResults XMean number of aggressive free associates = 7.10 Assume we know that without aggressive video the mean would be 5.65, and the standard deviation = 4.5Assume we know that without aggressive video the mean would be 5.65, and the standard deviation = 4.5  These are parameters (  and  Is 7.10 enough larger than 5.65 to conclude that video affected results?Is 7.10 enough larger than 5.65 to conclude that video affected results?

Sampling Distribution of the Mean We need to know what kinds of sample means to expect if video has no effect.We need to know what kinds of sample means to expect if video has no effect.  i. e. What kinds of means if  = 5.65 and  = 4.5? XThis is the sampling distribution of the mean. Cont.

Sampling Distribution of the Mean--cont. The sampling distribution of the mean depends onThe sampling distribution of the mean depends on XMean of sampled population Why?Why? XSt. dev. of sampled population Why?Why? XSize of sample Why?Why? Cont.

Sampling Distribution of the mean--cont. Shape of the sampling distributionShape of the sampling distribution XApproaches normal Why?Why? XRate of approach depends on sample size Why?Why? Basic theoremBasic theorem XCentral limit theorem

Central Limit Theorem Given a population with mean =  and standard deviation = , the sampling distribution of the mean (the distribution of sample means) has a mean = , and a standard deviation =  /  n. The distribution approaches normal as n, the sample size, increases.Given a population with mean =  and standard deviation = , the sampling distribution of the mean (the distribution of sample means) has a mean = , and a standard deviation =  /  n. The distribution approaches normal as n, the sample size, increases.

Demonstration Let population be very skewedLet population be very skewed Draw samples of 3 and calculate meansDraw samples of 3 and calculate means Draw samples of 10 and calculate meansDraw samples of 10 and calculate means Plot meansPlot means Note changes in means, standard deviations, and shapesNote changes in means, standard deviations, and shapes Cont.

Parent Population Cont.

Sampling Distribution n = 3 Cont.

Sampling Distribution n = 10 Cont.

Demonstration--cont. Means have stayed at 3.00 throughout-- except for minor sampling errorMeans have stayed at 3.00 throughout-- except for minor sampling error Standard deviations have decreased appropriatelyStandard deviations have decreased appropriately Shapes have become more normal--see superimposed normal distribution for referenceShapes have become more normal--see superimposed normal distribution for reference

Steps in Hypothesis Testing Define the null hypothesis.Define the null hypothesis. Decide what you would expect to find if the null hypothesis were true.Decide what you would expect to find if the null hypothesis were true. Look at what you actually found.Look at what you actually found. Reject the null if what you found is not what you expected.Reject the null if what you found is not what you expected.

The Null Hypothesis The hypothesis that our subjects came from a population of normal responders.The hypothesis that our subjects came from a population of normal responders. The hypothesis that watching a violent video does not change mean number of aggressive interpretations.The hypothesis that watching a violent video does not change mean number of aggressive interpretations. The hypothesis we usually want to reject.The hypothesis we usually want to reject.

Important Concepts Concepts critical to hypothesis testingConcepts critical to hypothesis testing XDecision XType I error XType II error XCritical values XOne- and two-tailed tests

Decisions When we test a hypothesis we draw a conclusion; either correct or incorrect.When we test a hypothesis we draw a conclusion; either correct or incorrect. XType I error Reject the null hypothesis when it is actually correct.Reject the null hypothesis when it is actually correct. XType II error Retain the null hypothesis when it is actually false.Retain the null hypothesis when it is actually false.

Type I Errors Assume violent videos really have no effect on associationsAssume violent videos really have no effect on associations Assume we conclude that they do.Assume we conclude that they do. This is a Type I errorThis is a Type I error XProbability set at alpha (  )  usually at.05  usually at.05 XTherefore, probability of Type I error =.05

Type II Errors Assume violent videos make a differenceAssume violent videos make a difference Assume that we conclude they don’tAssume that we conclude they don’t This is also an error (Type II)This is also an error (Type II) XProbability denoted beta (  ) We can’t set beta easily.We can’t set beta easily. We’ll talk about this issue later.We’ll talk about this issue later. Power = (1 -  ) = probability of correctly rejecting false null hypothesis.Power = (1 -  ) = probability of correctly rejecting false null hypothesis.

Critical Values These represent the point at which we decide to reject null hypothesis.These represent the point at which we decide to reject null hypothesis. e.g. We might decide to reject null when (p|null) <.05.e.g. We might decide to reject null when (p|null) <.05. XOur test statistic has some value with p =.05 XWe reject when we exceed that value. XThat value is the critical value.

One- and Two-Tailed Tests Two-tailed test rejects null when obtained value too extreme in either directionTwo-tailed test rejects null when obtained value too extreme in either direction XDecide on this before collecting data. One-tailed test rejects null if obtained value is too low (or too high)One-tailed test rejects null if obtained value is too low (or too high) XWe only set aside one direction for rejection. Cont.

One- & Two-Tailed Example One-tailed testOne-tailed test XReject null if violent video group had too many aggressive associates Probably wouldn’t expect “too few,” and therefore no point guarding against it.Probably wouldn’t expect “too few,” and therefore no point guarding against it. Two-tailed testTwo-tailed test XReject null if violent video group had an extreme number of aggressive associates; either too many or too few.

Testing Hypotheses:  known H 0 :  = 5.65H 0 :  = 5.65 H 1 :  5.65  (Two-tailed)H 1 :  5.65  (Two-tailed) Calculate p (sample mean) = 7.10 if  = 5.65Calculate p (sample mean) = 7.10 if  = 5.65 Use z from normal distributionUse z from normal distribution Sampling distribution would be normalSampling distribution would be normal

Using z To Test H 0 Calculate zCalculate z If z > , reject H 0If z > , reject H > > 1.96 XThe difference is significant. Cont.

z--cont. Compare computed z to histogram of sampling distributionCompare computed z to histogram of sampling distribution The results should look consistent.The results should look consistent. Logic of testLogic of test XCalculate probability of getting this mean if null true. XReject if that probability is too small.

Testing When  Not Known Assume same example, but  not knownAssume same example, but  not known Can’t substitute s for  because s more likely to be too smallCan’t substitute s for  because s more likely to be too small XSee next slide. Do it anyway, but call answer tDo it anyway, but call answer t Compare t to tabled values of t.Compare t to tabled values of t.

Sampling Distribution of the Variance Population variance = n = 5 10,000 samples 58.94% <

t Test for One Mean Same as z except for s in place of .Same as z except for s in place of . For Bushman, s = 4.40For Bushman, s = 4.40

Degrees of Freedom Skewness of sampling distribution of variance decreases as n increasesSkewness of sampling distribution of variance decreases as n increases t will differ from z less as sample size increasest will differ from z less as sample size increases Therefore need to adjust t accordinglyTherefore need to adjust t accordingly df = n - 1df = n - 1 t based on dft based on df

t Distribution

Conclusions With n = 100, t = 1.98With n = 100, t = 1.98 Because t = 3.30 > 1.98, reject H 0Because t = 3.30 > 1.98, reject H 0 Conclude that viewing violent video leads to more aggressive free associates than normal.Conclude that viewing violent video leads to more aggressive free associates than normal.

Factors Affecting t Difference between sample and population meansDifference between sample and population means Magnitude of sample varianceMagnitude of sample variance Sample sizeSample size

Factors Affecting Decision Significance level Significance level  One-tailed versus two-tailed testOne-tailed versus two-tailed test

Size of the Effect We know that the difference is significant.We know that the difference is significant. XThat doesn’t mean that it is important. Population mean = 5.65, Sample mean = 7.10Population mean = 5.65, Sample mean = 7.10 Difference is nearly 1.5 words, or 25% more violent words than normal.Difference is nearly 1.5 words, or 25% more violent words than normal. Cont.

Effect Size (cont.) Later we will express this in terms of standard deviations.Later we will express this in terms of standard deviations. X1.45 units is 1.45/4.40 = 1/3 of a standard deviation.

Confidence Limits on Mean Sample mean is a point estimateSample mean is a point estimate We want interval estimateWe want interval estimate  Probability that interval computed this way includes  = 0.95

For Our Data

Confidence Interval The interval does not include the population mean without a violent videoThe interval does not include the population mean without a violent video Consistent with result of t test.Consistent with result of t test. Confidence interval and effect size tell us about the magnitude of the effect.Confidence interval and effect size tell us about the magnitude of the effect. What can we conclude from confidence interval?What can we conclude from confidence interval?