Expectation of function on RV given by chart
Suppose that in such a way that and and and no other values are mapped to . Define .
| 1 | 2 | 3 | |
|---|---|---|---|
| 4 | 1 | 87 |
Then:
And:
Therefore:
PMF through many-to-one function
Suppose the PMF of is given by:
Now suppose . That is to say, and .
What is the PMF of ?
Solution
Notice that and . So and are combined into :
Variance of uniform random variable
The uniform random variable on has distribution given by when .
(a) Find using the shorter formula.
(b) Find using “squaring the scale factor.”
(c) Find directly.
Solution (a)
(1) Compute density.
The density for is:
(2) Compute and directly using integral formulas.
Compute :
Now compute :
(3) Find variance using short formula.
Plug in:
(b)
(1) “Squaring the scale factor” formula:
(2) Plugging in:
(c)
(1) Density.
The variable will have the density spread over the interval .
Density is then:
(2) Plug into prior variance formula.
Use and .
Get variance:
Simplify:
Average pay raise
Suppose the average salary at Company A is $52,000. Each employee is given a 3% raise and a $2000 bonus. What is the average salary now?
Solution
Let be a random variable indicating the starting salary of each employee.
Then is a random variable giving the new salary of each employee.
We can calculate the expectation by linearity:
PDF of derived from CDF
Suppose that .
(a) Find the PDF of . (b) Find the PDF of .
Solution
(a)
Formula:
Plug in:
(b)
By definition:
Since is increasing, we know:
Therefore:
Then using differentiation:
Probabilities via CDF
Suppose the CDF of is given by . Compute:
(a) (b) (c) (d)
Solution
(a)
(b) Same as (a) because (single point in a continuous distribution).
(c)
(d)