Professional Documents
Culture Documents
BHN 6 Dan 7
BHN 6 Dan 7
Probability Distribution
Pertemuan 6
Statistika dan Probabilitas
Outline
Definition of a Random Variable
Discrete Random Variables
Continuous Random Variables
Expected Value and Variances of Random
Variables
Binomial Distributions
Poisson Distributions
Normal Distributions
Geometric Distributions
https://slideplayer.com/slide/3168293/
Definition of a Random Variable
• A random variable is a real valued function defined on a sample space
S. In a particular experiment, a random variable X would be some
function that assigns a real number X(s) for each possible outcomes S
https://slideplayer.com/slide/3168293/
Identify the following variables as discrete or
continuous
1. The number of broken concrete cylinder in
each experiment
Discrete
2. The amount of ozone in samples of air
Continuous
3. The weight of a pineapple
Continuous
4. The amount of time a customer spends in a
store
Continuous
5. The number of gas pumps in use
Discrete
https://slideplayer.com/slide/3168293/
Example 1
• Ulala mengerjakan 6 buah soal statistika.
• Jika diasumsikan Variabel acak X menyatakan banyak soal
yang dikerjakan dengan benar maka hasil yang mungkin untuk
X adalah
a) {1,2,3,4,5,6}
b) {0,1,2,3,4,5,6}
c) {2,4,6}
d) {1,3,5}
Example 2
• Zoro melempar dua buah dadu bersamaan.
• Jika variabel acak X menyatakan jumlah mata dadu yang
muncul, maka X= ...
a) {1,2,3,4,5,6}
b) {0,1,2,3,4,5}
c) {1,2,3,4,5,6,7,8,9,10}
d) {2,3,4,5,6,7,8,9,10,11,12}
Example 3
• Jumlah kendaraan yang melewati Jl. Dr.mansyur bersifat?
a) Variabel diskrit
b) Variabel Kontinu
Example 4
• Identifikasi apakah percobaan ini melibatkan variable acak
diskrit ataukah variable acak kontinu?
a) X < 3 bulan
b) 0 < X < 3 bulan
c) X > 3 bulan
d) Tidak ada jawaban yang benar
Example 6
• Manakah pilihan berikut yang merupakan variabel acak diskrit?
a) Jumlah rata-rata air per minggu yang dipakai pada sebuah
proyek pembangunan gedung 3 lantai di kota Yogyakarta
b) Jumlah cat yang digunakan dalam renovasi Gedung
c) Jumlah mandor di proyek pembangunan mushola yang ada di
USU.
d) Tidak ada jawaban yang benar
Applications of Discrete random
variable in Civil
Engineering
23
https://www.academia.edu/15830606/Random_variables_and_probability_distributions_Sampling_Techniques
24
https://www.academia.edu/15830606/Random_variables_and_probability_distributions_Sampling_Techniques
EXAMPLE Identifying Probability Distributions
26
https://www.academia.edu/15830606/Random_variables_and_probability_distributions_Sampling_Techniques
EXAMPLE Identifying Probability Distributions
27
https://www.academia.edu/15830606/Random_variables_and_probability_distributions_Sampling_Techniques
Answer:
• 0.16 + 0.18 + 0.22 + 0.10 + 0.3 + 0.04 = 1
• It is a probability distribution
28
https://www.academia.edu/15830606/Random_variables_and_probability_distributions_Sampling_Techniques
Discrete Probability Distribution
1) Gives the probabilities associated with each possible x value
histogram.
https://slideplayer.com/slide/3168293/
Probability Distributions for
Continuous Variables
• Is specified by a curve called a density curve.
https://slideplayer.com/slide/3168293/
Properties of continuous probability
distributions
1. f(x) > 0 (the curve cannot dip below
the horizontal axis)
https://slideplayer.com/slide/3168293/
Let x denote the amount of gravel sold (in tons)
during a randomly selected week at a particular
sales facility. Suppose that the density curve
has a height f(x) above the value x, where
2(1 − x ) 0 x 1
f (x ) =
0 otherwise
The density curve is
Density
shown in the figure:
2
Tons
https://slideplayer.com/slide/3168293/
1
Gravel problem continued . . .
What is the probability that at most ½ ton of
gravel is sold during a randomly selected week?
Tons
1
https://slideplayer.com/slide/3168293/
Gravel problem continued . . .
What is the probability that exactly ½ ton of
gravel is sold during a randomly selected week?
P(x = ½) = 0
TheHow do we would
probability find thebearea
the of a line
area segment?
under the curve and above
Since a line segment has NO0.5. area, then the probability
Density
that exactly ½ ton is sold equals 0.
2
Tons
1
https://slideplayer.com/slide/3168293/
Gravel problem continued . . .
What is the probability that less than ½ ton of
gravel is sold during a randomly selected week?
Tons
1
https://slideplayer.com/slide/3168293/
Other Density Curves
Some density curves resemble the one below.
Integral calculus is used to find the area under
the these curves.
Don’t worry – we will use tables (with the values
already calculated). We can also use calculators
or statistical software to find the area.
https://slideplayer.com/slide/3168293/
The probability that a continuous random
variable x lies between a lower limit a and an
upper limit b is
https://slideplayer.com/slide/3168293/
Continuous case
▪ For example, recall the negative exponential function
(in probability, this is called an “exponential
distribution”):
f ( x) = e − x
e
−x −x
= −e = 0 +1 =1
0
0
p(x)=e-x
p(x)=e-x
x
1 2
2 2
−x −x
P(1 x 2) = e = −e = −e − 2 − −e −1 = −.135 + .368 = .23
1
1
Practice Problem
Which of the following are probability functions?
12 .25
1.0
Source: lecture 4 https://web.stanford.edu/~kcobb/hrp259/lecture4.ppt:11
Answer (b)
x f(x)
Though this sums to 1,
1 (3-1)/2=1.0 you can’t have a negative
probability; therefore, it’s
2 (3-2)/2=.5 not a probability
function.
3 (3-3)/2=0
4 (3-4)/2=-.5
x f(x)
0 1/25
1 3/25 Doesn’t sum to 1. Thus,
2 7/25 it’s not a probability
function.
3 13/25
24/25
Source: lecture 4 https://web.stanford.edu/~kcobb/hrp259/lecture4.ppt:13
Source: lecture 4 https://web.stanford.edu/~kcobb/hrp259/lecture4.ppt:14
Practice Problem:
• The number of ships to arrive at a harbor on
any given day is a random variable
represented by x. The probability distribution
for x is: x 10 11 12 13 14
P(x) .4 .2 .2 .1 .1
https://slideplayer.com/slide/3168293/
Expected value, or mean
• Jika kita memahami fungsi probabilitas yang mendasari
fenomena tertentu, maka kita dapat membuat keputusan
berdasarkan informasi berdasarkan bagaimana kita
mengharapkan x untuk berperilaku rata-rata dalam jangka
panjang… (disebut teori probabilitas "frekuensi").
• Nilai harapan(expected value) merupakan rata-rata
tertimbang atau mean (µ) dari variabel acak x.
• Bayangkan menempatkan massa p(x) di titik X pada balok;
titik keseimbangan balok adalah nilai yang diharapkan dari
x.
μ x = xp
• Variance is calculated using
s = (x − mx ) p
2 2
https://slideplayer.com/slide/3168293/
Example: expected value of discrete
x 10 11 12 13 14
P(x) 0.4 0.2 0.2 0.1 0.1
σ = E(X − μ) = (x − μ) P(x)
2 2 2
σ = σ2 =
x
(x − μ)2
P(x)
σ= x
(x − μ)2
P(x)
s =
Sumber: Sutarto,n.d.: 17
Mean and Variance for Continuous Random
Variables
For continuous probability distributions, mx and sx can be defined and
computed using methods from calculus.
https://slideplayer.com/slide/3168293/
A company receives concrete of a certain type
from two different suppliers.
Let x = compression strength of a randomly selected
batch
The first supplierfrom Supplier
is preferred 1
to the second both in terms of
mean value and variability.
y = compression strength of a randomly selected
batch from Supplier 2
Suppose that
mx = 4650 pounds/inch2 sx = 200 pounds/inch2
my = 4500 pounds/inch2 sy = 275 pounds/inch2
my mx
https://slideplayer.com/slide/3168293/
Cumulative distribution function
(CDF)
1.0 P(x)
5/6
2/3
1/2
1/3
1/6
1 2 3 4 5 6 x
2 P(x≤2)=2/6
3 P(x≤3)=3/6
4 P(x≤4)=4/6
5 P(x≤5)=5/6
6 P(x≤6)=6/6
• In other words,
F(x 0 ) = P(x)
x x0
A A
−x −x
e = −e = −e − A − −e 0 = −e − A + 1 = 1 − e − A
0
0
Example
p(x)
2 x
−2
P(x 2) = 1 - e = 1 - .135 = .865
Distribusi Kumulatif Peluang Diskrit
• Distribusi Kumulatif F(x) suatu variable acak. X dengan distribusi peluang f(x) :
F(x) = P(X< x) = t < σ𝑡<𝑥 𝑓(𝑡)
Contoh:
Cari rumus distribusi probabilitas untuk jumlah muka bila satu mata uang dilempar 4
kali?
Hitung dsitribusi kumulatif variable acak X?
4
F (x) = 0 = x = 0,1,2,3,4
16
1
F(0) =
16
1
f(1)=
4
3
f(2)=
8
1 1
f(3) = f(4) =
8 16
Discrete
Probability
Distributions
Binomial
Poisson
Sumber: Sutarto,n.d.: 46
Binomial Distribution Formula
n! X n−X
P(x) = P (1- P)
x ! (n − x )!
P(x) = Peluang x sukses dari n trial, n-x gagal
Contoh: Menjawab lima soal B-S,
x = # jawaban benar:
n=5
P = 0.5
1 - P = (1 - 0.5) = 0.5
x = 0, 1, 2, 3, 4,5
Source: Irwan Yuwono, 2016 https://slideplayer.info/slide/10692117/: 21
Binomial Distribution
Binomial Coefficient
Source: https://www.slideshare.net/mrraymondstats/random-variables: 19
Berapa probabilitas benar satu soal ?
x = 1, n = 5, and P = 0.5
n!
P(x = 1) = P X (1 − P) n − X
x!(n − x)!
5!
= (0.5)1 (1 − 0.5)5−1
1!(5 − 1)!
= (5)(0.5)(0.0625)4
P(x) n = 5 P = 0.5
▪ n = 5 and P = 0.5 .6
.4
.2
0 x
0 1 2 3 4 5
Source: Irwan Yuwono, 2016 https://slideplayer.info/slide/10692117/: 23
Binomial Distribution
Mean and Variance
• Mean
μ = E(x) = nP
▪ Variance and Standard Deviation
σ 2 = nP(1- P)
σ = nP(1- P)
Where n = sample size
P = probability of success
(1 – P) = probability of failure
Source: https://www.slideshare.net/mrraymondstats/random-variables: 21
Binomial Characteristics
Examples
μ = nP = (5)(0.1) = 0.5
Mean P(x) n = 5 P = 0.1
.6
.4
σ = nP(1- P) = (5)(0.1)(1− 0.1) .2
= 0.6708 0 x
0 1 2 3 4 5
Examples:
n = 10, x = 3, P = 0.35: P(x = 3|n =10, p = 0.35) = .2522
n = 10, x = 8, P = 0.45: P(x = 8|n =10, p = 0.45) = .0229
Source: https://www.slideshare.net/mrraymondstats/random-variables: 19
Binomial Distribution- Calculating
binomial probability
Source: https://www.slideshare.net/mrraymondstats/random-variables: 22
Solving Problems with Binomial Tables
So n = 5, p = 0.15, and r = 3, 4, or 5
We could use the formula to solve this problem, but using the table is
easier
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff Heyl
Solving Problems with Binomial
Tables
P
n r 0.05 0.10 0.15
5 0 0.7738 0.5905 0.4437
1 0.2036 0.3281 0.3915
2 0.0214 0.0729 0.1382
3 0.0011 0.0081 0.0244
4 0.0000 0.0005 0.0022
5 0.0000 0.0000 0.0001
Table 2.8 (partial)
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff Heyl
Solving Problems with Binomial
Tables
P
P (3 or
n more
r 0.05 ) = P (3) + P
defects ( 4 ) + P (5 )
0.10 0.15
5 0 0.7738 = 0.0244 + 0.0022 + 0.0001
0.5905 0.4437= 0.0267
1 0.2036 0.3281 0.3915
2 0.0214 0.0729 0.1382
3 0.0011 0.0081 0.0244
4 0.0000 0.0005 0.0022
5 0.0000 0.0000 0.0001
Table 2.8 (partial)
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff Heyl
Solving Problems with Binomial
Tables
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff Heyl
Random Variable and
Probability Distribution
Pertemuan 7
Statistika dan Probabilitas
The Poisson Distribution
• The Poisson distribution is a discrete
distribution that is often used in queuing
models to describe arrival rates over time
x e −
P( X ) =
X!
where
P(X) = probability of exactly X arrivals or occurrences
= average number of arrivals per unit of time
(the mean arrival rate)
e = 2.718, the base of natural logarithms
X = specific value (0, 1, 2, 3, and so on) of the random
variable
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff Heyl
The Poisson Distribution
• Apply the Poisson Distribution when:
• You wish to count the number of times an event
occurs in a given continuous interval
• The probability that an event occurs in one subinterval
is very small and is the same for all subintervals
• The number of events that occur in one subinterval is
independent of the number of events that occur in the
other subintervals
• There can be no more than one occurrence in each
subinterval
• The average number of events per unit is
−λ
e λ x
P(x) =
x!
where:
x = number of successes per unit
= expected number of successes per unit
e = base of the natural logarithm system (2.71828...)
• Mean
μ = E(x) = λ
▪ Variance and Standard Deviation
σ = E[( X − m ) ] = λ
2 2
σ= λ
where = expected number of successes per unit
e − X e −0.50 (0.50)2
P( X = 2) = = = .0758
X! 2!
0.70
Graphically: 0.60
= .50 0.50
= 0.40
P(x)
X 0.50
0.30
0 0.6065
0.20
1 0.3033
2 0.0758 0.10
3 0.0126 0.00
0 1 2 3 4 5 6 7
4 0.0016
5 0.0002 x
6 0.0000
P(X = 2) = .0758
7 0.0000
0.70
= 0.50 0.25
= 3.00
0.60
0.20
0.50
0.15
0.40
P(x)
P(x)
0.30 0.10
0.20
0.05
0.10
0.00 0.00
0 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 10 11 12
x x
−
e x
P( X = x) =
x!
− ( x − m )2
1
f (X ) = e 2s 2
s 2
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff
Heyl
The Normal Distribution
• The normal distribution is symmetrical, with
the midpoint representing the mean
• Shifting the mean does not change the shape
of the distribution
• Values on the X axis are measured in the
number of standard deviations away from the
mean
• As the standard deviation becomes larger, the
curve flattens
• As the standard deviation becomes smaller,
the curve becomes steeper
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff
Heyl
The Normal Distribution
| | |
40 µ = 50 60
Smaller µ, same s
| | |
µ = 40 50 60
Larger µ, same s
| | |
40 50 µ = 60
Figure 2.8
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff
Heyl
The Normal Distribution
Same µ, smaller s
Same µ, larger s
Figure 2.9
µ
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff
Heyl
The Normal Distribution
–1s +1s
a µ b
–2s +2s
a µ b
–3s +3s
a µ b
Figure 2.10
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff
Heyl
The Normal Distribution
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff
Heyl
Using the Standard Normal Table
Step 1
Convert the normal distribution into a standard normal distribution
◼ A standard normal distribution has a mean of 0 and a standard
deviation of 1
◼ The new standard random variable is Z
X −m
Z=
s
where
X = value of the random variable we want to measure
µ = mean of the distribution
s = standard deviation of the distribution
Z = number of standard deviations from X to the mean, µ
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff
Heyl
Using the Standard Normal Table
Step 2
Look up the probability from a table of normal curve areas
◼ Use Appendix A or Table 2.9 (portion below)
◼ The column on the left has Z values
◼ The row at the top has second decimal places for the Z values
Table 2.9
Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff
Heyl
Using the Table of Standard Normal (z) Curve
Areas
• For any number z*, from -3.89 to 3.89 and
rounded to twoTo use the
decimal table:the Appendix
places,
Table 2 gives the area under the z curve and
to the leftthe
• Find of correct
z*. row and column (see
the following
P(z < example)
z*) = P(z < z*)
• The number at the intersection of
that row and column is the probability
Where
the letter z is used to represent a random variable
whose distribution is the standard normal distribution.
https://slideplayer.com/slide/3168293/
Suppose we are interested in the probability
that z* is less than -1.62.
…
-1.7 .0446 .0436 .0427 .0418
-1.6 .0548 .0537 .0526 .0516
-1.5 .0668 .0655 .0643 .0618
https://slideplayer.com/slide/3168293/
Suppose we are interested in the probability
that z* is less than 2.31.
…
2.2 .9861 .9864 .9868 .9871
2.3 .9893 .9896 .9898 .9901
2.4 .9918 .9920 .9922 .9925
https://slideplayer.com/slide/3168293/
Suppose we are interested in the probability
that z* is greater than 2.31.
…
2.2 .9861 .9864 .9868 .9871
2.3 .9893 .9896 .9898 .9901
2.4 .9918 .9920 .9922 .9925
https://slideplayer.com/slide/3168293/
Suppose we are interested in the finding the z*
for the smallest 2%.To find z*:
…
-2.1 … .0162 .0158 .0154
-2.0 … .0207 .0202 .0197
-1.9 … .0262 .0256 .0250
https://slideplayer.com/slide/3168293/
Suppose we are interested in the finding the z*
for the largest 5%.
…
1 – (area to the right of z*)
1.5 …
Then look up this.9382
value in .9398
the body.9406
of
1.6 … the.9495 table. .9505 .9515
1.7 … .9591 .9599 .9608
https://slideplayer.com/slide/3168293/
Haynes Construction Company
s = 20 days
x 1 2 3 4
. . .
Probability Formula for the Geometric
Distribution
Let
p = constant probability that any trial results in a success
x −1
p (x ) = (1 − p ) p
Where x = 1, 2, 3, …
Suppose that 40% of students who drive to
campus at your school or university carry jumper
cables. Your car has a dead battery and you don’t
have jumper cables, so you decide to stop
students as they are headed to the parking lot
and ask them whether they have a pair of jumper
cables.
Let x = the number of students stopped before
finding one with a pair of jumper cables
Source: https://www.slideshare.net/mrraymondstats/random-variables: 24
Geometric Distribution
Source: https://www.slideshare.net/mrraymondstats/random-variables: 26
4. Distribusi Geometrik
• Contoh soal :
• Suatu kotak berisi 15 bola putih dan 10 bola merah, diambil sebuah bola dari kotak tersebut sampai
didapat bola merah. Jika di asumsikan pengambilan dengan pengembalian, berapa peluang
mendapat 5 bola merah? Berapa nilai harapannya?
• N=5
C110 2
p ( merah) = 25 =
CC1 5
5−1
2
4
2 3 2 162 μ= 1/p
P ( X = 5) = 1 − = = = 1/ (2/5) = 5/2
Sumber : Kuchink, 2012: 6-7 5 5 5 5 15625
5. Distribusi Hipergeometrik
• Sekelompok orang terdiri dari 50 orang insinyur sipil dan 3 diantaranya memiliki keahlian pada
bidang struktur. Secara acak diambil 5 orang. Hitung Berapa peluang tidak ada yang memiliki
keahlian pada bidang struktur pada acak yg diambil dari 5 orang tersebut .
• Jawab :
• X = banyak orang yang memiliki keahlian pada bidang struktur., N=50, n=5
3 47
1
4
P (1) = = 0,253
50
5
• Peluangnya adalah 0,724 bahwa ke lima orang insinyur itu tidak memiliki keahlian pada
bidang struktur
Source: Stephanie Glen. "Hypergeometric Distribution: Examples and Formula" From StatisticsHowTo.com: Elementary Statistics for the rest of us!
https://www.statisticshowto.com/hypergeometric-distribution-examples/
• Exercise
Pada sebuah eksperimen probabilitas satu kali melempar dua buah dadu
secara bersamaan, distribusi probabilitas dari jumlah mata dadu yang
muncul ditentukan sebagai berikut:
F (2) = p( x ) = p(2) = 1/ 36
x 2
F (3) = p( x ) = p(2) + p(3) = 1/ 36 + 2 / 36 = 3 / 36
x 3
F (4) = p( x ) = p(2) + p(3) + p(4) = 1/ 36 + 2 / 36 + 3 / 36 = 6 / 36
x 4
F (5) = p( x ) = p(2) + p(3) + ... + p(5) = 1/ 36 + 2 / 36 + ... + 4 / 36 = 10 / 36
x 5
F (6) = p( x ) = p(2) + p(3) + ... + p(6) = 1/ 36 + 2 / 36 + ... + 5 / 36 = 15 / 36
x 6
F (7) = p( x ) = p(2) + p(3) + ... + p(7) = 1/ 36 + 2 / 36 + ... + 6 / 36 = 21/ 36
x 7
F (8) = p( x ) = p(2) + p(3) + ... + p(8) = 1/ 36 + 2 / 36 + ... + 5 / 36 = 26 / 36
x 8
F (9) = p( x ) = p(2) + p(3) + ... + p(9) = 1/ 36 + 2 / 36 + ... + 4 / 36 = 30 / 36
x 9
F (10) = p( x ) = p(2) + p(3) + ... + p(10) = 1/ 36 + 2 / 36 + ... + 3 / 36 = 33 / 36
x 10
F (11) = p( x ) = p(2) + p(3) + ... + p(11) = 1/ 36 + 2 / 36 + ... + 2 / 36 = 35 / 36
x 11
F (12) = p( x ) = p(2) + p(3) + ... + p(12) = 1/ 36 + 2 / 36 + ... + 1/ 36 = 36 / 36
x 12 Sumber: Kuchink, 2012:3-4
Sumber : https://www.slideshare.net/QorryAnnisya/distribusi-
variabel-acak-kontinyu?from_action=save 5-10
Sumber : https://www.slideshare.net/QorryAnnisya/distribusi-
variabel-acak-kontinyu?from_action=save: 5-10
Sumber : https://www.slideshare.net/QorryAnnisya/distribusi-
variabel-acak-kontinyu?from_action=save 5-10
Sumber : https://www.slideshare.net/QorryAnnisya/distribusi-
variabel-acak-kontinyu?from_action=save 5-10
Sumber : https://www.slideshare.net/QorryAnnisya/distribusi-
variabel-acak-kontinyu?from_action=save 5-10
Sumber : https://www.slideshare.net/QorryAnnisya/distribusi-
variabel-acak-kontinyu?from_action=save 5-10
Contoh Distribusi Probabilitas
Binomial
Percobaan: Melemparkan 1 koin sebanyak 5 kali. Catat
banyaknya kemunculan ekor. Berapakah probabilitas
muncul 3 ekor dari 5 pelemparan tersebut?
n!
p(x) = p x (1− p) n−x
x!(n − x)!
© 1984-1994 T/Maker Co.
5!
p(3) = .53 (1− .5)5−3
3!(5 − 3)!
= .3125
Sumber: Sutarto,n.d.: 47
PDF and CDF Examples (random continue
variable
Example 3.6:
Suppose that the error in the reaction temperature, in oC, for a concrete sample in controlled
laboratory experiment is a continuous random variable X having the following probability
density function: 1 2
x ; −1 x 2
f ( x) = 3
0 ; elsewhere
1. f(x) dx = 1
Verify that (a) f(x) 0 and (b)
2. Find P(0<X1) -
Solution:
X = the error in the reaction
temperature in oC.
X is continuous r. v.
1 2
x ; −1 x 2
f ( x) = 3
0 ; elsewhere
1. (a) f(x) 0 because f(x) is a quadratic function.
−1 2
1 2
(b) - f(x) dx = - 0 dx + -1 3 x dx + 2 0 dx
2
1 2 1 3 x = 2
= x dx = x
-1
3 9 x = −1
1
= (8 − (−1)) = 1
9 1 11
2. P(0<X1) =
f(x) dx = x 2
dx
0 03
1 3 x = 1
= x
9 x = 0
1
= (1 − (0))
9
1
=
9
Definition 3.7:
The cumulative distribution function (CDF), F(x), of a continuous random variable X
with probability density function f(x) is given by:
F(x) = P(Xx)= for −<x<
x
f(t) dt;
-
Result:
P(a < X b) = P(X b) − P(X a) = F(b) − F(a)
Example:
in Example 3.6,
1.Find the CDF
2.Using the CDF, find P(0<X1).
Solution:
1 2
x ; −1 x 2
f ( x) = 3
0 ; elsewhere
For x< −1:
x x
f(t) dt = 0 dt = 0
F(x) =
- -
For −1x<2:
x −1 x1
F(x) =
f(t) dt = 0 dt + t 2
dt
- - -13
x
1 2
= t dt
-1
3
1 3 t = x 1 3 1 3
= t = ( x − (−1)) = ( x + 1)
9 t = −1 9 9
For x2:
x −1 2 x
1 2 2
❑ https://www.slideshare.net/fitriayuwijayanti/bab-1-variabel-acak-dan-nilai-
harapan?qid=7671b377-a89e-4401-a5e2-e864d265c135&v=&b=&from_search=1
❑ Sylvia Kuchink, 2012.
❑ https://www.scribd.com/doc/92784093/Variabel-Acak-Dan-Distribusi-Probabilitas-Print
https://www.slideshare.net/audityasutarto/variabel-random-distribusi-peluang?from_action=save
❑ https://www.rumusstatistik.com/2018/11/peubah-acak-random-variable.html
❑ http://webcache.googleusercontent.com/search?q=cache:c3gL2brYD0sJ:ocw.upj.ac.id/files/Handout-
INF107-Modul-ajar.docx+&cd=1&hl=id&ct=clnk&gl=id
❑ Applied Statistics and Probability for Engineers by Douglas Montgomery
❑ lecture 4 https://web.stanford.edu/~kcobb/hrp259/lecture4.ppt:4
❑ Irwan Yuwono, 2016 https://slideplayer.info/slide/10692117/: 8
❑ https://jagostat.com/teori-peluang/nilai-harapan-peubah-acak