Stat 31, Section 1, Last Time Distribution of Sample Means –Expected Value  same –Variance  less, Law of Averages, I –Dist’n  Normal, Law of Averages,

Slides:



Advertisements
Similar presentations
Hypothesis Testing making decisions using sample data.
Advertisements

AP Statistics – Chapter 9 Test Review
T-tests Computing a t-test  the t statistic  the t distribution Measures of Effect Size  Confidence Intervals  Cohen’s d.
QM Spring 2002 Business Statistics Introduction to Inference: Hypothesis Testing.
Stat 217 – Day 22 Review. Last Time – Subtle Issues Make sure you have a random sample or interval doesn’t tell you much! Make sure you have a sample!
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Sample Size Determination In the Context of Hypothesis Testing
7/2/2015Basics of Significance Testing1 Chapter 15 Tests of Significance: The Basics.
Chapter 9 Hypothesis Testing.
Ch. 9 Fundamental of Hypothesis Testing
Inference about Population Parameters: Hypothesis Testing
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Statistics: Unlocking the Power of Data Lock 5 Inference for Proportions STAT 250 Dr. Kari Lock Morgan Chapter 6.1, 6.2, 6.3, 6.7, 6.8, 6.9 Formulas for.
Example 10.1 Experimenting with a New Pizza Style at the Pepperoni Pizza Restaurant Concepts in Hypothesis Testing.
Warm-up Day of 8.1 and 8.2 Quiz and Types of Errors Notes.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
14. Introduction to inference
Stat 31, Section 1, Last Time T distribution –For unknown, replace with –Compute with TDIST & TINV (different!) Paired Samples –Similar to above, work.
Introduction to Statistical Inferences Inference means making a statement about a population based on an analysis of a random sample taken from the population.
Comparing Two Population Means
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Stat 31, Section 1, Last Time Statistical Inference Confidence Intervals: –Range of Values to reflect uncertainty –Bracket true value in 95% of repetitions.
Essential Statistics Chapter 131 Introduction to Inference.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Hypothesis Testing Hypothesis Testing Topic 11. Hypothesis Testing Another way of looking at statistical inference in which we want to ask a question.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Chapter 10 AP Statistics St. Francis High School Fr. Chris.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Confidence intervals and hypothesis testing Petter Mostad
MBA Statistics COURSE #2 Do we have winning conditions? Decision making from statistical inference.
Stat 155, Section 2, Last Time Binomial Distribution –Normal Approximation –Continuity Correction –Proportions (different scale from “counts”) Distribution.
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Chapter 8 Delving Into The Use of Inference 8.1 Estimating with Confidence 8.2 Use and Abuse of Tests.
10.1: Confidence Intervals Falls under the topic of “Inference.” Inference means we are attempting to answer the question, “How good is our answer?” Mathematically:
The z test statistic & two-sided tests Section
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Section 10.1 Estimating with Confidence AP Statistics February 11 th, 2011.
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
CHAPTER 9 Testing a Claim
1 CHAPTER 4 CHAPTER 4 WHAT IS A CONFIDENCE INTERVAL? WHAT IS A CONFIDENCE INTERVAL? confidence interval A confidence interval estimates a population parameter.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Math 4030 – 9a Introduction to Hypothesis Testing
Chapter 9: Hypothesis Tests Based on a Single Sample 1.
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
What is a Test of Significance?. Statistical hypotheses – statements about population parameters Examples Mean weight of adult males is greater than 160.
Administrative Matters Midterm II Results Take max of two midterm scores:
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Uncertainty and confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.1 Significance Tests:
Section 9.1 First Day The idea of a significance test What is a p-value?
Hypothesis Testing and Statistical Significance
Review Statistical inference and test of significance.
AP Statistics Part IV – Inference: Conclusions with Confidence Chapter 10: Introduction to Inference 10.1Estimating with Confidence To make an inference.
Stat 31, Section 1, Last Time Choice of sample size
Unit 5: Hypothesis Testing
Stat 31, Section 1, Last Time Sampling Distributions
CHAPTER 9 Testing a Claim
Stat 217 – Day 28 Review Stat 217.
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
Intro to Confidence Intervals Introduction to Inference
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
Presentation transcript:

Stat 31, Section 1, Last Time Distribution of Sample Means –Expected Value  same –Variance  less, Law of Averages, I –Dist’n  Normal, Law of Averages, II Statistical Inference –Confidence Intervals

Choice of Sample Size Additional use of margin of error idea Background: distributions Small n Large n

