Inference Sampling distributions Hypothesis testing.

Slides:



Advertisements
Similar presentations
Statistics Hypothesis Testing.
Advertisements

Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Hypothesis Testing: Intervals and Tests
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)
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
More About Type I and Type II Errors. O.J. Simpson trial: the situation O.J. is assumed innocent. Evidence collected: size 12 Bruno Magli bloody footprint,
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Last Time (Sampling &) Estimation Confidence Intervals Started Hypothesis Testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Probability & Statistical Inference Lecture 6
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
1 Business 90: Business Statistics Professor David Mease Sec 03, T R 7:30-8:45AM BBC 204 Lecture 24 = Start Chapter “Fundamentals of Hypothesis Testing:
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 9 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Hypothesis Testing Methodology Z Test for the Mean (  Known) p-Value Approach to Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
Hypothesis Testing For a Single Population Mean. Example: Grade inflation? Population of 5 million college students Is the average GPA 2.7? Sample of.
Hypothesis Testing For a Single Population Mean. Example: Grade inflation? Population of 5 million college students Is the average GPA 2.7? Sample of.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Statistical Inference An introduction. Big picture Use a random sample to learn something about a larger population.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
© 2002 Prentice-Hall, Inc.Chap 7-1 Statistics for Managers using Excel 3 rd Edition Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
© 2003 Prentice-Hall, Inc.Chap 9-1 Fundamentals of Hypothesis Testing: One-Sample Tests IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION.
Fundamentals of Hypothesis Testing: One-Sample Tests
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Testing Hypotheses Tuesday, October 28. Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-,
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Chapter 10 Hypothesis Testing
© 2003 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First Course (3 rd Edition) Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 8 Introduction to Hypothesis Testing
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
A Broad Overview of Key Statistical Concepts. An Overview of Our Review Populations and samples Parameters and statistics Confidence intervals Hypothesis.
Testing of Hypothesis Fundamentals of Hypothesis.
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Chapter 221 What Is a Test of Significance?. Chapter 222 Thought Question 1 The defendant in a court case is either guilty or innocent. Which of these.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 20 Testing Hypothesis about proportions
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Statistical Inference An introduction. Big picture Use a random sample to learn something about a larger population.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
A review of key statistical concepts. An overview of the review Populations and parameters Samples and statistics Confidence intervals Hypothesis testing.
© 2004 Prentice-Hall, Inc.Chap 9-1 Basic Business Statistics (9 th Edition) Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
Today: Hypothesis testing p-value Example: Paul the Octopus In 2008, Paul the Octopus predicted 8 World Cup games, and predicted them all correctly Is.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Chapter 20 Testing Hypotheses About Proportions. confidence intervals and hypothesis tests go hand in hand:  A confidence interval shows us the range.
1 of 53Visit UMT online at Prentice Hall 2003 Chapter 9, STAT125Basic Business Statistics STATISTICS FOR MANAGERS University of Management.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Review of Central Tendency & Dispersion
Chapter 11: Introduction to Hypothesis Testing Lecture 5b
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Daniela Stan Raicu School of CTI, DePaul University
Hypothesis Testing.
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Inference Sampling distributions Hypothesis testing

Sample Numbers describing sample are statistics Population Numbers describing population are parameters

Random Sample Every unit in the population has an equal probability of being included in the sample

A random sample should represent the population well, so sample statistics from a random sample should provide reasonable estimates of population parameters

All sample statistics have some error in estimating population parameters

If repeated samples are taken from a population and the same statistic (e.g. mean) is calculated from each sample, the statistics will vary, that is, they will have a distribution

Example Average IQ in population is 100 If I take repeated random samples of size 30 from the population, we would expect to get samples with means clustered about 100 Some sample means would be far from 100 – but we expect fewer means the farther we get from 100

A larger sample provides more information than a smaller sample so a statistic from a large sample should have less error than a statistic from a small sample

Review Random samples are the best Statistics have error Statistics have distributions Larger sample size (n) is better - less error

The distribution of a statistic is called a sampling distribution.

Distribution of s when sampling from a normal distribution The distribution of means has a normal distribution with mean = and standard deviation =

Central Limit Theorem If the sample size (n) is large enough, The distribution of means has a normal distribution with mean = and standard deviation = regardless of the population distribution

Example Average IQ = 100, SD = 15. Take random samples of n = 6 adults. Then, sample means are normally distributed with mean 100 and standard error 6.12 [from SD/sqrt(N) = 15/sqrt(6)].

Therefore 68% of samples of n=6 adults will have an average IQ between and % of samples of n=6 adults will have an average IQ between and % of samples of n=6 adults will have an average IQ between and

