Confidence Intervals for Normal Data Spring 2014

Similar documents
Confidence Intervals for Normal Data Spring 2018

Confidence Intervals for the Mean of Non-normal Data Class 23, Jeremy Orloff and Jonathan Bloom

Null Hypothesis Significance Testing p-values, significance level, power, t-tests

Class 26: review for final exam 18.05, Spring 2014

Compute f(x θ)f(θ) dθ

Continuous Expectation and Variance, the Law of Large Numbers, and the Central Limit Theorem Spring 2014

Comparison of Bayesian and Frequentist Inference

18.05 Final Exam. Good luck! Name. No calculators. Number of problems 16 concept questions, 16 problems, 21 pages

Exam 2 Practice Questions, 18.05, Spring 2014

Post-exam 2 practice questions 18.05, Spring 2014

Studio 8: NHST: t-tests and Rejection Regions Spring 2014

Central Limit Theorem and the Law of Large Numbers Class 6, Jeremy Orloff and Jonathan Bloom

Conjugate Priors: Beta and Normal Spring January 1, /15

Continuous Data with Continuous Priors Class 14, Jeremy Orloff and Jonathan Bloom

Bootstrapping Spring 2014

Bayesian Updating: Discrete Priors: Spring 2014

Frequentist Statistics and Hypothesis Testing Spring

18.05 Practice Final Exam

Choosing Priors Probability Intervals Spring January 1, /25

Choosing priors Class 15, Jeremy Orloff and Jonathan Bloom

Choosing Priors Probability Intervals Spring 2014

Class 8 Review Problems solutions, 18.05, Spring 2014

Bayesian Updating with Continuous Priors Class 13, Jeremy Orloff and Jonathan Bloom

This does not cover everything on the final. Look at the posted practice problems for other topics.

Exam 1 Practice Questions I solutions, 18.05, Spring 2014

Advanced Herd Management Probabilities and distributions

Class 8 Review Problems 18.05, Spring 2014

Bootstrap and Linear Regression Spring You should have downloaded studio12.zip and unzipped it into your working directory.

2.830J / 6.780J / ESD.63J Control of Manufacturing Processes (SMA 6303) Spring 2008

Null Hypothesis Significance Testing p-values, significance level, power, t-tests Spring 2017

Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing

QUIZ 4 (CHAPTER 7) - SOLUTIONS MATH 119 SPRING 2013 KUNIYUKI 105 POINTS TOTAL, BUT 100 POINTS = 100%

Pivotal Quantities. Mathematics 47: Lecture 16. Dan Sloughter. Furman University. March 30, 2006

STAT 135 Lab 6 Duality of Hypothesis Testing and Confidence Intervals, GLRT, Pearson χ 2 Tests and Q-Q plots. March 8, 2015

Stat 5101 Lecture Notes

Statistics. Statistics

14.6 Spring Force Energy Diagram

MVE055/MSG Lecture 8

18.05 Exam 1. Table of normal probabilities: The last page of the exam contains a table of standard normal cdf values.

18.05 Problem Set 5, Spring 2014 Solutions

1 Statistical inference for a population mean

Conditional Probability, Independence, Bayes Theorem Spring January 1, / 23

14.30 Introduction to Statistical Methods in Economics Spring 2009

Discrete Probability Distributions

Probabilities and distributions

Lecture 7: Confidence interval and Normal approximation

Cherry Blossom run (1) The credit union Cherry Blossom Run is a 10 mile race that takes place every year in D.C. In 2009 there were participants

Conditional Probability, Independence, Bayes Theorem Spring January 1, / 28

Lecture 9. Expectations of discrete random variables

Expectation, Variance and Standard Deviation for Continuous Random Variables Class 6, Jeremy Orloff and Jonathan Bloom

Sampling Distributions of Statistics Corresponds to Chapter 5 of Tamhane and Dunlop

P 3. Figure 8.39 Constrained pulley system. , y 2. and y 3. . Introduce a coordinate function y P

Linear Regression Spring 2014

8.01x Classical Mechanics, Fall 2016 Massachusetts Institute of Technology. Problem Set 2

EC2001 Econometrics 1 Dr. Jose Olmo Room D309

STAT 4385 Topic 01: Introduction & Review

The Jeffreys Prior. Yingbo Li MATH Clemson University. Yingbo Li (Clemson) The Jeffreys Prior MATH / 13

Chapter 9: Hypothesis Testing Sections

