Lecture #23 Tuesday, November 8, 2016 Textbook: 13.1 through 13.4

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Statistics.  Statistically significant– When the P-value falls below the alpha level, we say that the tests is “statistically significant” at the alpha.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
AP Statistics – Chapter 9 Test Review
Chapter 10: Hypothesis Testing
Significance Testing Chapter 13 Victor Katch Kinesiology.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Fundamentals of Hypothesis Testing: One-Sample Tests
More About Significance Tests
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Hypothesis Testing for Proportions
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Statistics 101 Chapter 10 Section 2. How to run a significance test Step 1: Identify the population of interest and the parameter you want to draw conclusions.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
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.
© Copyright McGraw-Hill 2004
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Section 10.2: Tests of Significance Hypothesis Testing Null and Alternative Hypothesis P-value Statistically Significant.
Hypothesis Tests for 1-Proportion Presentation 9.
Hypothesis Testing Involving One Population Chapter 11.4, 11.5, 11.2.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Chapter Nine Hypothesis Testing.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests
Hypothesis Testing: One-Sample Inference
Chapter 9 -Hypothesis Testing
Slides by JOHN LOUCKS St. Edward’s University.
Lecture #25 Tuesday, November 15, 2016 Textbook: 14.1 and 14.3
Lecture #24 Thursday, November 10, 2016 Textbook: 13.1 through 13.6
Unit 5 – Chapters 10 and 12 What happens if we don’t know the values of population parameters like and ? Can we estimate their values somehow?
Chapter 24 Comparing Means.
Lecture #18 Thursday, October 20, 2016 Textbook: Sections 12.1 to 12.4
Hypothesis Testing for Proportions
Assumptions For testing a claim about the mean of a single population
FINAL EXAMINATION STUDY MATERIAL III
LBSRE1021 Data Interpretation Lecture 9
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Business Statistics Topic 7
Comparing Means from Two Samples
Chapter 8 Hypothesis Testing with Two Samples.
Statistics 200 Objectives:
Hypothesis Tests: One Sample
Lecture #27 Tuesday, November 29, 2016 Textbook: 15.1
Statistics for Business and Economics (13e)
Chapter 9 Testing A Claim
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Test Review: Ch. 7-9
Elementary Statistics
Chapter 9 Hypothesis Testing.
Elementary Statistics
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Tests of Significance.
Tests of Significance Section 10.2.
Analyzing the Association Between Categorical Variables
WARM - UP Is the coin Fair?
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
Chapter 8 Hypothesis Tests
Inferential statistics Study a sample Conclude about the population Two processes: Estimation (Point or Interval) Hypothesis testing.
Section 11.1: Significance Tests: Basics
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Lecture #23 Tuesday, November 8, 2016 Textbook: 13.1 through 13.4 Statistics 200 Lecture #23 Tuesday, November 8, 2016 Textbook: 13.1 through 13.4 Objectives: • Formulate null and alternative hypotheses involving population means • Calculate T-statistics (for means) instead of Z-statistics (for proportions); determine correct degrees of freedom. • Determine correct test procedure from context of problem. • Identify potential errors that can occur in hypothesis testing; distinguish between type I and type II errors.

Statistical Hypotheses Null Hypothesis, H0: Nothing happening No change / difference Alternative Hypothesis, Ha: Something is happening There is a change / difference

Five steps for a statistical hypothesis test H0 and Ha Z = ___ or T= ___ p = ____ Reject H0 or fail to reject H0 We conclude that… Formulate null and alternative hypotheses. (Verify necessary data conditions and) summarize data into a test statistic. Find a p-value. Make a decision. Report the conclusion in context.

General test statistic formula: An example from Lecture 18: A test for one proportion A sample of 300 drivers from the 16–24 age group found 105 who say that they have driven while drowsy in the last year. Have more than 30% of this age group driven while drowsy in the past year? Check: Both n*p-hat and n*(1–p-hat) are 10.

An example from Lecture 18: A test for one proportion H0: p = 0.30 Ha: p > 0.30 Under H0 assumption Test statistic:

An example from Lecture 18: A test for one proportion With a p-value smaller than 0.05, we reject the null hypothesis. This means we have statistically significant evidence that more than 30% of this age group has driven while drowsy in the past year. P-value = P(Z>1.89) = 0.0294

Today: We consider T statistics (for means) instead of Z statistics (for proportions) The formula is still: Check: n>30 or normal sample In the case of one mean, we have:

Today: We consider T statistics (for means) instead of Z statistics (for proportions) The formula is still: Check: n>30 or normal sample In the case of the mean of paired differences, we have:

Today: We consider T statistics (for means) instead of Z statistics (for proportions) The formula is still: Check: n>30 or normal sample fpr each sample In the case of difference of two means, we have:

