2 Random Variables and Probability Distribution
2 Random Variables and Probability Distribution
Variables
Role of Probability in Statistics
6
Probability Distributions
= P(X ≤ 6) - P(X ≤ 2)
= 0.998828 – 0.733796
= 0.265032
Binomial: Probability Mass Function
Probability = ?
P(X = 2) = ?
When number of trial (n) = 18
Chance of success (p) = 0.1
P(X = 2) = 0.283512
Binomial: Cumulative Probability
P(X ≥ 4) = ?
When
n = 18
P = 0.1
P(X ≥ 4) = 1- P(X ≤ 3)
= 1 – 0.901803
= 0.098
Ex 3-34
P(X > 150)=? When
n = 16,000,000
p = 0.00001
= 1 - P(X ≤ 150)
= 1 – 0.228031
= 0.771969
Poisson Process
• EXAMPLE 3-31 For the case of the thin copper wire, suppose
that the number of flaws follows a Poisson distribution with a
mean of 2.3 flaws per millimeter. Determine the probability of
exactly 2 flaws in 1 millimeter of wire.
• - Determine the probability of 10 flaws in 5 millimeters of wire.
• - Determine the probability of at least one flaw in 2 millimeters
of wire.
Poisson Process
• Example 3-32 Contamination is a problem in the manufacture of optical
storage disks. The number of particles of contamination that occur on an
optical disk has a Poisson distribution, and the average number of particles
per centimeter squared of media surface is 0.1. The area of a disk under
study is 100 squared centimeters. Determine the probability that 12 particles
occur in the area of a disk under study.
• - Determine the probability that zero particles occur in the area of the disk
under study.
• - Determine the probability that 12 or fewer particles occur in the area of a
disk under study.
Poisson Distribution
• Calc > Probability Distributions > Poisson
Ex 3-32
P(X ≤ 12)=? When
E(X) = λ = 10
P(X ≤ 12)
= 0.791556
Poisson: Probability Mass Function
Probability = ?
P(X = 2) = ?
E(X) = λ = 2.3
P(X = 2) = 0.265185
Poisson: Cumulative Probability
P(X ≥ 1) = ?
When
E(X) = 4.6
P(X ≥ 1) = 1- P(X ≤ 0)
= 1 – 0.0100518
= 0.9899
Ex
P(2< X ≤ 9)=? When
E(X) = λ = 10
= P(X ≤ 9) – P(X ≤ 2)
= 0.457930 – 0.0027694
= 0.0.455
Probability Distribution for Continuous Variables
Probability Density Function
Probability Density Function
Probability Density Function
Cumulative Distribution Function
Mean and Variance
Exercise 3-24
Exercise 3-27
Normal Distribution
Histograms have characteristic shape as bell shapes.
The random variable that equals the average result over the
replicates tends to have a normal distribution as the number of
replicates becomes large.
Normal Distribution
Normal Distribution
• Example 3-7 Assume that the current measurements in a strip of wire follow a
normal distribution with a mean of 10 mill-amperes and a variance of 4 mill-
amperes2. What is the probability that a measurement exceeds 13 mill-amperes?
Normal Distribution
Standard normal random variable
Using standard normal random variable
• Example 3-8 Assume that Z is a standard normal random
variable. Appendix A Table I provides probabilities of the form
P(Z ≤ z). The use of Table I to fine P(Z ≤ 1.5).
Example 3-9
1) P(Z > 1.26)
2) P(Z < -0.86)
3) P(Z > -1.37)
4) P(Z < 1.37)
5) P(-1.25 < Z < 0.37)
6) P(Z ≤ -4.6)
7) Fine the value z such that P(Z > z) = 0.05
8) Find the value of z such that P(-z < Z < z)=0.99
Normal Distribution
51
Example 3-10
Answer z = 2.58
Ex 3-12
P(-x < X < x) = 0.99
x=?
Answer x = 1.16
Example 3-13
1 – F(x) = 1 – 0.896165
= 0.103835
Cumulative Probability with Z – value (Interval)
F(0.37) – F(-1.25)
= 0.6443 – 0.1056
= 0.5386
Inverse Cumulative Distribution with Z-
value
Z=?
When Probability = 0.05
Z = 1.64485
Cumulative Probability with Know Mean and
Standard Deviation
• Calc > Probability Distributions
> Normal…
• P(X < 13) = ?
Mean = 10
SD = 2
= 0.933193
Inverse Cumulative Distribution with Know
Mean and Standard Deviation
X = ? When
Mean = 10
SD = 2
X = 11.3490
Probability Distribution Plot with Know Z
• Graph > Probability
Distributions Plot >
View Probability
• P(X < -1.5) = ?
Probability Distribution Plot with Know Z
• Graph > Probability
Distributions Plot >
View Probability
• P(X < -1.5) = ?
Probability Distribution Plot with Know Z
• Graph > Probability Distributions Plot > View Probability
• P(X < -1.5) = 0.06681
Probability Distribution Plot with Know Mean
and Standard Deviation
• Graph > Probability
Distributions Plot > View
Probability
• P(X < 13) = ?
Mean = 10
SD = 2
Probability Distribution Plot with Know Mean
and Standard Deviation
• Graph > Probability
Distributions Plot > View
Probability
• P(X < 13) = ?
Mean = 10
SD = 2
= 0.933193
Probability Distribution Plot with Know Mean
and Standard Deviation
• Graph > Probability
Distributions Plot > View
Probability
• P(X < x) = 0.75
Mean = 10
SD = 2
x=?
Probability Distribution Plot with Know Mean
and Standard Deviation
• Graph > Probability
Distributions Plot >
View Probability
• P(X < x) = 0.75
Mean = 10
SD = 2
x=?
Probability Distribution Plot with Know Mean
and Standard Deviation
• Graph > Probability Distributions Plot > View
Probability
• P(X < x) = 0.75
Mean = 10
SD = 2
x=11.35
Exponential Distribution
Let the random variable X denote the length from any starting point on the wire
until a flaw is detected.
Let the random variable N denote the number of flaws in x mill-meters of wire.
Assume that the mean number of flaws is λ per mill-meters.
Exponential Distribution
Example 3-33