Professional Documents
Culture Documents
relative
interval
freq.
(0,1000] 0
(1000,2000] 0.05
(2000,3000] 0.25
(3000,4000] 0.30
(4000,5000] 0.25
(5000,6000] 0.10
(6000,7000] 0.05
1.00
WE’RE GOING TO DIVIDE THE RELATIVE FREQUENCIES
BY THE WIDTH OF THE CELLS (WHICH HERE IS 1000).
THIS WILL MAKE THE GRAPH HAVE AN AREA OF 1.
sales
IF WE MADE THE INTERVALS INFINITESIMALLY SMALL,
THE BARS AND THE FREQUENCY POLYGON WOULD
BECOME SMOOTH, LOOKING SOMETHING LIKE THIS:
This what the distribution
f(x) = p(x) of a continuous random
variable looks like.
This curve is denoted f(x)
or p(x) and is called the
probability density
function.
sales
PMF VERSUS PDF
a b sales
A CONTINUOUS RANDOM VARIABLE HAS AN
INFINITE NUMBER OF POSSIBLE VALUES & THE
PROBABILITY OF ANY ONE PARTICULAR VALUE IS
ZERO.
IF X IS A CONTINUOUS RANDOM VARIABLE,
WHICH OF THE FOLLOWING PROBABILITIES IS
LARGEST?
(HINT: THIS IS A TRICK QUESTION.)
• 1. Pr(a < X < b)
• 2. Pr(a ≤ X < b)
• 3. Pr(a < X ≤ b)
• 4. Pr(a ≤ X ≤ b)
2.0
0 1.0 1.5 x
CUMULATIVE DISTRIBUTION FUNCTION
FOR A CONTINUOUS RANDOM VARIABLE
f(x)
2.0
0 1.0 1.5 x
RECTANGLE EXAMPLE: WHAT IS F(1.2)?
• F(1.2) = Pr(X ≤ 1.2)
• = the area under the pdf up to where x is 1.2.
= (0.2) (2.0)
f(x) = 0.4
2.0
1
f ( x) if a x b
ba
1
f ( x) 0 otherwise
(b a) 1
ba
f ( x)
Notice that the area of the rectangle
will always be 1 because
1
area = length • width
ba
0 a b x
MEAN, VARIANCE, AND STANDARD DEVIATION OF THE
CONTINUOUS UNIFORM DISTRIBUTION
ab
•mean:
2
(b a ) 2
variance: 2
12
(b a)2
standard deviation:
12
THE MOST FAMOUS DISTRIBUTION IS THE NORMAL OR
GAUSSIAN DISTRIBUTION.
1 1
[( x ) / ]2
f ( x) e 2
for - x
2
is the mean of the distribution, is the standard deviation,
e 2.718, and 3.14 .
1 2 3
IF YOU HAD THE SAME MEAN BUT DIFFERENT STANDARD
DEVIATIONS, IT WOULD LOOK LIKE THIS:
z .00 .01 .02 .03 .04 .05 .06 .07 .08 .09
0.0
0.1
0.2
2.6 .9957
3.0
DO NOT MEMORIZE A LOT OF RULES.
YOU JUST NEED TO REMEMBER 2 EASY FACTS.
1. The graph is symmetric about 0.
2. The total area under the curve is 1.
0 Z
EXAMPLE
• Pr(Z < 1.85)
0 1.85 Z
EXAMPLE
0.9678
0 1.85 Z
EXAMPLE
0.9678
0 1.85 Z
EXAMPLE
0.5 0.4678
0.9678
0 1.85 Z
EXAMPLE
0.9678
?
0 1.85 Z
EXAMPLE
0.9678
0.0322
0 1.85 Z
EXAMPLE
• Pr(Z < -1.85)
• There are two ways to do this.
0.9678
0.0322
-1.85 0 1.85 Z
-1.85 0 Z
-1.85 0 1.85 Z
EXAMPLE
-1.85 0 1.85 Z
EXAMPLE
• Pr(-1< Z < 2)
-1.00 0 2.00 Z
EXAMPLE
0.1587
0.9772
-1.00 0 2.00 Z
EXAMPLE
• Pr(1< Z < 2)
0 1 2 Z
EXAMPLE
0.8413
0.9772
0 1 2 Z
EXAMPLE
Pr( Z < 7)
0 7 Z
EXAMPLE
0 7 Z
EXAMPLE
Pr( Z > 7)
0 7 Z
EXAMPLE
0 7 Z
EXAMPLE
0 7 Z
EXAMPLE
0 7 Z
EXAMPLE
• What is the value of a such that Pr(Z < a) = 0.9207 ?
0.9207
0 a Z
EXAMPLE
• What is the value of a such that Pr(Z < a) = 0.9207 ?
0.9207
0 1.41 Z
EXAMPLE
• What is the value of b such that Pr(Z > b) = 0.0250 ?
0.0250
0 b Z
EXAMPLE
• What is the value of b such that Pr(Z > b) = 0.0250 ?
1 – 0.0250 = 0.9750
0.0250
0 b Z
EXAMPLE
• What is the value of b such that Pr(Z > b) = 0.0250 ?
1 – 0.0250 = 0.9750
0.0250
0 1.96 Z
EXAMPLE
• What is the value of k such that Pr(0 < Z < k) = 0.4750 ?
0.4750
0 k Z
EXAMPLE
• What is the value of k such that Pr(0 < Z < k) = 0.4750 ?
0.4750
0 1.96 Z
EXAMPLE:
IF X IS N(2, 9), DETERMINE PR(X ≤ 5).
Pr(X 5)
X- 5
Pr
X- 52
Pr
0.8413
3
0 1.00 Z
Pr(Z 1)
0.8413
USEFUL FACT
Pr(X 60)
X - 60
Pr
X - 60 64 -1.33 0 Z
Pr
0.0918
3
Pr(Z 1.33)
EXPECTED VALUES AND VARIANCES
• Expected values and variances are important concepts in statistics.
• They are used to describe distributions, to evaluate the performance of
estimators, to obtain test statistics in hypothesis testing, and many other
applications
EXPECTED VALUES AND VARIANCES
• EXPECTED VALUE - DISCRETE RANDOM VARIABLES
• expected value is a sum of all possible values of the random variable where each one is weighted
by the probability that X will take on that value
• variance is the sum of the squared distances, each one weighted by the probability that X=xi
EXPECTED VALUES AND VARIANCES
• EXPECTED VALUE - CONTINUOUS RANDOM VARIABLES
TUGAS :
• Plot dalam satu figure dengan matlab,
pdf dari distribusi :
• Normal
• Exponensial
• Rayleigh
• Chi square
• Cauchy
• Ulangi untuk cdf
TERIMA KASIH
amin.suharjono@polines.ac.id