CS 237: Probability in Computing

Similar documents
Chapter 4 Continuous Random Variables and Probability Distributions

Chapter 4 Continuous Random Variables and Probability Distributions

MAS1403. Quantitative Methods for Business Management. Semester 1, Module leader: Dr. David Walshaw

2. The sum of all the probabilities in the sample space must add up to 1

STAT Chapter 5: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

ECON 214 Elements of Statistics for Economists 2016/2017

2011 Pearson Education, Inc

Chapter 5. Continuous Random Variables and Probability Distributions. 5.1 Continuous Random Variables

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution

Statistical Methods in Practice STAT/MATH 3379

ECON 214 Elements of Statistics for Economists

Math 227 Elementary Statistics. Bluman 5 th edition

Chapter 4 Random Variables & Probability. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Business Statistics 41000: Probability 3

Lecture 12. Some Useful Continuous Distributions. The most important continuous probability distribution in entire field of statistics.

CS 237: Probability in Computing

Probability. An intro for calculus students P= Figure 1: A normal integral

Chapter 7 1. Random Variables

CHAPTER 8 PROBABILITY DISTRIBUTIONS AND STATISTICS

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

6. Continous Distributions

Random Variables Handout. Xavier Vilà

Continuous random variables

A useful modeling tricks.

Statistics 6 th Edition

Probability and Statistics

Biostatistics and Design of Experiments Prof. Mukesh Doble Department of Biotechnology Indian Institute of Technology, Madras

Lecture 6: Chapter 6

4-2 Probability Distributions and Probability Density Functions. Figure 4-2 Probability determined from the area under f(x).

MAS187/AEF258. University of Newcastle upon Tyne

STATISTICS and PROBABILITY

ECE 340 Probabilistic Methods in Engineering M/W 3-4:15. Lecture 10: Continuous RV Families. Prof. Vince Calhoun

Uniform Probability Distribution. Continuous Random Variables &

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

ME3620. Theory of Engineering Experimentation. Spring Chapter III. Random Variables and Probability Distributions.

STAT Chapter 5: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

Homework: Due Wed, Nov 3 rd Chapter 8, # 48a, 55c and 56 (count as 1), 67a

The Normal Distribution

Homework: Due Wed, Feb 20 th. Chapter 8, # 60a + 62a (count together as 1), 74, 82

E509A: Principle of Biostatistics. GY Zou

Week 1 Variables: Exploration, Familiarisation and Description. Descriptive Statistics.

Lecture 23. STAT 225 Introduction to Probability Models April 4, Whitney Huang Purdue University. Normal approximation to Binomial

Chapter 5 Student Lecture Notes 5-1. Department of Quantitative Methods & Information Systems. Business Statistics

Probability Theory and Simulation Methods. April 9th, Lecture 20: Special distributions

Lecture 2. Probability Distributions Theophanis Tsandilas

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Introduction to Business Statistics QM 120 Chapter 6

CH 5 Normal Probability Distributions Properties of the Normal Distribution

MAKING SENSE OF DATA Essentials series

Statistics for Business and Economics

Data Analysis and Statistical Methods Statistics 651

AP Statistics Chapter 6 - Random Variables

x is a random variable which is a numerical description of the outcome of an experiment.

TOPIC: PROBABILITY DISTRIBUTIONS

Since his score is positive, he s above average. Since his score is not close to zero, his score is unusual.

Commonly Used Distributions

Statistics 511 Supplemental Materials

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Statistical Intervals (One sample) (Chs )

Central Limit Theorem, Joint Distributions Spring 2018

Discrete Random Variables

CHAPTERS 5 & 6: CONTINUOUS RANDOM VARIABLES

IEOR 165 Lecture 1 Probability Review

STUDY SET 2. Continuous Probability Distributions. ANSWER: Without continuity correction P(X>10) = P(Z>-0.66) =

Two hours UNIVERSITY OF MANCHESTER. 23 May :00 16:00. Answer ALL SIX questions The total number of marks in the paper is 90.

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

Discrete Random Variables and Probability Distributions

Statistics 431 Spring 2007 P. Shaman. Preliminaries

. (i) What is the probability that X is at most 8.75? =.875

Binomial and Normal Distributions

Business Statistics. Chapter 5 Discrete Probability Distributions QMIS 120. Dr. Mohammad Zainal

Expected Value of a Random Variable

Chapter 5 Discrete Probability Distributions. Random Variables Discrete Probability Distributions Expected Value and Variance

The Normal Probability Distribution

Department of Quantitative Methods & Information Systems. Business Statistics. Chapter 6 Normal Probability Distribution QMIS 120. Dr.

PROBABILITY DISTRIBUTIONS

Statistics 511 Additional Materials

Solutions for practice questions: Chapter 15, Probability Distributions If you find any errors, please let me know at

Week 2 Quantitative Analysis of Financial Markets Hypothesis Testing and Confidence Intervals

The graph of a normal curve is symmetric with respect to the line x = µ, and has points of

Chapter 4 and 5 Note Guide: Probability Distributions

4: Probability. What is probability? Random variables (RVs)

Point Estimation. Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage

CS145: Probability & Computing

Business Statistics 41000: Probability 4

Distributions in Excel

Continuous Random Variables and Probability Distributions

Chapter 4: Commonly Used Distributions. Statistics for Engineers and Scientists Fourth Edition William Navidi

Chapter ! Bell Shaped

