Professional Documents
Culture Documents
A discrete random variable is a random variable with A continuous random variable is a random variable
a finite or countably infinite range. Its values are with an interval (either finite or infinite) of real
obtained by counting. numbers for its range. Its values are obtained by
Number of scratches on a surface. measuring.
Number of defective parts among 100 tested. Electrical current and voltage.
Number of transmitted bits received in error. Physical measurements, e.g., length, weight,
Number of common stock shares traded per day. time, temperature, pressure.
Dung Nguyen Probability and Statistics3 / 29 Dung Nguyen Probability and Statistics4 / 29
Density function Discrete random variables Density function Discrete random variables
0.6
P(X = 0) = 0.6561
P(X = 1) = 0.2916 0.4
P(X = 2) = 0.0486
X P(X = 3) = 0.0036 0.2
For any event A: P(X ∈ A) = f(u). P(X = 4) = 0.0001
u∈A Total 1.0000 0
0 2 4
Dung Nguyen Probability and Statistics5 / 29 Dung Nguyen Probability and Statistics6 / 29
Density function Discrete random variables Density function Discrete random variables
λk
4 Is f(k) = P(X = k) = k! e−λ (k = 0, 1, 2 . . . ) a probability
mass function?
Density function Continuous random variables Density function Continuous random variables
Example 6 - Current
Dung Nguyen Probability and Statistics11 / 29 Dung Nguyen Probability and Statistics12 / 29
Density function Continuous random variables Cumulative Distribution Function
random variable
Cumulative with probability
Distribution density function
Function Example 12 - Defective parts
(
λe −u/100 , u≥0
f(u) = A day’s production of 850 parts contains 50 defective
F(u) = P(X ≤ u) 0, otherwise parts. Two parts are selected at random without
X
Compute = thef(k) probability
(discretethat a computer will
distribution) replacement. Let the random variable X equal the
functionk≤u number of defective parts in the sample. Find the
a between Z u 50 and 150 hours before breaking down? cumulative distribution function of X. The
b for=fewerf(t)dt than 100 hours?
(continuous distribution) probability mass function is calculated as follows:
−∞
800 799
P(X = 0)= · = 0.886
850 849
800 50
P(X = 1)= 2 · · = 0.111
850 849
50 49
P(X = 2)= · = 0.003
850 849
Dung Nguyen Probability and Statistics19 / 29 Dung Nguyen Probability and Statistics20 / 29
Cumulative Distribution Function Expectation
Expectation Expectation
Dung Nguyen Probability and Statistics23 / 29 Dung Nguyen Probability and Statistics24 / 29
Expectation Expectation
Compute E(X 2 ).
Dung Nguyen Probability and Statistics35 / 29 Dung Nguyen Probability and Statistics36 / 29
Variance and Standard Deviation Variance and Standard Deviation
X1
0.15 X2 35 Suppose that X can take each of the five values
X3 −2, 0, 1, 3, 4 with equal probability. Determine the
X4 variance and standard deviation of X and
Y = 4X − 7.
0.10
Dung Nguyen Probability and Statistics41 / 29 Dung Nguyen Probability and Statistics42 / 29
Dung Nguyen Probability and Statistics47 / 29 Dung Nguyen Probability and Statistics48 / 29
Joint Distributions