Continuous Distributions

Slides:



Advertisements
Similar presentations
Special random variables Chapter 5 Some discrete or continuous probability distributions.
Advertisements

Some additional Topics. Distributions of functions of Random Variables Gamma distribution,  2 distribution, Exponential distribution.
Joint and marginal distribution functions For any two random variables X and Y defined on the same sample space, the joint c.d.f. is For an example, see.
Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
Use of moment generating functions. Definition Let X denote a random variable with probability density function f(x) if continuous (probability mass function.
Review of Basic Probability and Statistics
Chapter 4 Discrete Random Variables and Probability Distributions
Probability Densities
Probability and Statistics Review
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
Continuous Random Variables and Probability Distributions
Week 51 Theorem For g: R  R If X is a discrete random variable then If X is a continuous random variable Proof: We proof it for the discrete case. Let.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 4 Continuous Random Variables and Probability Distributions.
1 Probability distribution Dr. Deshi Ye College of Computer Science, Zhejiang University
Jointly distributed Random variables
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics, 2007 Instructor Longin Jan Latecki Chapter 7: Expectation and variance.
Moment Generating Functions 1/33. Contents Review of Continuous Distribution Functions 2/33.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Discrete Random Variables Chapter 4.
Standard Statistical Distributions Most elementary statistical books provide a survey of commonly used statistical distributions. The reason we study these.
Functions of Random Variables. Methods for determining the distribution of functions of Random Variables 1.Distribution function method 2.Moment generating.
Moment Generating Functions
Probability The definition – probability of an Event Applies only to the special case when 1.The sample space has a finite no.of outcomes, and 2.Each.
Functions of Random Variables. Methods for determining the distribution of functions of Random Variables 1.Distribution function method 2.Moment generating.
Random Variables Numerical Quantities whose values are determine by the outcome of a random experiment.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review II Instructor: Anirban Mahanti Office: ICT 745
Use of moment generating functions 1.Using the moment generating functions of X, Y, Z, …determine the moment generating function of W = h(X, Y, Z, …).
Continuous Distributions The Uniform distribution from a to b.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Discrete Probability Distributions. Random Variable Random variable is a variable whose value is subject to variations due to chance. A random variable.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Expectation for multivariate distributions. Definition Let X 1, X 2, …, X n denote n jointly distributed random variable with joint density function f(x.
The two way frequency table The  2 statistic Techniques for examining dependence amongst two categorical variables.
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and.
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
1 6. Mean, Variance, Moments and Characteristic Functions For a r.v X, its p.d.f represents complete information about it, and for any Borel set B on the.
Continuous Random Variables and Probability Distributions
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Selecting Input Probability Distributions. 2 Introduction Part of modeling—what input probability distributions to use as input to simulation for: –Interarrival.
Random Variables By: 1.
Week 61 Poisson Processes Model for times of occurrences (“arrivals”) of rare phenomena where λ – average number of arrivals per time period. X – number.
Chapter 3 Applied Statistics and Probability for Engineers
Expectations of Random Variables, Functions of Random Variables
MECH 373 Instrumentation and Measurements
MAT 446 Supplementary Note for Ch 3
Lecture 3 B Maysaa ELmahi.
The Exponential and Gamma Distributions
Random Variables.
Expectations of Random Variables, Functions of Random Variables
STATISTICS Random Variables and Distribution Functions
Chapter 7: Sampling Distributions
The Bernoulli distribution
3.1 Expectation Expectation Example
Some Rules for Expectation
Moment Generating Functions
Mean & Variance of a Distribution
Probability Review for Financial Engineers
STATISTICAL MODELS.
Probability Theory and Specific Distributions (Moore Ch5 and Guan Ch6)
CENTRAL MOMENTS, SKEWNESS AND KURTOSIS
Probability.
Geometric Poisson Negative Binomial Gamma
Continuous Distributions
Moments of Random Variables
Presentation transcript:

Continuous Distributions The Uniform distribution from a to b

The Normal distribution (mean m, standard deviation s)

The Exponential distribution

Weibull distribution with parameters a and b.

The Weibull density, f(x) (a = 0.9, b = 2) (a = 0.7, b = 2) (a = 0.5, b = 2)

The Gamma distribution Let the continuous random variable X have density function: Then X is said to have a Gamma distribution with parameters a and l.

Expectation

Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected value of X, E(X) is defined to be: and if X is continuous with probability density function f(x)

Example: Suppose we are observing a seven game series where the teams are evenly matched and the games are independent. Let X denote the length of the series. Find: The distribution of X. the expected value of X, E(X).

Solution: Let A denote the event that team A, wins and B denote the event that team B wins. Then the sample space for this experiment (together with probabilities and values of X) would be (next slide):

outcome AAAA BBBB BAAAA ABAAA AABAA AAABA Prob (½ )4 (½ )5 X 4 5 ABBBB BABBB BBABB BBBAB BBAAAA (½ )6 6 BABAAA BAABAA BAAABA ABBAAA ABABAA ABAABA AABBAA AABABA AAABBA AABBBB ABABBB ABBABB continued At this stage it is recognized that it might be easier to determine the distribution of X using counting techniques

The possible values of X are {4, 5, 6, 7} The probability of a sequence of length x is (½)x The series can either be won by A or B. If the series is of length x and won by one of the teams (A say) then the number of such series is: In a series of that lasts x games, the winning team wins 4 games and the losing team wins x - 4 games. The winning team has to win the last games. The no. of ways of choosing the games that the losing team wins is:

Thus x 4 5 6 7 p(x) The probability of a series of length x. The no. of ways of choosing the winning team The no. of ways of choosing the games that the losing team wins x 4 5 6 7 p(x)

Interpretation of E(X) The expected value of X, E(X), is the centre of gravity of the probability distribution of X. The expected value of X, E(X), is the long-run average value of X. (shown later –Law of Large Numbers) E(X)

Example: The Binomal distribution Let X be a discrete random variable having the Binomial distribution. i. e. X = the number of successes in n independent repetitions of a Bernoulli trial. Find the expected value of X, E(X).

Solution:

Example: A continuous random variable The Exponential distribution Let X have an exponential distribution with parameter l. This will be the case if: P[X ≥ 0] = 1, and P[ x ≤ X ≤ x + dx| X ≥ x] = ldx. The probability density function of X is: The expected value of X is:

We will determine using integration by parts.

Summary: If X has an exponential distribution with parameter l then:

Example: The Uniform distribution Suppose X has a uniform distribution from a to b. Then: The expected value of X is:

Example: The Normal distribution Suppose X has a Normal distribution with parameters m and s. Then: The expected value of X is: Make the substitution:

Hence Now

Example: The Gamma distribution Suppose X has a Gamma distribution with parameters a and l. Then: Note: This is a very useful formula when working with the Gamma distribution.

The expected value of X is: This is now equal to 1.

Thus if X has a Gamma (a ,l) distribution then the expected value of X is: Special Cases: (a ,l) distribution then the expected value of X is: Exponential (l) distribution: a = 1, l arbitrary Chi-square (n) distribution: a = n/2, l = ½.

The Gamma distribution

The Exponential distribution

The Chi-square (c2) distribution

Expectation of functions of Random Variables

Definition Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected value of g(X), E[g(X)] is defined to be: and if X is continuous with probability density function f(x)

Example: The Uniform distribution Suppose X has a uniform distribution from 0 to b. Then: Find the expected value of A = X2 . If X is the length of a side of a square (chosen at random form 0 to b) then A is the area of the square = 1/3 the maximum area of the square

Example: The Geometric distribution Suppose X (discrete) has a geometric distribution with parameter p. Then: Find the expected value of X A and the expected value of X2.

Recall: The sum of a geometric Series Differentiating both sides with respect to r we get: Differentiating both sides with respect to r we get:

Thus This formula could also be developed by noting:

This formula can be used to calculate:

To compute the expected value of X2. we need to find a formula for Note Differentiating with respect to r we get

Differentiating again with respect to r we get Thus

implies Thus

Thus

Moments of Random Variables

Definition Let X be a random variable (discrete or continuous), then the kth moment of X is defined to be: The first moment of X , m = m1 = E(X) is the center of gravity of the distribution of X. The higher moments give different information regarding the distribution of X.

Definition Let X be a random variable (discrete or continuous), then the kth central moment of X is defined to be: where m = m1 = E(X) = the first moment of X .

The central moments describe how the probability distribution is distributed about the centre of gravity, m. = 2nd central moment. depends on the spread of the probability distribution of X about m. is called the variance of X. and is denoted by the symbol var(X).

is called the standard deviation of X and is denoted by the symbol s. The third central moment contains information about the skewness of a distribution.

The third central moment contains information about the skewness of a distribution. Measure of skewness

Positively skewed distribution

Negatively skewed distribution

Symmetric distribution

The fourth central moment Also contains information about the shape of a distribution. The property of shape that is measured by the fourth central moment is called kurtosis The measure of kurtosis

Mesokurtic distribution

Platykurtic distribution

leptokurtic distribution

Example: The uniform distribution from 0 to 1 Finding the moments

Finding the central moments:

Thus The standard deviation The measure of skewness The measure of kurtosis

Rules for expectation

Rules: Proof The proof for discrete random variables is similar.

Proof The proof for discrete random variables is similar.

Proof The proof for discrete random variables is similar.

Proof

Moment generating functions

Recall Definition Let X denote a random variable, Then the moment generating function of X , mX(t) is defined by:

Examples The Binomial distribution (parameters p, n) The moment generating function of X , mX(t) is:

The Poisson distribution (parameter l) The moment generating function of X , mX(t) is:

The Exponential distribution (parameter l) The moment generating function of X , mX(t) is:

The Standard Normal distribution (m = 0, s = 1) The moment generating function of X , mX(t) is:

We will now use the fact that We have completed the square This is 1

The Gamma distribution (parameters a, l) The moment generating function of X , mX(t) is:

We use the fact Equal to 1

Properties of Moment Generating Functions

mX(0) = 1 Note: the moment generating functions of the following distributions satisfy the property mX(0) = 1

We use the expansion of the exponential function:

Now

Property 3 is very useful in determining the moments of a random variable X. Examples

To find the moments we set t = 0.

The moments for the exponential distribution can be calculated in an alternative way. This is note by expanding mX(t) in powers of t and equating the coefficients of tk to the coefficients in: Equating the coefficients of tk we get:

The moments for the standard normal distribution We use the expansion of eu. We now equate the coefficients tk in:

If k is odd: mk = 0. For even 2k: