Stat 155, Section 2, Last Time Binomial Distribution –Normal Approximation –Continuity Correction –Proportions (different scale from “counts”) Distribution.

Slides:



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

1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 18, Slide 1 Chapter 18 Confidence Intervals for Proportions.
Chapter 8 Estimating Single Population Parameters
Stat 301 – Day 28 Review. Last Time - Handout (a) Make sure you discuss shape, center, and spread, and cite graphical and numerical evidence, in context.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Basic Business Statistics 10 th Edition.
Stat 301 – Day 14 Review. Previously Instead of sampling from a process  Each trick or treater makes a “random” choice of what item to select; Sarah.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Introduction to Statistics: Chapter 8 Estimation.
8-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Chapter 8 Confidence Interval Estimation Statistics for Managers using Microsoft.
Copyright ©2011 Pearson Education 8-1 Chapter 8 Confidence Interval Estimation Statistics for Managers using Microsoft Excel 6 th Global Edition.
Statistics for Managers Using Microsoft® Excel 7th Edition
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics, A First Course.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Chapter 7 Estimation: Single Population
Confidence Interval Estimation
Stat 31, Section 1, Last Time T distribution –For unknown, replace with –Compute with TDIST & TINV (different!) Paired Samples –Similar to above, work.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 9 Section 1 – Slide 1 of 39 Chapter 9 Section 1 The Logic in Constructing Confidence Intervals.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Basic Business Statistics 11 th Edition.
Confidence Intervals (Chapter 8) Confidence Intervals for numerical data: –Standard deviation known –Standard deviation unknown Confidence Intervals for.
CHAPTER 8 Estimating with Confidence
Confidence Interval Estimation
Chap 8-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 8 Confidence Interval Estimation Business Statistics: A First Course.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Basic Business Statistics 11 th Edition.
Chapter 8: Confidence Intervals
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Last Time Central Limit Theorem –Illustrations –How large n? –Normal Approximation to Binomial Statistical Inference –Estimate unknown parameters –Unbiasedness.
Essential Statistics Chapter 131 Introduction to Inference.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
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.
10.1: Confidence Intervals – The Basics. Review Question!!! If the mean and the standard deviation of a continuous random variable that is normally distributed.
Chapter 20 Testing hypotheses about proportions
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.
CHAPTER 9 Testing a Claim
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Chap 7-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 7 Estimating Population Values.
Section 10.1 Confidence Intervals
Chapter 8 Delving Into The Use of Inference 8.1 Estimating with Confidence 8.2 Use and Abuse of Tests.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
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.
Ch 10 – Intro To Inference 10.1: Estimating with Confidence 10.2 Tests of Significance 10.3 Making Sense of Statistical Significance 10.4 Inference as.
+ DO NOW. + Chapter 8 Estimating with Confidence 8.1Confidence Intervals: The Basics 8.2Estimating a Population Proportion 8.3Estimating a Population.
Chap 7-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 7 Estimating Population Values.
Chap 8-1 Chapter 8 Confidence Interval Estimation Statistics for Managers Using Microsoft Excel 7 th Edition, Global Edition Copyright ©2014 Pearson Education.
Confidence Intervals and Hypothesis Testing Using and.
Administrative Matters Midterm II Results Take max of two midterm scores:
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
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,
1 Probability and Statistics Confidence Intervals.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.2 Tests About a Population.
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.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics: A First Course 5 th Edition.
Hypothesis Testing and Statistical Significance
Review Statistical inference and test of significance.
Hypothesis Tests for 1-Proportion Presentation 9.
10.1 Estimating with Confidence Chapter 10 Introduction to Inference.
Last Time Proportions Continuous Random Variables Probabilities
CHAPTER 9 Testing a Claim
Stat 31, Section 1, Last Time Choice of sample size
Stat 31, Section 1, Last Time Sampling Distributions
CHAPTER 8 Estimating with Confidence
CHAPTER 22: Inference about a Population Proportion
Confidence Interval Estimation
Essential Statistics Introduction to Inference
Chapter 10: Estimating with Confidence
Presentation transcript:

