1 Outline Small Sample Tests 1. Hypothesis Test for  – Small Samples 2. t-test Example 1 3. t-test Example 2 4. Hypothesis Test for the Population Proportion.

Slides:



Advertisements
Similar presentations
Estimating a Population Variance
Advertisements

1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Inferential Statistics & Hypothesis Testing
Ethan Cooper (Lead Tutor)
1/71 Statistics Inferences About Population Variances.
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
The Normal Distribution. n = 20,290  =  = Population.
Chapter 7 Sampling and Sampling Distributions
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
1 Chapter 12 Inference About a Population 2 Introduction In this chapter we utilize the approach developed before to describe a population.In this chapter.
8-4 Testing a Claim About a Mean
8-5 Testing a Claim About a Standard Deviation or Variance This section introduces methods for testing a claim made about a population standard deviation.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Hypothesis Testing Using The One-Sample t-Test
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Review of normal distribution. Exercise Solution.
AM Recitation 2/10/11.
Hypothesis Testing:.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Hypothesis Testing II The Two-Sample Case.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Section 9.5 Testing the Difference Between Two Variances Bluman, Chapter 91.
Section 8.2 Estimating  When  is Unknown
Sampling Distribution of the Mean Central Limit Theorem Given population with and the sampling distribution will have: A mean A variance Standard Error.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-5 Testing a Claim About a Mean:  Not Known.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Chapter 9: Testing Hypotheses
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 11 Inferences About Population Variances n Inference about a Population Variance n.
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 Outline 1.Review of last week 2.Sampling distributions 3.The sampling distribution of the mean 4.The Central Limit Theorem 5.Confidence intervals 6.Normal.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
381 Hypothesis Testing (Testing with Two Samples-III) QSCI 381 – Lecture 32 (Larson and Farber, Sects 8.3 – 8.4)
Hypothesis Testing Using the Two-Sample t-Test
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
© 2011 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Confidence Intervals for Population Proportions
1 Section 9-4 Two Means: Matched Pairs In this section we deal with dependent samples. In other words, there is some relationship between the two samples.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Psych 230 Psychological Measurement and Statistics
Chapter Twelve The Two-Sample t-Test. Copyright © Houghton Mifflin Company. All rights reserved.Chapter is the mean of the first sample is the.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
11.5 Testing the Difference Between Two Variances
© Copyright McGraw-Hill 2004
Estimating a Population Mean. Student’s t-Distribution.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Assumptions 1) Sample is large (n > 30) a) Central limit theorem applies b) Can.
Lecture Slides Elementary Statistics Twelfth Edition
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Psychology 290 Lab z-tests & t-tests March 5 - 7, 2007 –z-test –One sample t-test –SPSS – Chapter 7.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Outline Hypothesis tests – population proportion Example 1 Example 2.
Estimation and Confidence Intervals. Point Estimate A single-valued estimate. A single element chosen from a sampling distribution. Conveys little information.
Chapter 7 Estimation. Chapter 7 ESTIMATION What if it is impossible or impractical to use a large sample? Apply the Student ’ s t distribution.
Chapter Nine Hypothesis Testing.
Unit 8 Section 7.5.
John Loucks St. Edward’s University . SLIDES . BY.
Chapter 8 Hypothesis Testing with Two Samples.
Chapter 11 Inferences About Population Variances
Chapter 6 Confidence Intervals.
Calculating Probabilities for Any Normal Variable
Elementary Statistics: Picturing The World
Estimation and Confidence Intervals
How Confident Are You?.
Presentation transcript:

1 Outline Small Sample Tests 1. Hypothesis Test for  – Small Samples 2. t-test Example 1 3. t-test Example 2 4. Hypothesis Test for the Population Proportion p – Large Samples 5. Population Proportion Example 1 6. Population Proportion Example 2

2 Hypothesis Testing – Small Samples Small Sample Tests  Central Limit Theorem (review):  For large enough samples, sampling distribution of the mean will be normal even if the raw data are not normally-distributed.  But what do we do when our sample size is not “large enough?”

3 For n < 30, we face two problems: Small Sample Tests a) Central Limit Theorem does not apply  Z does not give probability of finding X in some range relative to μ O, when n < 30.

Small Sample Tests When sampling distribution of the mean is normal, the Z table gives us the probability that we will find a sample mean in some range (for samples of size n, with μ = μ 0 ). μ0μ0

Small Sample Tests But when n is < 30, we cannot be sure that the sampling distribution of the mean is normal. So, how do we obtain the probability that a sample mean will be in a given range? μ0μ0

6 For n < 30, we face two problems: Small Sample Tests b) s is not a good estimator of .  That is, variability in the sample is not a good source of information about variability in the population.

7 Hypothesis Testing – Small Samples Small Sample Tests  To measure the probability of finding the mean of a small sample in a given range relative to μ O, we use a different probability distribution – the t distribution. t = –  s/√n X

8 Hypothesis test for small samples Small Sample Tests  CAUTION:  The t distribution changes shape with sample size, becoming more like the SND as n gets larger.  For a hypothesis test, to find the critical value of t in the t table, you need to know 2 things: α and degrees of freedom.  For the one-sample t test, d.f. = n – 1.

9 Hypothesis Testing – Small Samples Small Sample Tests  Very important point about testing with n < 30:  If an exam question with n < 30 gives you the population standard deviation, , then use Z.  Large n (≥ 30)use Z  Small n,  knownuse Z  Small n,  unknownuse t

