Beruflich Dokumente
Kultur Dokumente
e X(e)
S
R
Probability and statistics
2.Two types of random variables
X x1 x 2 … xn …
pk p1 p2 … pn ...
Probability and statistics
Example 1: Suppose we go to a university bookstore during
the first week of class and observe whether the next person
buying a computer buys a laptop or a desktop model .
⎧1 if the customer purchases a laptop computer
X =⎨
⎩0 if the customer purchases a desktop computer
If 20% of all purchasers during that week select a laptop,
The pmf of X is
?
Probability and statistics
E[h( X )] = ∑ h( x ) ⋅ p( x )
x∈ D