Stat 5101 (Geyer) Midterm 1
The correlation is given by
You can if you like always use the formulas
to calculate variances and covariances. They are, after all, valid formulas,
so, if you don't make any mistakes, you can use them to get correct answers.
But using these formulas are a bad idea in a problem like this.
Note that the easy solution we give here does not involve means
at all! If you do the problem the easy way, you cannot get an
incorrect answer involving
.
If you do the problem using the formulas involving means and you make
a mistake, the means won't cancel out. It's just much simpler if you
use the rules for variances and covariances that don't involve means.
This is a Bayes rule problem. The conditional probability in question
can be calculated from the Bayes rule formula
The probabilities given in the problem statement are
Plugging into the formula gives
This distribution is symmetric about zero. Hence the mean is the
center of symmetry if the mean exists, which it does since X is
bounded (
)
and every bounded random variable has an
expectation.
The center of symmetry, zero, is also the median.
By definition, the c. d. f. is
In practice, we must take into account the support of X, which is
the interval (-1, +1). Clearly X cannot be less than -1 or
greater than +1. Hence for
The only remaining task is to find the functional form of F on the support.
Now for
-1 < x < + 1
This is a job for the ``change of variable'' theorem (Theorem 8 of
Section 3.5 in the textbook). The transformation is Y = g(X)with
.
This transformation is invertable
when x is restricted to the positive half line.
To simplify notation, write, as we did in class
h = g-1,
then
h(y) = y2,
and
h'(y) = 2 y.
Then the change of variable theorem says
To be precise, we should add the domain of definition
This is a job for the ``conditional expectation as renormalization'' formula
given in the notes
Note that the normalization constant 1 / 6 is irrelevant, cancelling out
of the numerator and denominator. We could just as well use
The numerator and denominator are similar, both of the form
Plugging in k = 0 gives