Continuous random variables

Similar documents
STA 256: Statistics and Probability I

Random Variables and Their Distributions

CHAPTER 6 SOME CONTINUOUS PROBABILITY DISTRIBUTIONS. 6.2 Normal Distribution. 6.1 Continuous Uniform Distribution

Continuous Distributions

Topic 4: Continuous random variables

Continuous Random Variables

Continuous Random Variables and Continuous Distributions

Topic 4: Continuous random variables

Review 1: STAT Mark Carpenter, Ph.D. Professor of Statistics Department of Mathematics and Statistics. August 25, 2015

Let X be a continuous random variable, < X < f(x) is the so called probability density function (pdf) if

Chapter 4 Continuous Random Variables and Probability Distributions

3 Continuous Random Variables

Continuous random variables

Probability and Distributions

1 Probability and Random Variables

Uniform Distribution. Uniform Distribution. Uniform Distribution. Graphs of Gamma Distributions. Gamma Distribution. Continuous Distributions CD - 1

Chapter 4: Continuous Random Variables and Probability Distributions

Chapter 5 continued. Chapter 5 sections

Probability Distributions for Continuous Variables. Probability Distributions for Continuous Variables

15 Discrete Distributions

A Few Special Distributions and Their Properties

Review of Statistics I

Final Examination. STA 711: Probability & Measure Theory. Saturday, 2017 Dec 16, 7:00 10:00 pm

Continuous random variables and probability distributions

STT 441 Final Exam Fall 2013

STAT Chapter 5 Continuous Distributions

Continuous Random Variables 1

Statistics 100A Homework 5 Solutions

Question Points Score Total: 76

Gamma and Normal Distribuions

Continuous distributions

Probability Theory and Statistics. Peter Jochumzen

Continuous Random Variables. and Probability Distributions. Continuous Random Variables and Probability Distributions ( ) ( ) Chapter 4 4.

5.2 Continuous random variables

Continuous Distributions

Common ontinuous random variables

Midterm Examination. STA 205: Probability and Measure Theory. Wednesday, 2009 Mar 18, 2:50-4:05 pm

1 Review of Probability and Distributions

Continuous Random Variables and Probability Distributions

Brief Review of Probability

Midterm Examination. STA 205: Probability and Measure Theory. Thursday, 2010 Oct 21, 11:40-12:55 pm

LIST OF FORMULAS FOR STK1100 AND STK1110

Slides 8: Statistical Models in Simulation

Chapter 3. Julian Chan. June 29, 2012

ECON 5350 Class Notes Review of Probability and Distribution Theory

Distributions of Functions of Random Variables. 5.1 Functions of One Random Variable

Business Statistics. Chapter 6 Review of Normal Probability Distribution QMIS 220. Dr. Mohammad Zainal

3. Probability and Statistics

Exponential, Gamma and Normal Distribuions

Probability Distributions Columns (a) through (d)

FIRST YEAR EXAM Monday May 10, 2010; 9:00 12:00am

Chapter 3 Common Families of Distributions

Chapter 3.3 Continuous distributions

Continuous Random Variables. and Probability Distributions. Continuous Random Variables and Probability Distributions ( ) ( )

SDS 321: Introduction to Probability and Statistics

2 Functions of random variables

continuous random variables

Continuous Distributions

Chapter 4. Continuous Random Variables

p. 6-1 Continuous Random Variables p. 6-2

Mathematical Statistics 1 Math A 6330

7 Random samples and sampling distributions

STAT515, Review Worksheet for Midterm 2 Spring 2019

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

Probability- the good parts version. I. Random variables and their distributions; continuous random variables.

Collaborative Statistics: Symbols and their Meanings

Preliminary Statistics Lecture 3: Probability Models and Distributions (Outline) prelimsoas.webs.com

Review for the previous lecture

Chapter 5. Chapter 5 sections