Bayesian Updating: Odds Class 12, Jeremy Orloff and Jonathan Bloom

The t-test Pivots Summary. Pivots and t-tests. Patrick Breheny. October 15. Patrick Breheny Biostatistical Methods I (BIOS 5710) 1/18

8.01x Classical Mechanics, Fall 2016 Massachusetts Institute of Technology. Problem Set 1

14.30 Introduction to Statistical Methods in Economics Spring 2009

ST495: Survival Analysis: Hypothesis testing and confidence intervals

Comparing two independent samples

Swarthmore Honors Exam 2012: Statistics

MIT Spring 2016

STAT200 Elementary Statistics for applications

Topic 12 Overview of Estimation

Mathematical Statistics

Summary: the confidence interval for the mean (σ 2 known) with gaussian assumption

" M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2

Problem 1 (20) Log-normal. f(x) Cauchy

Performance Evaluation and Comparison

Spring 2012 Math 541B Exam 1

Wooldridge, Introductory Econometrics, 4th ed. Appendix C: Fundamentals of mathematical statistics

Ling 289 Contingency Table Statistics

Statistical Inference

(1) Introduction to Bayesian statistics

MIT Spring 2015

Recitation 1: Regression Review. Christina Patterson

16.400/453J Human Factors Engineering. Design of Experiments II

Basic Concepts of Inference

Problem Set 4 - Solutions

Topic 6 - Confidence intervals based on a single sample

DS-GA 1003: Machine Learning and Computational Statistics Homework 7: Bayesian Modeling

Space Telescope Science Institute statistics mini-course. October Inference I: Estimation, Confidence Intervals, and Tests of Hypotheses

Business Statistics. Lecture 5: Confidence Intervals

6.041/6.431 Fall 2010 Quiz 2 Solutions

Hypothesis Testing. Testing Hypotheses MIT Dr. Kempthorne. Spring MIT Testing Hypotheses

Conjugate Priors: Beta and Normal Spring 2018

Hypothesis Testing. 1 Definitions of test statistics. CB: chapter 8; section 10.3

Fundamental Tools - Probability Theory IV

Confidence Intervals, Testing and ANOVA Summary

Introduction to Bayesian Methods. Introduction to Bayesian Methods p.1/??

Lecture 17: Small-Sample Inferences for Normal Populations. Confidence intervals for µ when σ is unknown

Brandon C. Kelly (Harvard Smithsonian Center for Astrophysics)

Propagation of Uncertainties in Measurements: Generalized/ Fiducial Inference

Statistics for Applications. Chapter 1: Introduction 1/43

Vectors. (same vector)

PHP2510: Principles of Biostatistics & Data Analysis. Lecture X: Hypothesis testing. PHP 2510 Lec 10: Hypothesis testing 1

Transcription:

Confidence Intervals for Normal Data 18.05 Spring 2014

Agenda Today Review of critical values and quantiles. Computing z, t, χ 2 confidence intervals for normal data. Conceptual view of confidence intervals. Confidence intervals for polling (Bernoulli distributions). January 1, 2017 2 / 15

Review of critical values and quantiles Quantile: left tail P(X < q α ) = α Critical value: right tail P(X > c α ) = α Letters for critical values: z α for N(0, 1) t α for t(n) c α, x α all purpose P (Z q α ) α q α P (Z > z α ) z α α z q α and z α for the standard normal distribution. January 1, 2017 3 / 15

Concept question P (Z q α ) α q α P (Z > z α ) z α α z 1. z.025 = (a) -1.96 (b) -0.95 (c) 0.95 (d) 1.96 (e) 2.87 2. z.16 = (a) -1.33 (b) -0.99 (c) 0.99 (d) 1.33 (e) 3.52 January 1, 2017 4 / 15

Computing confidence intervals from normal data Suppose the data x 1,..., x n is drawn from N(µ, σ 2 ) Confidence level = 1 α z confidence interval for the mean (σ known) [ x z α/2 σ, x + z ] α/2 σ n n t confidence interval for the mean (σ unknown) [ x t α/2 s, x + t ] α/2 s n n χ 2 confidence interval for σ 2 [ n 1 c α/2 s 2, ] n 1 s 2 c 1 α/2 t and χ 2 have n 1 degrees of freedom. January 1, 2017 5 / 15

