MATH 10: Elementary Statistics and Probability Chapter 5: Continuous Random Variables



Similar documents
Continuous Random Variables

Chapter 4 - Lecture 1 Probability Density Functions and Cumul. Distribution Functions

3.4 The Normal Distribution

MATH 10: Elementary Statistics and Probability Chapter 7: The Central Limit Theorem

The Normal Distribution. Alan T. Arnholt Department of Mathematical Sciences Appalachian State University

Notes on Continuous Random Variables

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

1.1 Introduction, and Review of Probability Theory Random Variable, Range, Types of Random Variables CDF, PDF, Quantiles...

AP Statistics Solutions to Packet 2

Chapter 3 RANDOM VARIATE GENERATION

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

An Introduction to Basic Statistics and Probability

Probability Distribution for Discrete Random Variables

Exact Confidence Intervals

Lecture 8. Confidence intervals and the central limit theorem

Math 425 (Fall 08) Solutions Midterm 2 November 6, 2008

A Primer on Mathematical Statistics and Univariate Distributions; The Normal Distribution; The GLM with the Normal Distribution

6.4 Normal Distribution

Chapter 5: Normal Probability Distributions - Solutions

Key Concept. Density Curve

6.2 Normal distribution. Standard Normal Distribution:

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

10.2 Series and Convergence

5. Continuous Random Variables

Lesson 20. Probability and Cumulative Distribution Functions

Normal distribution. ) 2 /2σ. 2π σ

VISUALIZATION OF DENSITY FUNCTIONS WITH GEOGEBRA

You flip a fair coin four times, what is the probability that you obtain three heads.

5/31/ Normal Distributions. Normal Distributions. Chapter 6. Distribution. The Normal Distribution. Outline. Objectives.

UNIT I: RANDOM VARIABLES PART- A -TWO MARKS

Maximum Likelihood Estimation

The Normal Distribution