Choice of Sample Size Could choose n to make = desired value But S. D. is not very interpretable, so make “margin of error”, m = desired value Then get: “ is within m units of, 95% of the time”

Choice of Sample Size Given m, how do we find n? Solve for n (the equation):

Choice of Sample Size Graphically, find m so that: Area = 0.95 Area = 0.975

Choice of Sample Size Thus solve:

Choice of Sample Size EXCEL Implementation: Class Example 20, Part 3: HW: 6.19, 6.21

Interpretation of Conf. Intervals 2 Equivalent Views: Distribution Distribution 95% pic 1 pic 2

Interpretation of Conf. Intervals Mathematically: pic 1 pic 2 no pic

Interpretation of Conf. Intervals Frequentist View: If repeat the experiment many times, About 95% of the time, CI will contain (and 5% of the time it won’t)

Interpretation of Conf. Intervals A nice Applet, from Ogden and West: Try a few at “more interval” allows regeneration “on average” about 2.5/50 don’t cover This is idea of “% coverage”

Interpretation of Conf. Intervals Revisit Class Example 16 Recall Class HW: Estimate % of Male Students at UNC CI View: Class Example 21 Illustrates idea: CI should cover 95% of time

Interpretation of Conf. Intervals Class Example 21: Q1: SD too small  Too many cover Q2: SD too big  Too few cover Q3: Big Bias  Too few cover Q4: Good sampling  About right Q5: Simulated Bi  Shows “natural var’n”

Interpretation of Conf. Intervals HW: 6.23, 6.26 (0.857, 0.135, 0.993)

Sec. 6.2 Tests of Significance = Hypothesis Tests Big Picture View: Another way of handling random error I.e. a different view point Idea: Answer yes or no questions, under uncertainty (e.g. from sampling of measurement error)

Hypothesis Tests Some Examples: Will Candidate A win the election? Does smoking cause cancer? Is Brand X better than Brand Y? Is a drug effective? Is a proposed new business strategy effective? (marketing research focuses on this)

Hypothesis Tests E.g. A fast food chain currently brings in profits of $20,000 per store, per day. A new menu is proposed. Would it be more profitable? Test: Have 10 stores (randomly selected!) try the new menu, let = average of their daily profits.

Fast Food Business Example Simplest View: for : new menu looks better. Otherwise looks worse. Problem: New menu might be no better (or even worse), but could have by bad luck of sampling (only sample of size 10)

Fast Food Business Example Problem: How to handle & quantify gray area in these decisions. Note: Can never make a definite conclusion e.g. as in Mathematics, Statistics is more about real life… (E.g. even if or, that might be bad luck of sampling, although very unlikely)

Hypothesis Testing Note: Can never make a definite conclusion, Instead measure strength of evidence. Approach I: (note: different from text) Choose among 3 Hypotheses: H + : Strong evidence new menu is better H 0 : Evidence in inconclusive H - : Strong evidence new menu is worse

Hypothesis Testing Terminology: H 0 is called null hypothesis Setup: H +, H 0, H - are in terms of parameters, i.e. population quantities (recall population vs. sample)

Fast Food Business Example E.g. Let = true (over all stores) daily profit from new menu. H + : (new is better) H 0 : (about the same) H - : (new is worse)

Fast Food Business Example Base decision on best guess: Will quantify strength of the evidence using probability distribution of E.g.  Choose H +  Choose H 0  Choose H -

Fast Food Business Example How to draw line? (There are many ways, here is traditional approach) Insist that H + (or H - ) show strong evidence I.e. They get burden of proof (Note: one way of solving gray area problem)

Fast Food Business Example Assess strength of evidence by asking: “How strange is observed value, assuming H 0 is true?” In particular, use tails of H 0 distribution as measure of strength of evidence

Fast Food Business Example Use tails of H 0 distribution as measure of strength of evidence: distribution under H 0 observed value of Use this probability to measure strength of evidence

Hypthesis Testing Define the p-value, for either H + or H 0, as: P{what was seen, or more conclusive | H 0 } Note 1: small p-value  strong evidence against H 0, i.e. for H + (or H - ) Note 2: p-value is also called observed significance level.

Fast Food Business Example Suppose observe:, based on Note, but is this conclusive? or could this be due to natural sampling variation? (i.e. do we risk losing money from new menu?)

Fast Food Business Example Assess evidence for H + by: H + p-value = Area

Fast Food Business Example Computation in EXCEL: Class Example 22, Part 1: P-value = 0.094