z rule of thumb Suppose x 1,..., x n N(µ, σ 2 ) with σ known. The rule-of-thumb 95% confidence interval for µ is: [ σ x 2, x + 2 σ ] n n A more precise 95% confidence interval for µ is: [ ] σ σ x 1.96, x + 1.96 n n January 1, 2017 6 / 15

Board question: computing confidence intervals The data 1, 2, 3, 4 is drawn from N(µ, σ 2 ) with µ unknown. 1 Find a 90% z confidence interval for µ, given that σ = 2. For the remaining parts, suppose σ is unknown. 2 Find a 90% t confidence interval for µ. 3 Find a 90% χ 2 confidence interval for σ 2. 4 Find a 90% χ 2 confidence interval for σ. 5 Given a normal sample with n = 100, x = 12, and s = 5, find the rule-of-thumb 95% confidence interval for µ. January 1, 2017 7 / 15

Conceptual view of confidence intervals Computed from data interval statistic Estimates a parameter of interest interval estimate Width = measure of precision Confidence level = measure of performance Confidence intervals are a frequentist method. No need for a prior, only uses likelihood. Frequentists never assign probabilities to unknown parameters: A 95% confidence interval of [1.2, 3.4] for µ does not mean that P(1.2 µ 3.4) = 0.95. We will compare with Bayesian probability intervals later. Applet: http://mathlets.org/mathlets/confidence-intervals/ January 1, 2017 8 / 15

Table discussion The quantities n, c, µ, σ all play a roll in the confidence interval for the mean. How does the width of a confidence interval for the mean change if: 1. we increase n and leave the others unchanged? 2. we increase c and leave the others unchanged? 3. we increase µ and leave the others unchanged? 4. we increase σ and leave the others unchanged? (A) it gets wider (B) it gets narrower (C) it stays the same. January 1, 2017 9 / 15

Intervals and pivoting x: sample mean (statistic) µ 0 : hypothesized mean (not known) Pivoting: x is in the interval µ 0 ± 2.3 µ 0 is in the interval x ± 2.3. 2 1 0 1 2 3 4 µ 0 ± 1 x ± 1 µ 0 ± 2.3 x ± 2.3 µ 0 x this interval does not contain x this interval does not contain µ 0 this interval contains x this interval contains µ 0 Algebra of pivoting: µ 0 2.3 < x < µ 0 + 2.3 x + 2.3 > µ 0 > x 2.3. January 1, 2017 10 / 15

Board question: confidence intervals, non-rejection regions Suppose x 1,..., x n N(µ, σ 2 ) with σ known. Consider two intervals: 1. The z confidence interval around x at confidence level 1 α. 2. The z non-rejection region for H 0 : µ = µ 0 at significance level α. Compute and sketch these intervals to show that: µ 0 is in the first interval x is in the second interval. January 1, 2017 11 / 15

Solution Confidence interval: Non-rejection region: σ x ± z α/2 nσ µ 0 ± z α/2 n Since the intervals are the same width they either both contain the other s center or neither one does. N(µ 0, σ 2 /n) x x 2 µ 0 z α/2 σ n µ 0 x 1 µ 0 + z α/2 σ n January 1, 2017 12 / 15

Polling: a binomial proportion confidence interval Data x 1,..., x n from a Bernoulli(θ) distribution with θ unknown. A conservative normal (1 α) confidence interval for θ is given by [ z x α/2 2 n, x + z ] α/2 2 n. Proof uses the CLT and the observation σ = θ(1 θ) 1/2. Political polls often give a margin-of-error of ±1/ n. This rule-of-thumb corresponds to a 95% confidence interval: [ 1 x, x + 1 ]. n n (The proof is in the class 22 notes.) Conversely, a margin of error of ±0.05 means 400 people were polled. There are many types of binomial proportion confidence intervals. http://en.wikipedia.org/wiki/binomial_proportion_confidence_interval January 1, 2017 13 / 15

Board question For a poll to find the proportion θ of people supporting X we know that a (1 α) confidence interval for θ is given by [ z x α/2 2 n, x + z ] α/2 2 n. 1. How many people would you have to poll to have a margin of error of.01 with 95% confidence? (You can do this in your head.) 2. How many people would you have to poll to have a margin of error of.01 with 80% confidence. (You ll want R or other calculator here.) 3. If n = 900, compute the 95% and 80% confidence intervals for θ. January 1, 2017 14 / 15

MIT OpenCourseWare https://ocw.mit.edu 18.05 Introduction to Probability and Statistics Spring 2014 For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.