List the elements of the given set that are natural numbers, integers, rational numbers, and irrational numbers. (Enter your answers as commaseparated

Math 461 Fall 2006 Test 2 Solutions

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 18. A Brief Introduction to Continuous Probability

A Uniform Asymptotic Estimate for Discounted Aggregate Claims with Subexponential Tails

Lecture 6: Discrete & Continuous Probability and Random Variables

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

MATH4427 Notebook 2 Spring MATH4427 Notebook Definitions and Examples Performance Measures for Estimators...

Chapter 4. Probability Distributions

Review of Random Variables

WEEK #22: PDFs and CDFs, Measures of Center and Spread

Chapter 4. Probability and Probability Distributions

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

Lecture 7: Continuous Random Variables

Chapter 1: Looking at Data Section 1.1: Displaying Distributions with Graphs

6 3 The Standard Normal Distribution

Lecture 5 : The Poisson Distribution

Random Variables. Chapter 2. Random Variables 1

Department of Civil Engineering-I.I.T. Delhi CEL 899: Environmental Risk Assessment Statistics and Probability Example Part 1

The Normal Distribution

1 Sufficient statistics

MBA 611 STATISTICS AND QUANTITATIVE METHODS

2WB05 Simulation Lecture 8: Generating random variables

Freely Falling Bodies & Uniformly Accelerated Motion

ST 371 (IV): Discrete Random Variables

Joint Exam 1/P Sample Exam 1

Probability Distributions

Chapter 5 Discrete Probability Distribution. Learning objectives

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

Probability Theory. Florian Herzog. A random variable is neither random nor variable. Gian-Carlo Rota, M.I.T..

FINAL EXAM SECTIONS AND OBJECTIVES FOR COLLEGE ALGEBRA

Section 6.4: Work. We illustrate with an example.

Chapter 4 Lecture Notes

Chapter 3: DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS. Part 3: Discrete Uniform Distribution Binomial Distribution

Normal Distribution. Definition A continuous random variable has a normal distribution if its probability density. f ( y ) = 1.

1. A survey of a group s viewing habits over the last year revealed the following

Stats on the TI 83 and TI 84 Calculator

Math 151. Rumbos Spring Solutions to Assignment #22

Binomial Distribution n = 20, p = 0.3

PSTAT 120B Probability and Statistics

PROBABILITY AND SAMPLING DISTRIBUTIONS

TEACHER NOTES MATH NSPIRED

BNG 202 Biomechanics Lab. Descriptive statistics and probability distributions I

ECE302 Spring 2006 HW5 Solutions February 21,

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

EQUATIONS and INEQUALITIES

2.6. Probability. In general the probability density of a random variable satisfies two conditions:

Gamma Distribution Fitting

Probability Distribution

Normal Distribution as an Approximation to the Binomial Distribution

Algebra I Vocabulary Cards

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

2.2 Derivative as a Function

AP CALCULUS AB 2008 SCORING GUIDELINES

1 Prior Probability and Posterior Probability

Descriptive Statistics. Purpose of descriptive statistics Frequency distributions Measures of central tendency Measures of dispersion

Lecture 9: Lines. m = y 2 y 1 x 2 x 1

1 The Brownian bridge construction

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

SAMPLE SIZE CONSIDERATIONS

Exercise 1.12 (Pg )

STAT 830 Convergence in Distribution

MAT 155. Key Concept. September 27, S5.5_3 Poisson Probability Distributions. Chapter 5 Probability Distributions

THE BINOMIAL DISTRIBUTION & PROBABILITY

Normality Testing in Excel

Transcription:

MATH 10: Elementary Statistics and Probability Chapter 5: Continuous Random Variables Tony Pourmohamad Department of Mathematics De Anza College Spring 2015

Objectives By the end of this set of slides, you should be able to: 1 Recognize and understand continuous probability distribution functions 2 Recognize the uniform probability distribution and apply it appropriately 3 Recognize the exponential probability distribution and apply it appropriately 2 / 27

Random Variables Random Variable: A random variable describes the outcomes of a statistical experiment Random variables can be of two types: Discrete random variables: can take only a finite or countable number of outcomes. Example: number of patients with a particular disease Continuous random variables: take values within a specified interval or continuum. Example: height or weight The values of a random variable can vary with each repetition of an experiment We will use capitol letters to denote random variables and lower case letter to denote the value of a random variable If X is a random variable, then X is written in words, and x is given a number 3 / 27

Continuous Random Variable Example Let X = the number of minutes until the next earthquake in California Is X a continuous random variable? The sample space S = {???} X is in words and x is a number The x values are not countable (continuous or infinite) outcomes Because you cannot count the possible values that X can take on and the outcomes are random, X is a continuous random variable Other examples of continuous random variables? 4 / 27

Probability Distribution Function Just like a discrete random variable, every continuous random variable has an associated probability distribution function The graph of a continuous probability distribution is a curve Probability is represented by the area under the curve Example: What is the probability that X is between 8 and 11? Probability Density Function 0.0 0.1 0.2 0.3 0.4 7 8 9 10 11 12 13 X 5 / 27

Probability Distribution Function In the discrete case, we could count all of the possible outcomes and assign each one a probability, in the continuous case WE CANNOT (why?) Instead of counting outcomes, we will be working now with area underneath the curves to solve probability problems The entire area under the curve is equal to one Probability will be found for intervals of X rather than for individual X values, i.e., P(c < X < d) is the probability the random variable X is in the interval between values c and d For EVERY continuous random variable, the probability that P(X = c) is ALWAYS equal to 0, i.e., P(X = c) = 0 (why?) P(c < X < d) is the same as P(c X d) because probability is equal to area 6 / 27

Probability Distribution Function We will find the area that represents the probability by using Geometry Formulas Technology Probability Tables In general, calculus is needed to find the area under the curve for many probability distributions (in particular taking integrals) We will NOT be using calculus in this class! For continuous probability distribution functions, PROBABILITY = AREA 7 / 27

Continuous Probability Functions Notation: We will use f(x) to denote the probability density function (pdf) You may think of f(x) as a function We define f(x) so that the area between it and the x-axis is equal to a probability Since the maximum probability is one, the maximum area is also one For continuous probability distribution functions, PROBABILITY = AREA 8 / 27

Example #1 Consider the pdf f(x) = 1 for 0 x 20 20 The graph of f(x) is a horizontal line Plot of f(x)=1/20 f(x) 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0 5 10 15 20 x Question: What is the probability that 5 X 10? 9 / 27

Example #1 Continued Question: What is the probability that 5 X 10? Plot of f(x)=1/20 f(x) 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0 5 10 15 20 x P(5 X 10) = (10 5) ( 1 20) = 0.25 Recall: Area of a rectangle = (base)(height) 10 / 27

The Uniform Distribution The uniform distribution is a continuous probability distribution The uniform distribution describes data where the events are equally likely to occur Example: Age could be a continuous random variable that follows a uniform distribution Plot of the Uniform Distribution Probability Density Function 0.000 0.005 0.010 0.015 0 20 40 60 80 100 Ages (in years) 11 / 27

The Uniform Distribution Let X be a uniform random variable X U(a, b) The uniform probability density function is f(x) = 1 b a a = the lowest value of x b = the highest value of x The probability that c X d is P(c X d) = d c b a 12 / 27

Example #2 Let X U(0, 23) Question: Find the probability that 2 < X < 18 Plot of f(x)=1/23 f(x) 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0 5 10 15 20 Solution: x P(2 < X < 18) = 18 2 23 0 = 16 23 13 / 27

Example #2 Continued Let X U(0, 23) Question: Find the probability that X > 12 given that X > 8 Plot of f(x)=1/23 f(x) 0.00 0.02 0.04 0.06 0.08 0.10 0 5 10 15 20 Solution: P(X > 12 X > 8) = x 23 12 23 8 = 11 15 14 / 27

Example #2 Continued Let X U(0, 23) Question: Find the probability that X > 12 given that X > 8 Could we have solved it a different way? Solution: P(X > 12 and X < 18) P(X > 12 X > 8) = P(X > 8) P(X > 12) = P(X > 8) = 11 23 15 23 = 11 15 15 / 27

Expected Value (Mean) and Standard Deviation Let X U(a, b) then: The expected value of X is µ = a + b 2 The standard deviation of X is (b a) 2 σ = 12 Example: Let X U(0, 23), then and σ = µ = 23 + 0 2 (23 0) 2 12 = = 11.5 529 12 = 6.639528 16 / 27

Percentiles for Uniform Random Variables Recall: The P th percentile divides the data between the lower P% and the upper (100 P)% of the data: P% of data values are less than (or equal to) the P th percentile Question: How can we find the value k corresponding to the P th percentile? Plot of f(x)=1/23 f(x) 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0 5 10 15 k 20 x 17 / 27

Percentiles for Uniform Random Variables Question: How can we find the value k corresponding to the P th percentile? We know that P(X k) = P th percentile, so Rearranging terms we get k a b a = Pth percentile k = a + (b a)(p th Percentile) Example: Let X U(0, 23), what value corresponds to the 78 th percentile? k = 0 + (23 0)(0.78) = 17.94 So 17.94 is the 78 th percentile 18 / 27

The Exponential Distribution The exponential distribution is a continuous probability distribution The exponential distribution is often concerned with the amount of time until some specific event occurs Some examples: The amount of time until and earthquake occurs The length(in minutes) of long distance business calls The amount of time (in months) a car battery lasts Plot of the Exponential Distribution Probability Density Function 0.0 0.1 0.2 0.3 0.4 0.5 0 2 4 6 8 10 Life of Car Battery (in months) 19 / 27

The Exponential Distribution Let X be a exponential random variable X Exp(m) The exponential probability density function is f(x) = me mx m = the "decay rate" m must be positive, i.e., m > 0 e = 2.71828182846... 20 / 27

The Exponential Distribution Let X be a exponential random variable X Exp(m) The exponential probability density function is f(x) = me mx The probability that X d is P(X d) = 1 e md The probability that c X d is P(c X d) = e mc e md The probability that X d is P(X d) = e md 21 / 27

Example #3 Let X Exp(0.5) Question: Find the probability that 2 < X < 4 Plot of the Exponential Distribution Probability Density Function 0.0 0.1 0.2 0.3 0.4 0.5 0 2 4 6 8 10 Life of Car Battery (in months) Solution: P(2 < X < 4) = e (0.5)(2) e (0.5)(4) = e 1 e 2 = 0.2325442 22 / 27

Example #3 Continued Let X Exp(0.5) Question: Find the probability that X < 4 Solution: P(X < 4) = 1 e (0.5)(4) = 1 e 2 = 0.8646647 Question: Find the probability that X > 4 Solution: P(X > 4) = 1 P(X < 4) = 1 (1 e (0.5)(4) ) = e 2 = 0.1353353 Question: Find the probability that X = 4 Solution: P(X = 4) =??? 23 / 27

Expected Value (Mean) and Standard Deviation Let X Exp(m), where m > 0, then: The expected value of X is The standard deviation of X is µ = 1 m Example: Let X Exp(4), then σ = 1 m and µ = 1 4 σ = 1 4 24 / 27

Percentiles for Exponential Random Variables Question: How can we find the value k corresponding to the P th percentile? Plot of the Exponential Distribution Probability Density Function 0.0 0.1 0.2 0.3 0.4 0.5 0 2 4 k 6 8 10 Life of Car Battery (in months) 25 / 27

Percentiles for Exponential Random Variables Question: How can we find the value k corresponding to the P th percentile? We know that P(X k) = P th percentile, so Rearranging terms we get 1 e km = P th percentile k = ln(1 Pth Percentile) m Example: Let X Exp(0.5), what value corresponds to the 90 th percentile? ln(1 0.90) k = = ln(0.10) = 4.60517 0.5 0.5 So 4.60517 is the 90 th percentile 26 / 27

Other Continuous Probability Distributions Some other well known discrete probability distributions: The normal (Gaussian) distribution The student-t distribution The χ 2 distribution (chi-squared) The gamma distribution The beta distribution The weibull distribution And the list goes on... 27 / 27