Same example: larger sample Average IQ = 100, SD = 15. Take random samples of n = 30 adults. Then, sample means are normally distributed with mean 100 and standard error 2.74 [from SD/sqrt(n) = 15/sqrt(30)].

Therefore 68% of samples of n=30 adults will have an average IQ between and % of samples of n=30 adults will have an average IQ between and % of samples of n=30 adults will have an average IQ between and So … the larger the sample, the less the sample averages vary.

Hypothesis Testing

Two ways to learn about a population Confidence intervals Hypothesis testing

Confidence Intervals Allow us to use sample data to estimate a population value, like the true mean or the true proportion. Gives a more accurate representation of what the true population value is likely to be

Hypothesis Testing Allows us to use sample data to test a claim about a population, such as testing whether a population mean equals some number. e.g., do students spend more than 3 hours per week on their stats homework

General Idea of Hypothesis Testing Make an initial assumption. Collect evidence (data). Based on the available evidence, decide whether or not the initial assumption is reasonable.

Example Population of 5 million college students Is the average GPA 2.7? Sample of 100 college students M=2.9 How likely is it that 100 students would have an average GPA as large as 2.9 if the population average was 2.7?

Making the Decision It is either likely or unlikely that we would collect the evidence we did given the initial assumption. If it is likely, then we “do not reject” our initial assumption. There is not enough evidence to do otherwise. Likely is determined by a probability

Making the Decision (cont’d) If it is unlikely, then: –either our initial assumption is correct and we experienced an unusual event –or our initial assumption is incorrect In statistics, if it is unlikely, we decide to “reject” our initial assumption.

Idea of Hypothesis Testing: Criminal Trial Analogy First, state 2 hypotheses, the null hypothesis (“H 0 ”) and the alternative hypothesis (“H A ”) –H 0 : Defendant is not guilty. –H A : Defendant is guilty.

Hypotheses The null hypothesis always represents the status quo, i.e. the hypothesis that requires no change in current behavior. The alternative hypothesis is the conclusion that the researcher is trying to make.

Criminal Trial Analogy (continued) Then, collect evidence, such as finger prints, blood spots, hair samples, carpet fibers, shoe prints, ransom notes, handwriting samples, etc. In statistics, the data are the evidence.

Criminal Trial Analogy (continued) Then, make initial assumption. –Defendant is innocent until proven guilty. In statistics, we always assume the null hypothesis is true.

Criminal Trial Analogy (continued) Then, make a decision based on the available evidence. –If there is sufficient evidence (“beyond a reasonable doubt”), reject the null hypothesis. (Behave as if defendant is guilty.) –If there is not enough evidence, do not reject the null hypothesis. (Behave as if defendant is not guilty.)

Important Point Neither decision entails proving the null hypothesis or the alternative hypothesis. No matter what decision we make, there is always a chance we made an error.

Errors in Criminal Trials

Errors in Hypothesis Testing

Definitions: Types of Errors Type I error: The null hypothesis is rejected when it is true. Type II error: The null hypothesis is not rejected when it is false. Always chance of error – want to minimize that chance

Example Population of many, many adults Is average adult body temperature 98.6 degrees? Or is it lower? Sample of 80 adults M=98.4 Average body temperature of 80 sampled adults is 98.4 degrees.

Example (continued) Specify hypotheses. –H 0 :  = 98.6 degrees –H A :  < 98.6 degrees Make initial assumption:  = 98.6 degrees Collect data: Average body temp of 80 sampled adults is 98.4 degrees. How likely is it that a sample of 80 adults would have an average body temp as low as 98.4 if the average body temp of population was 98.6?

Using the probability to make the decision The probability represents how likely we would be to observe such an extreme sample if the null hypothesis were true. The probability is a number between 0 and 1. Close to 0 means “unlikely.” So if probabilities are “small,” (typically, less than 0.05), then reject the null hypothesis.

Example (continued) The probability can easily be obtained from statistical software like SPSS. Say we calculate a p of

Example (continued) The p-value, , indicates that, if the average body temperature in the population is 98.6 degrees, it is unlikely that a sample of 80 adults would have an average body temperature as extreme as 98.4 degrees. Decision: Reject the null hypothesis. Conclude that the average body temperature is lower than 98.6 degrees.

What type of error might we have made? Type I error here is claiming that average body temp is lower than 98.6 when in fact it really isn’t. Type II error here is failing to claim that the average body temp is lower than 98.6 when it is. We rejected the null hypothesis, i.e. claimed body temp is lower than 98.6, so we may have made a Type I error.