Docsity

Continuous Random Variables and Their Probability Distributions, Exams of Probability and Statistics

Toggle sidebar
bg1
STAT 3401, Intro. Prob. Theory 29/42 Jaimie Kwon
2/18/2005
4 Continuous Random Variables and Their Probability
Distributions
4.1 Introduction
♦ Not all random variables of interest are discrete. E.g. daily rainfall; life expectancy in years;
♦ A random variable that takes on any value in an interval is called “continuous” : no values
between a and b can be ruled out as possible value
♦ The probability distribution for a continuous RV cannot be specified easily as discrete RVs.
Cannot assign nonzero probabilities to all the points on a line interval and making them sum to
1
4.2 The probability distribution for a continuous random variable
♦ Definition 4.1 The “(cumulative) distribution function” F(y) of a random variable Y is given by
F(y)=P(Y≤y) for -∞<y<∞.
♦ Example 4.1 What’s F(y) of Y~binom(2, 1/2)? A graph? A “step function”
♦ Distribution functions for discrete RVs are always step functions since the function increases
only at a countable # of points
♦
Theorem 4.1 If F(y) is a distribution function, then
1. F(-∞)=0
2. F(∞) = 1
3. F(y) is non-decreasing function of y.
♦ Definition 4.2 A RV Y is said to be “continuous” if its distribution function F(y) is continuous for -
∞<y<∞.
à For a continuous RV Y, we must have P(Y=y) = 0. (Why?)
♦ Definition 4.3 Let F(y) be the distribution function for a continuous RV Y. Then f(y), given by
)('
)(
)( yF
dy
ydF
yf == whenever the derivative exists, is called the “probability density
function (PDF)” for the RV Y.
♦ It follows that ∫∞−
=ydttfyF )()( (graph?)
♦
Theorem 4.2 If f(y) is a density function, then
1. f(y)≥0 for any values of y.
2.
=
∫∞
∞− )(yf
1.
♦ Example 4.2 F(y)=y 1(0≤y<1) + 1(y≥1). What’s the PDF for Y? Graph it.
pf3
pf4
pf5

Partial preview of the text

Download Continuous Random Variables and Their Probability Distributions and more Exams Probability and Statistics in PDF only on Docsity!

4 Continuous Random Variables and Their Probability

Distributions

4.1 Introduction

♦ Not all random variables of interest are discrete. E.g. daily rainfall; life expectancy in years; ♦ A random variable that takes on any value in an interval is called “continuous” : no values between a and b can be ruled out as possible value ♦ The probability distribution for a continuous RV cannot be specified easily as discrete RVs. Cannot assign nonzero probabilities to all the points on a line interval and making them sum to 1

4.2 The probability distribution for a continuous random variable

♦ Definition 4.1 The “(cumulative) distribution function” F(y) of a random variable Y is given by F(y)=P(Y≤y) for -∞<y<∞. ♦ Example 4.1 What’s F(y) of Y~binom(2, 1/2)? A graph? A “step function” ♦ Distribution functions for discrete RVs are always step functions since the function increases only at a countable # of points ♦ Theorem 4.1 If F(y) is a distribution function, then

  1. F(-∞)=
  2. F(∞) = 1
  3. F(y) is non-decreasing function of y. ♦ Definition 4.2 A RV Y is said to be “continuous” if its distribution function F(y) is continuous for - ∞<y<∞. à For a continuous RV Y, we must have P(Y=y) = 0. (Why?) ♦ Definition 4.3 Let F(y) be the distribution function for a continuous RV Y. Then f(y), given by

( ) ( ) F '( y )

dy

f y = dF y = whenever the derivative exists, is called the “probability density

function (PDF)” for the RV Y.

♦ It follows that = (^) ∫− (^) ∞

y

F ( y ) f ( t ) dt (graph?)

♦ Theorem 4.2 If f(y) is a density function, then

  1. f(y)≥0 for any values of y.
  2. (^) ∫ =

∞

−∞ f (^ y )^ 1.

♦ Example 4.2 F(y)=y 1(0≤y<1) + 1(y≥1). What’s the PDF for Y? Graph it.

♦ Example 4.3 Let Y be a continuous RV with PDF f(y)=3y 2 1(0≤y<1). Find F(y). Graph both f(y) and F(y) ♦ F(y 0 )=P(Y≤y 0 ). What about P(a≤Y≤b)? Recall the frequency distribution situation: “area under the frequency distribution”. ♦ Theorem 4.3 For a≤b,

≤ ≤ = < ≤ = ≤ < = < < = ∫

b

P ( a Y b ) P ( a Y b ) P ( a Y b ) P ( a Y b ) a f ( y ) dy.

♦ Example 4.4, 4.5. Given f(y)=cy 2 1(0<y<2), find the value of c for which f(y) is a valid density function. Also find P(1<Y<2). ♦ Some density functions provide good models for population frequency distributions encountered in nature ♦ Exercises 4.1~ ♦ Keywords: continuous RV, PDF

4.3 Expected values for continuous random variables

♦ Definition 4.4 (The expected value of a continuous RV) (^) ∫

∞

E ( Y )= −∞ yf ( y ) dy

♦ Theorem 4.4 (The expected value of a function of Y) (^) ∫

∞

E [ g ( Y )]= −∞ g ( y ) f ( y ) dy

♦ Theorem 4.5 For any constant c, and functions g(Y), g 1 (Y), g 2 (Y),…,g (^) k(Y) of continuous Y,

  1. E(c)=c.
  2. E[cg(Y)] = cE[g(Y)],
  3. E[g 1 (Y)+g 2 (Y)+…+g k (Y)]=E[g 1 (Y)]+E[g 2 (Y)]+…+E[g k (Y)]. ♦ Example 4.6 For example 4.4, find μ=E(Y) and σ^2 =V(Y). ♦ Exercises 4.14~ ♦ Keywords: E(Y), E(g(Y))

4.4 The uniform probability distribution

♦ Probability(the bus will arrive in any given subinterval of time) ∝ the length of the subinterval : an example of ♦ Definition 4.5 If a<b, a RV Y is said to have a continuous “uniform probability distribution” on the

interval (a, b) iff ( )^11 ( a y b )

b a

f y < <

♦ Definition 4.6 The constant that determine the specific form of a density function is called “parameters” of the density function

à Recall that z=(y-μ)/σ.

♦ Can always transform Y~N(μ,σ^2 ) to a “standard normal” RV Z by using

Z = Y −^ μ. Prove in

Chapter 6 that the “standard normal RV” Z~N(0,1) ♦ Exercises 4.46~ ♦ Keywords: N(μ,σ^2 )

4.6 The gamma probability distribution

♦ Some RVs are always à Nonnegative à Skewed (nonsymmetric) to the right ♦ E.g. lengths of time between malfunctions for aircraft engines; lengths of time between arrivals at a supermarket checkout queue ♦ Populations associated with these RVs frequently possess distributions that are adequately modeled by a gamma density function ♦ Definition 4.8 A RV Y is said to have a “gamma distribution with parameters a>0 and b>0 or

Y~Gamma(a,b) iff 1 ( 0 )

( )^1 /^1 ≥

= e −^ y − y

b a

f y a yb a where (^) ∫

∞ (^) − −

Γ ( a ) = 0 e y^ ya^1 dy (“gamma

function”) à Integrations will verify that Γ(1)=1, Γ(a)=(a-1) Γ(a-1) for any a>0, and Γ(n)=(n-1)!, for an integer n. à Parameter a: “shape parameter” (different graphs for a=1,2,4 and b=1) à Parameter b: “scale parameter”. Multiplying a gamma(a, b) variable by say c>0, gives gamma(a, b c) variable. ♦ Evaluating the integral à If a is an integer, it is a sum of certain Poisson probabilities. à If a is not an integer, no closed form. There’s a table but not in our book

♦ Theorem 4.8 If Y ~ Gamma(a,b), then μ= E ( Y )= ab and σ^2 = V ( Y )= ab^2

  • Proof: tricks a la Poisson/binomial mean/variance. ♦ Definition 4.9 A random variable Y is said to have a “chi-squared distribution with v degrees of freedom” or Y~χ^2 (v) iff Y~Gamma(v/2, 2) ♦ Theorem 4.9 If Y ~ χ^2 (v), then μ=E(Y)=v and σ^2 =V(Y)=2v ♦ Use Table 6, Appendix III : can use this relationship to evaluate probability for SOME gamma distributions

♦ Definition 4.10 A random variable Y is said to have an “exponential distribution with parameter

b>0” or Y~ Exp (β) iff Y ~ Gamma(1, β) or f ( y )= 1 e −^ y /^ β 1 ( y > 0 )

à Useful for modeling the length of life of electronic components, especially when the length of a time a component already has operated does not affect its chance of operating for at least b additional time units. “Memoryless” property. à The geometric distribution also has the memoryless property. There’s an interesting relationship between the two. ♦ Theorem 4.10 If Y ~ Exp(β), then μ=E(Y)= β and σ^2 =V(Y)= β^2. ♦ Example 4.10 Let Y ~ Exp(β). Show that if a>0 and b>0, P(Y>a+b|Y>a)=P(Y>b). ♦ Exercises 4.67~ ♦ Keywords: Exp(β)

4.7 The beta probability distribution

♦ A two-parameter density function defined over the closed interval 0≤y≤1. ♦ Used to model proportions (examples?) ♦ Definition 4.11 A random variable Y is said to have a “beta probability distribution with parameters α>0 and β>0 iff the density function of Y is

( )= 1 y −^1 − y −^1 ≤ y ≤

B

f y α^ β

where

( , )^1 ( 1 ) ( ) ( )

0

1 1

B y −^ y − dy

à Shapes?? à Can obtain y* with range (0,1), and thus can be modeled as having beta distribution, from any continuous y with range (c,d) by y*=(y-c)/(d-c). à The cumulative distribution function (“incomplete beta function”) is à If α and β are both positive integers, one can show that

− −

= − =^ n ⎛

i

y yi n yni

i

n

B

F y t t

α

α β

( ) (^1 )

0

1 1 for n=α+β-1.

♦ Theorem 4.11 If Y~Beta(α,β), then

= E ( Y )= and

α β α β

σ VY αβ

♦ Example 4.11 The proportion of the gasoline supply that is sold during the week ~ Beta(4,2). P(selling at least 90% of the stock in a given week)=? ♦ Exercises 4.91~ ♦ Keywords: beta distribution; proportions