• No results found

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

N/A
N/A
Protected

Academic year: 2021

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

Copied!
18
0
0

Loading.... (view fulltext now)

Full text

(1)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Chapter 4 - Lecture 1

Probability Density Functions and Cumulative Distribution Functions

Andreas Artemiou

(2)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Continuous random variables Review

Probability distribution function Example

Uniform Distribution Definition Example

Cumulative distribution function Definition

Example Useful results

Relationship between the pdf and the cdf

(3)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Review

Probability distribution function Example

Review

I

In Chapter 3 we have seen that a continuous random variable is one that can take any possible value in a given interval.

I

Examples

I

People weight

I

People height

I

Distance between two cities

(4)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Review

Probability distribution function Example

Probability distribution functon

I

Now if X is continuous random variable the probability distribution or probability density function (pdf) of X is a function f (x ) such that

P(a ≤ X ≤ b) = Z

b

a

f (x )dx

(5)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Review

Probability distribution function Example

Legitimate pdf

I

A function is a legitimate pdf if it satisfies the following two conditions

I

f (x ) ≥ 0∀X

I

Z

−∞

f (x )dx = 1

(6)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Review

Probability distribution function Example

Important property

I

Note that in the continuous case P(X = c) = 0 for every possible value of c. (why?)

I

This has a very useful consequence in the continuous case:

P(a ≤ X ≤ b) = P(a < X ≤ b) = P(a ≤ X < b) = P(a < X < b)

(7)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Review

Probability distribution function Example

Example 4.5 page 158

(8)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example

Uniform Distribution

I

A continuous random variable X is said to have a uniform distribution on the interval [A, B] if the pdf of X is the following:

f (x ) =

 1

B − A , A ≤ X ≤ B

0 , otherwise

(9)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example

Example

I

If in a Friday quiz we denote with X the time that the first student will finish and X follows a uniform distribution in the interval 5 to 15 minutes.

I

Find the probability distribution

I

Find the P(X < 4), P(X < 12) and P(X > 7).

(10)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example Useful results

Relationship between the pdf and the cdf

Cumulative distribution function

I

The cumulative distribution function (cdf) for a continuous random variable X is the following:

F (x ) = P(X ≤ x ) = Z

x

−∞

f (y )dy

(11)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example Useful results

Relationship between the pdf and the cdf

Example

I

If in a Friday quiz we denote with X the time that the first student will finish and X follows a uniform distribution in the interval 5 to 15 minutes.

I

Find the cumulative distribution function of X .

(12)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example Useful results

Relationship between the pdf and the cdf

Example

I

In the continuous case is very useful to use the cdf to find probabilities using the formulas:

P(X > a) = 1 − F (a)

P(a ≤ X ≤ b) = F (b) − F (a)

(13)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example Useful results

Relationship between the pdf and the cdf

Example

I

If in a Friday quiz we denote with X the time that the first student will finish and X follows a uniform distribution in the interval 5 to 15 minutes.

I

Find P(X > 7) and P(6 < X < 11).

(14)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example Useful results

Relationship between the pdf and the cdf

Obtaining f (x ) from F (x )

I

If X is a continuous random variable with pdf f (x ) and cdf F (x ), then at every x at which the derivative of F (x ), denoted with F

0

(x ), exists we have that F

0

(x ) = f (x ).

I

Prove this for the quiz example in the previous slide.

(15)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example

Percentiles

I

If p is a number between 0 and 1. Then the (100p)th

percentile of the distribution of a continuous random variable X is denoted by η(p) and it satisfies the following:

p = F ((η(p))) = Z

η(p)

−∞

f (y )dy

(16)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example

Example 4.9 page 164

(17)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Definition Example

Median

I

By definition the median is the middle observation. When we

have a continuous random variable the median is the same as

the 50th percentile. So half the area under the curve is below

the median (on the left) and half above the median (on the

right).

(18)

Outline Continuous random variables Uniform Distribution Cumulative distribution function Percentiles Exercises

Exercises

I

Section 4.1 page 165

I

Exercises 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17

References

Related documents

The aim of this research study was the synthesis of a library of targeted MRI contrast agents that could have the potential to be used as non-invasive imaging agents

To give you the debugging power you need, each oscilloscope comes standard with advanced features including sophisticated triggering, automatic measurements, digital filtering,

If X and Y are two independent poisson random variable, then show that probability distribution of X given X+Y follows binomial distribution.. Find MGF and hence find

On January 23, 2003, the SEC published final rules that will require companies to include in their annual reports filed with the SEC new disclosures regarding (i) whether at least

18&#34; M Double Spoke Ferric Grey Wheels – Style 461M (option available only on Coupé) M Sport Suspension (228i Coupé). High-Gloss Shadow Line Exterior Trim

The Probability Density Functions of the arrival time of light (PDFs) [ 4 ] are read from 4 files, each containing the data of the Cumulative Density Functions (CDFs) of direct

While the responsive design was a large element of the process, his website also needed to incorporate Social Media, Search Engine Optimization (SEO), and a cohesive

I The mode of a distribution is the value M of the stochastic variable X such that the probability density function, or point probability at M is higher or equal than for any