Week 3 - EDA 1
Week 3 - EDA 1
𝑷(𝑩|𝑨) = 𝑷(𝑩)
EXAMPLE : Let A and B be events in a sample space S. Show that if A and B are independent, then so are A
and 𝐵.
Answer:
This module is a property of Saint Joseph Institute of Technology (SJIT). The term module refers to an instructional material that focuses on a specific course. Details
and activities vary according to specific content and focus on student-centered learning activities.
No part of this module may be reproduced or transmitted in any form or any means without approval of the CEO/President.
𝑷(𝑨𝟏 ∪ 𝑨𝟐 ∪ 𝑨𝟑 ) = 𝑷(𝑨𝟏 ) + 𝑷(𝑨𝟐 ) + 𝑷(𝑨𝟑 ) − 𝑷(𝑨𝟏 ∩ 𝑨𝟐 ) − 𝑷(𝑨𝟐 ∩ 𝑨𝟑 ) − 𝑷(𝑨𝟑 ∩ 𝑨𝟏 )
+ 𝑷(𝑨𝟏 ∩ 𝑨𝟐 ∩ 𝑨𝟑 )
Generalizations to n events can also be made.
EXAMPLE 2.1: What is the probability that a card selected from a deck will be either an ace or a spade?
Answer: The probability of an ace is 4/52, the probability of a spade is 13/52, and the probability of getting and
ace and a spade is 1/52. Therefore, using the addition formula
Multiplication Rule
𝑷(𝑨 ∩ 𝑩) = 𝑷(𝑨)𝑷(𝑩|𝑨)
EXAMPLE 2.2: The probability that the first stage of a numerically controlled machining operation for high-rpm
pistons meets specifications is 0.90. Failures are due to metal variations, fixture alignment, cutting blade
condition, vibration, and ambient environmental conditions. Given that the first stage meets specifications, the
probability that a second stage of machining meets specifications is 0.95. What is the probability that both stages
meet specifications?
Answer: Let A and B denote the events that the first and second stages meet specifications, respectively. The
probability requested is
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴)𝑃(𝐵|𝐴)= 0.95(0.90) = 0.855
A random variable is a function that assigns a real number to each outcome in the sample space of a
random experiment.
Notation is used to distinguish between a random variable and the real number.
A random variable is denoted by an uppercase letter such as X. After an experiment is conducted, the
measured value of the random variable is denoted by a lowercase letter such as x = 70 mill amperes.
A discrete random variable is a random variable with a finite (or countable infinite) range.
A continuous random variable is a random variable with an interval (either finite or infinite) of real
numbers for its range.
Examples of continuous random variables: electrical current, length, pressure, temperature, time,
voltage
This module is a property of Saint Joseph Institute of Technology (SJIT). The term module refers to an instructional material that focuses on a specific course. Details
and activities vary according to specific content and focus on student-centered learning activities.
No part of this module may be reproduced or transmitted in any form or any means without approval of the CEO/President.
The probability distribution of a discrete random variable is a graph, table or formula that specifies the
probability associated with each possible value the random variable can assume.
EXAMPLE 4.1: There is a chance that a bit transmitted through a digital transmission channel is received in
error. Let X equal the number of bits in error in the next four bits transmitted. The possible values for X are {0, 1,
2, 3, and 4}. Based on a model for the errors that is presented in the following section, probabilities for these
values will be determined. Suppose that the probabilities are
𝑃(𝑋 = 0) = 0.6561
𝑃(𝑋 = 1) = 0.2916
𝑃(𝑋 = 2) = 0.0486
𝑃(𝑋 = 3) = 0.0036
𝑃(𝑋 = 4) = 0.0001
The probability distribution of X is specified by the possible values along with the probability of each. A graphical
description of the probability distribution of X is shown in Fig. 4
Practical Interpretation: A random experiment can often be summarized with a random variable and its
distribution.
The details of the sample space can often be omitted.
For a discrete random variable X with possible values x1 , x2 ,… ,xn, a probability mass function is a
function such that
EXAMPLE 4.2: For the bits in error in Example 3.1, f (0) = 0.6561, f (1) = 0.2916, f (2) = 0.0486, f (3) =
0.0036, and f (4) = 0.0001. Check that the probabilities sum to 1.
This module is a property of Saint Joseph Institute of Technology (SJIT). The term module refers to an instructional material that focuses on a specific course. Details
and activities vary according to specific content and focus on student-centered learning activities.
No part of this module may be reproduced or transmitted in any form or any means without approval of the CEO/President.