1 Uniform Distribution. 2 Gamma Distribution. 3 Inverse Gamma Distribution. 4 Multivariate Normal Distribution. 5 Multivariate Student-t Distribution

CSE 312, 2017 Winter, W.L. Ruzzo. 7. continuous random variables

STAT 231 Homework 5 Solutions

BMIR Lecture Series on Probability and Statistics Fall, 2015 Uniform Distribution

Generation from simple discrete distributions

Chapter 11 Sampling Distribution. Stat 115

CDA5530: Performance Models of Computers and Networks. Chapter 2: Review of Practical Random Variables

The normal distribution

MATH : EXAM 2 INFO/LOGISTICS/ADVICE

Stat 5101 Notes: Brand Name Distributions

Lecture 3. Probability - Part 2. Luigi Freda. ALCOR Lab DIAG University of Rome La Sapienza. October 19, 2016

Actuarial Science Exam 1/P

Probability Density Functions

Sampling Distributions

Definition: A random variable X is a real valued function that maps a sample space S into the space of real numbers R. X : S R

Statistical Intervals (One sample) (Chs )

Other Continuous Probability Distributions

Statistics and Econometrics I

MATH 3510: PROBABILITY AND STATS July 1, 2011 FINAL EXAM

Transformations and Expectations

Independent Events. Two events are independent if knowing that one occurs does not change the probability of the other occurring

3 Modeling Process Quality

Probability theory for Networks (Part 1) CS 249B: Science of Networks Week 02: Monday, 02/04/08 Daniel Bilar Wellesley College Spring 2008

Chapter 5. Continuous Probability Distributions

Theoretical Probability Models

Definition A random variable X is said to have a Weibull distribution with parameters α and β (α > 0, β > 0) if the pdf of X is

Applied Statistics and Probability for Engineers. Sixth Edition. Chapter 4 Continuous Random Variables and Probability Distributions.

Chapter 4 Continuous Random Variables and Probability Distributions

Random variables. DS GA 1002 Probability and Statistics for Data Science.

Small-Sample CI s for Normal Pop. Variance

There are two basic kinds of random variables continuous and discrete.

Transcription:

Continuous random variables Can take on an uncountably infinite number of values Any value within an interval over which the variable is definied has some probability of occuring This is different from the discrete case, in which every point in a given interval may not be a possible value

Cumulative dist. functions: continuous case F (x) = P (X x) In continuous case, cumulative distribution function (a.k.a. distribution function) doesn t look like a step function This is because in each interval, there are points of positive probability contributing to F(x) The c.d.f is a continuous, nondecreasing function F ( ) =0,F ( ) =1

Discrete vs. cont. example 1 1 F(x) F(y) 0 0 0 1 2 3 x Binomial c.d.f with n=3, p=1/6 0 5 10 15 y Uniform c.d.f with a=0 and b=15

Probability Density Functions Probability density function (p.d.f) for X is derivative of the c.d.f: f(x) = = F (x) df (x) dx It follows that the c.d.f can be written: x f(t)dt f(x) must be continuous (exception: see note on p. 139) f(x) 0 f(x)dx =1

Expected value for continuous random variables The continuous case uses integrals instead of sums (as in discrete case) Continuous X: E(X) = xf(x)dx Discrete X: E(X) = xf(x) Likewise for the expected value of a function of x: E[g(x)] = g(x)f(x)dx

Uniform distribution If X is distributed uniformly on the interval (a, b), then X has p.d.f: f(x) = 1 b a if a x b 0 otherwise 1/(b-a) f(x) a b x Uniform p.d.f

Mean of the uniform distribution If X is distributed uniformly on the interval (a, b), E(X) = a+b 2. Show this using the definition we have for the expected value of a continuous random variable X: E(X) = xf(x)dx

Example using the uniform Let s say that Jenise doesn t get up as soon as her alarm goes off. The extra time she sleeps in is given by the random variable X, which is distributed uniformly ontheinterval(0min,15min). What s the probability that her extra sleeping time is less than 5 min? What s the probability that her extra sleeping time is less than 10 min, but more than 7 min?