Motivating example: is my spin class hurting my hearing? Loud music and spin classes go hand-in-hand, but is the music loud enough to permanently damage hearing? The threshold for hearing loss is accepted to be 85 db. Research Question: Does the average music volume at a spin class exceed 85 db?

Yes – data looks normalish Measured variable: the noise level (in decibels) of music played during exercise classes at a local gym Do the data suggest that the population mean noise level is greater than 85 decibels? Sample from Survey: n = 20 classes mean = 89.8 decibels s = 7.64 decibels Can we use the one-sample t procedure? Yes – data looks normalish State the hypotheses: H0: µ = 85 Ha: µ > 85

H0: μ = 85 decibels Ha: μ > 85 decibels Calculate and interpret the t test statistic H0: μ = 85 decibels Ha: μ > 85 decibels Sample from Survey: n = 20 classes; mean = 89.8 decibels; st dev = 7.64 decibels d.f. = n – 1 = 19 Interpret t statistic: Our sample mean of 89.8 is 2.81 standard deviations above he population mean of 85, assuming the null is true.

Find the p-value in Minitab Select: t table and df = 19 Graph -> Probability Distribution Plots select

Find the p-value in Minitab (continued) H0: μ = 85 decibels Ha: μ > 85 decibels T = 2.81 creates p-value picture found on next slide

p-value picture - one-sided test H0: μ = 85 decibels Ha: μ > 85 decibels df = 19 Interpretation: The likelihood of getting a t-statistic at least as _____ as 2.81, assuming the null hypothesis is true, equals 0.006. large

What can go wrong: Two types of errors This comes from Section 12.1. Consider a medical test for a disease in which the hypotheses are H0: You do not have the disease. Ha: You do have the disease. If you decide to reject H0 but you turn out to be incorrect, this is a false positive. If you decide not to reject H0 but you turn out to be incorrect, this is a false negative.

What can go wrong: Two types of errors This comes from Section 12.1. Consider a medical test for a disease in which the hypotheses are H0: You do not have the disease. Ha: You do have the disease. A false positive is called a type I error. A false negative is called a type II error.

What can go wrong: Two types of errors This comes from Section 12.1. Generally speaking: • A type I error occurs when you erroneously reject H0. • A type II error occurs when you erroneously fail to reject H0. The power of a test is the probability, given a particular alternative is true, of rejecting H0. The level of significance is the p-value cutoff for rejecting H0. (Often it’s 0.05.) If H0 is true, the level of significance is the probability of a type I error.

Decision and conclusion: Clicker Question H0: μ = 85 Ha: μ > 85 p-value = 0.006 Can reject H0 in favor of Ha. Can claim μ > 85. Type 2 error is now possible. Can reject H0 in favor of Ha. Can claim μ > 85. Type 1 error is now possible. Can’t reject H0 in favor of Ha. Cannot claim μ > 85. Type 2 is error is now possible. Can’t reject H0 in favor of Ha. Cannot claim μ > 85. Type 1 error is now possible.

Hypothesis Tests: One Sample Response Variable Categorical Quantitative Population Parameter Sample Estimate Inferential Procedure one-proportion Z one-sample t Test statistic Chapter 12 13 P-value Z table T table with df = (n – 1) because σ is unknown

Which procedure should we use? What kind of data do we have? What kind of research question do we have? Show something specific Estimate a population parameter Categorical (binomial) Quantitative Pop. mean: µ Hypothesis Test Confidence interval Pop. proportion: p

Example: Researchers at Penn State are interested in estimating the percentage of underage students who drink alcohol at least once a month. They should… Construct a confidence interval for a population proportion Perform a hypothesis test for a population proportion Construct a confidence interval for a population mean Perform a hypothesis test for a population mean

What is the average number of texts that a STAT 200 student receives on a weekday? To answer this question we should… Construct a confidence interval for a population proportion Perform a hypothesis test for a population proportion Construct a confidence interval for a population mean Perform a hypothesis test for a population mean

Do more than 30% of Penn State students binge drink at least once a month on average? To answer this question we should… Construct a confidence interval for a population proportion Perform a hypothesis test for a population proportion Construct a confidence interval for a population mean Perform a hypothesis test for a population mean

If you understand today’s lecture… 13.1, 13.3, 13.17, 13.19, 13.23, 13.25, 13.63, 13.67, 13.99 Objectives: • Formulate null and alternative hypotheses involving population means • Calculate T-statistics (for means) instead of Z-statistics (for proportions); determine correct degrees of freedom. • Determine correct test procedure from context of problem. • Identify potential errors that can occur in hypothesis testing; distinguish between type I and type II errors.