Statistics for Managers Using Microsoft Excel 7 th Edition

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

Random Variables and Probability Functions

II. Random Variables

continuous rv Note for a legitimate pdf, we have f (x) 0 and f (x)dx = 1. For a continuous rv, P(X = c) = c f (x)dx = 0, hence

1. The probability that a visit to a primary care physician s (PCP) office results in neither

MATH 264 Problem Homework I

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series. Slide 1

MLLunsford 1. Activity: Central Limit Theorem Theory and Computations

Spike Statistics: A Tutorial

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality

Transcription:

CS 237: Probability in Computing Wayne Snyder Computer Science Department Boston University Lecture 12: Continuous Distributions Uniform Distribution Normal Distribution (motivation)

Discrete vs Continuous Distributions Recall: A Random Variable X is a function from a sample space S into the reals: A random variable is called continuous if Rx is uncountable. What needs to change when working with continuous as opposed to discrete distributions? Recall: The probability of a random experiment such as a spinner outputting any particular, exact real number is 0: 0.0 This result extends to any countable collection of real numbers! 0.75 0.25 So we can only think about intervals: 0.5

Discrete vs Continuous Distributions Because of the anomolies having to do with continuous probability, we need to keep the following important points in mind: (A) The probability function f X does NOT represent the probability of a point in the domain, since as just quoted: therefore we can ONLY work with intervals P(X "), P(X > "), P(a X &), etc. and f X is not as important as the CDF F X. (B) In calculating F X and working with intervals, we can not use discrete sums as we did in the discrete case, but will have to use integrals: (C) The range R X will be all the reals and so we don t specify it each time.

Discrete vs Continuous Distributions Discrete Random Variables The Probability Mass Function of a discrete random variable X is a function from the range of X into R : Continuous Random Variables The Probability Distribution Function of a continuous random variable X is a function from the R to R : such that (i) such that (i) (ii) (ii)

Continuous Distributions Let s clarify these ideas with an example... 0.0 Consider the spinner example from way back when: X = the real number in [0..1) that the spinner lands on 0.75 0.25 The probability density function is: 0.5 Note that the area is 1.0 and for any 0 " 1, we have %(") = 1.0, so it is uniform across [0..1). But clearly P(X = a) = 0.0.

Continuous Distributions Now recall that the ONLY way to deal with continuous probability is to use intervals and to use area (or extent) for the probability. Hence we will calculate probabilities of intervals using the CDF: 0.75 0.75

Continuous Distributions 0.75 0.5

Continuous Distributions Bottom Line: In order to deal with continuous distributions, you have to do integrals... Example: Suppose our PDF looked like this: To calculate the probability of intervals, we need to determine the CDF, which means doing the following integral: So for example,

Continuous Distributions Discrete Random Variables Continuous Random Variables Same for both Discrete and Continuous Random Variables

Uniform Distribution The simplest continuous distribution is one we have seen many times: If X = a random real number uniformly chosen from the interval [a..b] then X is a uniform random variable from a to b, denoted and where

Uniform Distribution

How to approximate the binomial? We have seen that under certain conditions, the Poisson can be used to approximate the binomial: 12

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 13

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 14

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 15

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 16

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 17

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 18

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 19

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 20

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 21

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 22

How to approximate the binomial? When we observe the characteristic shape of the Binomial Distribution B(N,0.5) as N approaches Infinity, we see something interesting: 23

Gaussian Exponential Function The normal distribution is one of a class of Gaussian exponential functions what does that mean? Since both of the continuous distributions we will study (Normal and Exponential) use exponentials, let s think about this a bit... Here is a graph of the exponential function e x, where e = 2.71828... (Euler s Constant): 24

Gaussian Exponential Function Here is a graph of e -x, which flips the function around the Y axis (we will see this very shape again when we study the Exponential Distribution next lecture): 25

Gaussian Exponential Function But we want to make it look like the Binomial Distribution, so it has to be symmetric around the Y axis, so we ll reflect it around the y axis with the absolute value: Graph of e - x : 26

Gaussian Exponential Function Whoops, forgot we hate absolute value, so let s use the square instead, which has the added advantage of eliminating the discontinuity at 0: Graph of e x2 27

Gaussian Exponential Function By adding parameters to adjust the height and the width, we have the Gaussian Exponential Function: This function is widely used to describe phenomena (light, electric charge, gravity, quantum probabilities) that decrease in effect with distance, to create filters in signal processing (e.g., audio programming, graphics), etc., in addition to their wide use in statistics and probability... 28

By using parameters to fit the requirements of probability theory (e.g., that the area under the curve is 1.0), we have the formula for the Normal Distribution, which can be used to approximate the Binomial Distribution and which models a wide variety of random phenomena: where! = mean/expected value " = standard deviation " 2 = variance 29

The normal distribution, as the limit of B(N,0.5), occurs when a very large number of factors add together to create some random phenomenon. Example: What is the height of a human being?

The normal distribution, as the limit of B(N,0.5), occurs when a very large number of factors add together to create some random phenomenon. Example: What is the IQ of a human being?

The normal distribution, as the limit of B(N,0.5), occurs when a very large number of factors add together to create some random phenomenon. Example: What is the distribution of measurement errors?

The normal distribution, as the limit of B(N,0.5), occurs when a very large number of factors add together to create some random phenomenon. Example: Even REALLY IMPORTANT things are normally distributed!