Stat 155, Section 2, Last Time Binomial Distribution –Normal Approximation –Continuity Correction –Proportions (different scale from “counts”) Distribution of Sample Means –Law of Averages, Part 1 –Normal Data  Normal Mean –Law of Averages, Part 2: Everything (averaged)  Normal

Reading In Textbook Approximate Reading for Today’s Material: Pages , Approximate Reading for Next Class: Pages ,

Chapter 6: Statistical Inference Main Idea: Form conclusions by quantifying uncertainty (will study several approaches, first is…)

Section 6.1: Confidence Intervals Background: The sample mean,, is an “estimate” of the population mean, How accurate? (there is “variability”, how much?)

Confidence Intervals Recall the Sampling Distribution: (maybe an approximation)

Confidence Intervals Thus understand error as: How to explain to untrained consumers? (who don’t know randomness, distributions, normal curves)

Confidence Intervals Approach: present an interval With endpoints: Estimate +- margin of error I.e. reflecting variability How to choose ?

Confidence Intervals Choice of “Confidence Interval radius”, i.e. margin of error, : Notes: No Absolute Range (i.e. including “everything”) is available From infinite tail of normal dist’n So need to specify desired accuracy

Confidence Intervals HW: 6.1

Confidence Intervals Choice of margin of error, : Approach: Choose a Confidence Level Often 0.95 (e.g. FDA likes this number for approving new drugs, and it is a common standard for publication in many fields) And take margin of error to include that part of sampling distribution

Confidence Intervals E.g. For confidence level 0.95, want distribution 0.95 = Area = margin of error

Confidence Intervals Computation: Recall NORMINV takes areas (probs), and returns cutoffs Issue: NORMINV works with lower areas Note: lower tail included

Confidence Intervals So adapt needed probs to lower areas…. When inner area = 0.95, Right tail = Shaded Area = So need to compute:

Confidence Intervals Need to compute: Major problem: is unknown But should answer depend on ? “Accuracy” is only about spread Not centerpoint Need another view of the problem

Confidence Intervals Approach to unknown : Recenter, i.e. look at dist’n Key concept: Centered at 0 Now can calculate as:

Confidence Intervals Computation of: Smaller Problem: Don’t know Approach 1: Estimate with Leads to complications Will study later Approach 2: Sometimes know

Confidence Intervals E.g. Crop researchers plant 15 plots with a new variety of corn. The yields, in bushels per acre are: Assume that = 10 bushels / acre

Confidence Intervals E.g. Find: a)The 90% Confidence Interval for the mean value, for this type of corn. b)The 95% Confidence Interval. c)The 99% Confidence Interval. d)How do the CIs change as the confidence level increases? Solution, part 1 of:

Confidence Intervals An EXCEL shortcut: CONFIDENCE Careful: parameter is: 2 tailed outer area So for level = 0.90, = 0.10

Confidence Intervals HW: 6.5, 6.9, 6.13, 6.15, 6.19

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 Numerical fine points: Change this for coverage prob. ≠ 0.95 Round decimals upwards, To be “sure of desired coverage”

Choice of Sample Size EXCEL Implementation: Class Example 22, Part 2: HW: 6.22 (1945), 6.23

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)

Confidence Intervals Nice Illustration: Publisher’s Website Statistical Applets Confidence Intervals Shows proper interpretation: If repeat drawing the sample Interval will cover truth 95% of time

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

Interpretation of Conf. Intervals Class Example 23: 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.27, 6.29, 6.31

And now for something completely different…. A fun dance video: Suggested by David Moltz

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 or 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 is inconclusive H - : Strong evidence new menu is worse

Caution!!! Not following text right now This part of course can be slippery I am “breaking this down to basics” Easier to understand (If you pay careful attention) Will “tie things together” later And return to textbook approach later

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

Hypothesis Testing Define the p-value, for either H + or H -, 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 = “1 in 10”, “could be random variation”, “not very strong evidence”