10 Hypothesis Testing – Small Samples Small Sample Tests H 0 :  =  0 H A :  ≤  0 H A :  ≠  0 or H A :  ≥  0 (One-tailed test)(Two-tailed test) Test Statistic:t = -  0 s/√n X

11 Hypothesis Testing – Small Samples Small Sample Tests Rejection Region: One-tailed test:Two-tailed test: t obt > t α │ t obt │ > t α /2 or t obt < -t α  Where t α and t α /2 are based on d.f. = (n – 1)  Remember to report your decision explicitly!!

12 Confidence Interval – Small Samples Small Sample Tests C.I. = ± t α /2 (s/√n)  Notes: t α /2 is based on d.f. = (n – 1). Use this C.I. when n < 30 and  not known. X

13 Example 1 – t-test Small Sample Tests  In a recent pollution report, a team of scientists expressed alarm at the dihydrogen monoxide levels in fish in Ontario lakes. Historically, the average dihydrogen monoxide level has been 2.65 parts per thousand (ppt). This year, samples of fish from 20 lakes in Ontario turned up an average dihydrogen monoxide count of 2.98 ppt with a variance of 36.  Note: for more information on DHMO, visit

14 Example 1 – t-test Small Sample Tests a. Does it appear that dihydrogen monoxide levels are increasing in fish in Ontario lakes? ( α =.01) b. The dihydrogen monoxide levels of fish in 5 lakes in the Timmins area were 2.84, 3.96, 4.40, 1.60, and Construct a 95% confidence level for the average dihydrogen monoxide counts in fish in the Timmins area.

15 Example 1a – t-test Small Sample Tests H 0 :  = 2.65 H A :  > 2.65 Test Statistic:t = -  0 s/√n Rejection region:t obt > t.01,19 = X

16 Example 1a – t-test Small Sample Tests = 2.98s 2 = 36n = 20 t obt = 2.98 – 2.65 √36/20 t obt = Decision: Do not reject H 0. There is not enough evidence to conclude that dihydrogen monoxide levels are increasing. X

17 Example 1b – t-test Small Sample Tests Σ X = = 15.43/5 = Σ X 2 = ( Σ X) 2 = = S 2 = – = S = √1.242 = 1.114S = 1.114/√5 =.498 X X

18 Example 1b – t-test Small Sample Tests  C.I. = ± t α /2 (s/√n)  For 95% C.I., α =.05. Associated t.025,4 =  C.I. = ± (.498) = (1.703 ≤  ≤ 4.469) X

19 Example 2 – t-test Small Sample Tests  There have been claims that provincial funding cuts for hospitals have led to an increase in the average waiting time for elective surgery. A search of past records reveals that that average waiting time for elective surgery was 38.5 days prior to the 2003 Ontario election. A random sample of patients scheduled for elective surgery is identified, and the waiting time until surgery for each patient is measured. The data are shown below as # of days intervening between when surgery is ordered and when it occurred.  Is there evidence in these data that average waiting time has increased under the current provincial government? ( α =.01)

20 Example 2 – t-test Small Sample Tests Patient #Waiting time (days)

21 Example 2 – t-test Small Sample Tests H 0 :  = 38.5 H A :  > 38.5 Test Statistic:t = –  0 s/√n Rejection region:t obt > t.01,7 = X Why one-tailed?

22 Example 2 – t-test Small Sample Tests Σ x = 329n = 8 = Σ x 2 = s 2 = – (329) s 2 = s = √ = X

23 Example 2 – t-test Small Sample Tests t obt = – /√8 t obt =  Decision: Do not reject H 0. There is not sufficient evidence to conclude that waiting times have increased.  Note: Be sure to give the full decision.

24 Example 3 – t-test Small Sample Tests  It is known that the mean # of errors made on a particular pursuit rotor task is A physiologist wishes to know if people who have had a spinal cord injury but who are apparently recovered perform less well on this task. In order to test this, a random sample of 8 people who have had spinal cord injuries is chosen and they are administered the pursuit rotor task. The # of errors each made is: 63, 66, 65, 62, 60, 68, 66, 64

25 Example 3 – t-test Small Sample Tests a. Is there evidence to support the belief that ‘recovered’ patients are impaired in performing this task? ( α =.01) b. Form the 90% C.I. for the mean number of errors committed by recovered patients.

26 Example 3a – t-test Small Sample Tests Note these words: “It is known…”Population information “The mean # of errorsThis is  0. is … 60.9” “In order to test this…”Hypothesis Test!! “a random sample of 8…”n < 30,  not known This calls for a t-test…

27 Example 3a – t-test Small Sample Tests H 0 :  = 60.9 H A :  > 60.9 Test Statistic:t = -  0 s/√n Rejection region:t obt > t.01,7 = X Why “greater than?”

28 Example 3a – t-test Small Sample Tests = 64.25s = 2.55n = 8 t obt = – /√8 t obt = 3.72 Decision: Reject H 0. Recovered patients perform worse than normals on this task. X

29 Example 3b – t-test Small Sample Tests C.I. = ± t α /2 (s/√n) For 90% C.I., α =.10. Corresponding t.05,7 = C.I. = ± (2.55/√8) ( ≤  ≤ ) X