Basic Problem: Start with assumptions about
or CDF of random
vector
. Define
to be some function
of
(usually some statistic of interest). How can we compute the distribution
or CDF or density of
?
Univariate Techniques
Method 1: compute the CDF by integration and differentiate to find
.
Example:
Uniform
and
.
![]() |
Example:
, i.e.
![]() |
![]() |
![]() |
||
We will find indicator notation useful:
Notice: I never evaluated
before differentiating it. In fact
and
are integrals I can't do but I can differentiate then anyway.
Remember fundamental theorem of calculus:
Summary: for
with
and
each real valued
Method 2: Change of variables.
Assume
is one to one.
I do:
is increasing and differentiable.
Interpretation of density (based on density =
):
![]() |
|||
![]() |
Alternative view:
Each probability is integral of a density.
The first is the
integral of the density of
over the small interval from
to
. The interval is narrow so
is
nearly constant and
Remark: For
decreasing
but Then
the interval
is really
so
that
.
In both cases this amounts to the formula
Mnemonic:
Example:
Weibull(shape
, scale
)
or
Let
or
.
Solve
:
or
.
Then
and
.
Hence
Simplest multivariate problem:
is the marginal density of
and
the joint density of
but
they are both just densities.
``Marginal'' just to
distinguish from the joint density of
.
Example The function
![]() |
|
![]() |
||
![]() |
||
General problem has
with
.
Case 1:
.
won't have density
for ``smooth''
.
will have a singular or discrete distribution.
Problem rarely of real interest.
(But, e.g., residuals have singular distribution.)
Case 2:
. We use a
change of variables
formula which generalizes the one derived above for the
case
. (See below.)
Case 3:
.
Pad out
-add on
more variables (carefully chosen)
say
. Find functions
. Define for
,
and
Choose
so that we can use change of variables on
to compute
. Find
by integration:

Suppose
with
having density
.
Assume
is a one to one (``injective") map, i.e.,
if and only if
.
Find
:
Step 1: Solve for
in terms of
:
.
Step 2: Use basic equation:
Equivalent formula inverts the matrix:
Example: The density
Solve for
in terms of
:
![]() |
|||
Next: marginal densities of
,
?
Factor
as
where
Then
![]() |
|||
![]() |
Exercise:
has standard exponential
distribution.
Recall: by definition
has a
distribution on 2 degrees of freedom.
Exercise: find
density.
Note: We show below factorization of density is equivalent to independence.