Normal distribution mu Has p.d.f f(x) = 1 σ 2π <x< exp{ 1 2σ 2 (x µ) 2 },for Mean is given by µ, variance by σ 2 > 0 Has the classic bell-curve shape Forms the basis of the empirical rule Used to approximate many real-life processes

Areas under the normal curve To find P (a X b), we need to evaluate b a 1 σ 2π But there is no closed-form solution to the integral! exp{ 1 2σ 2 (x µ) 2 }dx Numerical integration methods must be used in order to find P (X x) for various values of x How to do this, since there are infinite possibilities for µ and σ?

Areas under the normal curve Random variable Z has a standard normal distribution if it is distributed normally with µ = 0 and σ =1 Values of Z correspond to how many standard deviations away from the mean they are All other normally distributed RVs can be transformed to the standard normal using this idea of how many std. dev. from the mean is it For X N(µ, σ 2 ), we can transform X into standardized scores (z-scores) using Z = X µ σ

Using z-scores and the normal table -4-3 -2-1 0 1 2 3 4 Standard normal p.d.f Areas under the curve have been calculated and recorded in the normal table (see inside cover of textbook) For each z you look up in the table, you will get P (Z z) Since the standard normal is symmetric around µ =0, there are no negative values for z on the table Symmetry is an important property to remember when using the table!!!

Using the std. normal table Suppose the variable Z has a standard normal distribution, i.e. Z N(0, 1). Find the following probabilities: P ( 1 Z 1) P (Z 1.96) P ( 0.50 Z 1.25)

Using the std. normal table Suppose the variable Z has a standard normal distribution, i.e. Z N(0, 1). Which value marks the 95th percentile? Which values are the boundaries for the middle 80% of the data?

Example using the normal The time required to complete a college achievement test was found to be normally distributed, with a mean of 110 minutes and a standard deviation of 20 minutes. What percentage of students will finish within 2 hours? What percentage of students will finish after 1.5 hours but before 2.5 hours?

Example using the normal (cont.) The time required to complete a college achievement test was found to be normally distributed, with a mean of 110 minutes and a standard deviation of 20 minutes. When should the test be terminated to allow just enough time for 90% of students to complete the test? What are the boundaries for the IQR of the time it takes to complete the test?

Gamma distribution If X has a gamma distribution with shape parameter α>0 and scale parameter β>0, then X has p.d.f.: f(x) = x α 1 exp( y β ) β α Γ(α) 0 x 0 otherwise Γ(α) =(α 1)! only in the case that α is an integer Only when α is an integer can we integrate this p.d.f. over an interval and get a closed-form expression E(X) =αβ Two special cases of the gamma have their own names 1. An exponential with parameter β is a gamma with α = 1 and β 2. A chi-squared with ν degrees of freedom is a gamma with α = ν 2 and β =2

Various gamma p.d.f.s shape=2, scale=1 shape=3, scale=0.25 shape=4, scale=0.125 0 2 4 6 8 10

Beta distribution If X has a beta distribution with parameters α>0 and β>0, then X has p.d.f.: f(x) = Γ(α+β) Γ(α)Γ(β) xα 1 (1 x) β 1 0 x 1 0 otherwise alpha=2, beta=2 alpha=2, beta=4 alpha=3, beta=4 0.0 0.2 0.4 0.6 0.8 1.0

Ex: fueling station A gas station operates 2 pumps, each of which can pump up to 10,000 gallons of gas in a month. The total amount of gas pumped at the station in a month is a random variable Y (measured in 10,000 gallons) with a probability density function given by Find F (y). f(y) = y, 0 <y<1 2 y, 1 y<2 0, elsewhere

Fueling station (cont.) Find P (8 <Y <12). Given that the station pumped more than 10,000 gallons in a particular month, find the probability that the station pumped more than 15,000 gallons during the month.