Download presentation
Presentation is loading. Please wait.
Published byRodger Green Modified over 9 years ago
1
Discrete Probability Distributions A sample space can be difficult to describe and work with if its elements are not numeric.A sample space can be difficult to describe and work with if its elements are not numeric. Random VariableRandom Variable A random variable is a function that assigns each element in the sample space to a number.A random variable is a function that assigns each element in the sample space to a number. The random variable X has range:The random variable X has range: {x|x=X(s), for all s in S}.{x|x=X(s), for all s in S}. More than one random variable can be associated with an experiment.More than one random variable can be associated with an experiment.
2
Discrete Random Variable A discrete random variable is a random variable that has a finite or countable sample space. A sample space that can be mapped to the integers is said to be countably infinite (or countable).
3
Probability Distribution The probability distribution of a rv describes the distribution of total probability to all possible values of the rv. A discrete probability distribution, called a probability mass function (pmf), specifies the probability of each distinct element in the sample space. p(x) = P( X = x ) = P(all s in S: X(s)=x)
4
Properties of p(x) 1. p(x)≥0 for all x in S 2. ∑ S p(x) = 1 3. If A is a subset of S, then P(A) = ∑ A p(x) Note: A pmf can be displayed nicely with a line graph or a probability histogram.
5
Cumulative Distribution Function (cdf) The cdf of a discrete random variable X with pmf p(x) is defined for each x as: F(x) = P( X ≤ x ) = ∑ y:y≤x p(y) For any number x, F(x) is the probability that the rv X will be at most x. The graph of F(x) for a discrete rv is a step function. For any two numbers a and b with a ≤ b, P( a ≤ x ≤ b ) = F(b) – F(a - ) where a - represents the largest value of X less than a
6
Mathematical Expectation The mathematical expectation (expected value) of a discrete rv is the weighted average of all possible values of the rv, where the weight associated with each outcome is its probability. The Expected Value of X Let X be a discrete rv with pmf p(x). The expected value (or mean value) of X is: E[X] = µ x = µ = ∑ S x · p(x)
7
Mathematical Expectation The Expected Value of a Function of X Let X be a discrete random variable with pmf p(x). The expected value of a function h(x) is E[h(X)] = µ h(x) = ∑ S h(x) · p(x) Note that E[h(x)] only exists if ∑ S h(x) · p(x) converges, therefore exists.
8
Properties of E[X] If c is a constant, then E[c] = c. If c is a constant, then E[cX] = c·E[X]. If c and d are constants, then E[cX+d] = c·E[X]+d. If c is a constant and u(x) is a function, then E[c·u(X)] = c·E[u(X)].
9
Properties of E[X] Property of a Linear Operator If c i are constants and u i (x) are functions, then E[c 1 ·u 1 (X)+c 2 ·u 2 (X)+…+c n ·u n (X)] = c 1 ·E[u 1 (X)] + c 2 ·E[u 2 (X)] + … + c n ·E[u n (X)] = ∑ i=1,n c i · E[u i (X)] = ∑ i=1,n c i · E[u i (X)]
10
Variance of Discrete RV Let X be a discrete random variable with pmf p(x). The Variance of X is The variance of X measures the amount of spread in the distribution of X.
11
Variance of a Discrete RV Easier forms for the variance of X include:
12
Standard Deviation Let X be a discrete random variable with pmf p(x). The Standard Deviation of X is the square root of the Variance of X. The standard deviation is commonly used as the measure of spread in a distribution
13
Variance of a Function Let X be a discrete rv with pmf p(x). The variance of a function h(X) is:
14
Variance of a Function If a and b are constants and Var(X)=σ 2, then Var( a · X ) = a 2 · σ 2 Var( X+b ) = σ 2 Var( a · X+b ) = a 2 · σ 2
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.