Example 3: Mean values
= total number of sons in generation
.
for convenience.
Compute
.
Recall definition of expected value:
If
is discrete then
If
is absolutely continuous then
Theorem: If
,
has density
then
Key properties of
:
1: If
then
. Equals iff
.
2:
.
3: If
then
4:
.
Conditional Expectations
If
,
, two discrete random variables then
Extension to absolutely continuous case:
Joint pmf of
and
is defined as
Example:
![]() |
![]() |
|
![]() |
||
![]() |
The marginal density of
is, for
.
![]() |
||
![]() |
||
![]() |
For
not in
the integral is 0 so
Conditional Densities
If
and
have joint density
then
we define the conditional density of
given
by
analogy with our interpretation of densities. We take limits:

Going back to our interpretation of joint densities and ordinary densities we see that our definition is just
Example: For
of previous example conditional density
of
given
defined only for
:
![]() |
||
![]() |
||
![]() |
WARNING: in sum
is required and
,
integers
so sum really runs from
to
![]() |
||
![]() |
||
![]() |
||
Conditional Expectations
If
and
are continuous random variables with joint density
we define:
Key properties of conditional expectation
1: If
then
. Equals iff
.
2:
.
3: If
and
are independent then
4:
.
Example:
![]() |
||
![]() |
Computing expectations by conditioning:
Notation:
is the function of
you get by
working out
, getting a formula in
and replacing
by
. This makes
a random variable.
Properties:
1:
.
2: If
and
are independent then
3:
.
4:
(compute average
holding
fixed first, then average over
).
In example:
For
expect exponential decay. For
exponential
growth (if not extinction).
We have reviewed the following definitions:
Tactics:
Tactics for expected values: