Module in Engineering Data Analysis - Discrete Probability Distribution
Module in Engineering Data Analysis - Discrete Probability Distribution
CC OF
COMPUTER STUDIES
ENGINEERING DATA ANALYSIS
(Week 10)
Introduction
Engineering Data Analysis (EDA) is an indispensable analysis tool for the
engineering team of the industries to analyze processes, integration, and yield
(conversion rate) effectively in order to enhance the competitiveness of the
company
Learning Outcome
1. Solve Probability Distribution
2. Apply Cumulative Distribution Functions
3. Understand the process of Binomial Distribution
4. Solve Poisson Distribution
Learning Content
3.1 Random variables and their probability distribution
3.2. Cumulative Distribution Functions
3.3. Expected Values of Random Variables
3.4. The Binomial Distribution
3.5. The Poisson Distribution
RANDOM VARIABLES
We shall use capital letter to denote a random variable and its corresponding
small letter for one of its values.
f(x) = P(X=x)
1. f(x) ≥ 0
2. ∑ f ( x )=1
EXAMPLE 3.1.1
Find the probability distribution for a number of heads that appear when a coin is
tossed 3 times
SOLUTION:
x = 0, 1, 2, 3
f(x) = P(X=x)
Possible outcomes when a coin is tossed 3 times. Getting for the sample space, let
S= { TTT, TTH, THH, THT, HHH, HHT, HTT, HTH }
X f(x)
COLLEGE
CC OF
0 1 COMPUTER STUDIES
8
1 3
8
2 3
8
3 1
8
∑ 1
Example 3.1.2
Find the probability mass function of the ramdom variable Y which represents
the number of yellow marbles out of three balls drawn at random from an urn
containing 5 red marbles and 6 green marbles marbles.
Solution:
Y = 0, 1, 2, 3
5 C 0 6 C3 20 4
F(0) = P(M=0) = = =
11 C3 165 33
5 C 1 6 C2 75 5
F(1) = P(M=1) = = =
11 C3 165 11
5 C 2 6 C1 60 4
F(2) = P(M=2) = = =
11 C3 165 11
5 C 3 6 C 0 10 2
F(3) = P(M=3) = = =
11C3 165 33
CC
COLLEGE OF
COMPUTER STUDIES
M f(m)
0 4
33
1 5
11
2 4
11
3 2
33
∑ 1
Alternative Solution
5 6
= ( )( 59 ) + ( 116 )( 105 )( 59 ) + ( 116 ) ( 105 )( 59 ) = 115
11 10
5 4
= ( )( 69 ) + ( 115 )( 106 )( 49 ) + ( 116 ) ( 105 )( 49 ) = 114
11 10
Example 3.2.1
Find the cdf for the number of heads that appear when a coin is tossed 3 times.
Solution:
F(0) = P(X≤ 0 ¿=f (0)=1 /8
F(1) = P(X≤ 1¿=f (0)+ f (1)=1 /8+ 3/8=4 /8=1/2
F(2) = P(X≤ 2¿=f (0)+f (1)+ f (2)=F(1)+ F (2)=7/8
F(3) = P(X≤ 3 ¿=f (0)+f (1)+ f (2)+ f (3)=F (2)+f (3)=1
Example 3.4.1
1. A coin is tossed 5 times, find the probability of
a. getting exactly 3 heads , b. at most 3 heads
note: Theres a long way (see ex. problem under Probability of an event similar to this
problem) and a short way in solving this problem. Lets start with the short way!
COLLEGE
CC OF
a.) notice that this is a coin, so there are two possible COMPUTER
outcome (a tail orSTUDIES
a
head)
F(x) = n Cxpxqn-x
Solution:
n=5 , p = 1/2 , why?bec.there is one success (h) out two
outcomes (head or tail)
x=3 , q = 1/2Note: ( q= 1-p )
q= 1-1/2
=½
Example 3.3.2
A six-sided die is rolled 12 times. What is the probability of getting a 4 five times?
F(x) = nCxpxqn-x
GIVEN: