Professional Documents
Culture Documents
Stat20f Note4 PDF
Stat20f Note4 PDF
(1) Let and be two random variables defined on the same probability space. A bivariate
random vector is a function from the sample space into the -dimensional
Euclidean space.
(2) Let be a discrete bivariate random vector and let be the range of .
A real valued function is called the joint probability mass function (pmf) of
(3) If is the joint pmf of a discrete bivariate random vector , then
≥ , ,
and
∈ .
∈
(4) Let be the joint pmf of a discrete bivariate random vector . The function
Consider a population of students who have just finished a first course in calculus.
Of these , have earned ’s, ’s, and ’s, ’s, or ’s. A sample of size is
taken at random and without replacement from this population in a way that each possible
1
,
⋯ , ⋯ , ≤ .
The probability that or student and more than students in the sample is
≤
.
≥
,
⋯ .
,
⋯ .
(6) The joint probability density function (pdf) of a continuous bivariate random vector
is an integrable function with the following properties:
∞ ∞
(b)
∞ ∞
2
(7) Let be a continuous bivariate random vector with joint pdf . The function
∞
∞
∞
∞
.
∞ ∞
∞ ∞
.
Hence and
.
Solution:
Solution:
Solution:
3
(9) For a bivariate random vector ,
are called the support of , the support of , and the support of , respectively.
(1) Let be a bivariate random vector with joint pdf or pmf and marginal pdfs
or pmfs and . The conditional pdf or pmf of given is defined as
for any fixed with . The conditional pdf or pmf of given is defined as
(2) In accordance with the definition of the conditional pdf or pmf and
.
∈
∈ .
∈
∈
and
∈ .
∈
4
Since is a joint pmf,
Thus
and
.
,
and
,
when .
when .
,
⋯ , ⋯ , ≤ .
We showed that and have marginal hypergeometric distributions and
and
.
⋯ ⋯
Thus,
5
,
⋯ .
That is , the conditional distribution of given is ,
∼ . Similarly, we obtain
,
⋯ .
Hence ∼ and the conditional probability is equal to
.
.
and
.
.
The conditional probability is
.
.
∞ .
6
The marginal pdfs are
∞
∞
and
∞ .
∞ ∞
and
.
(8) Let and have joint pdf or pmf and marginals and . and are
, ∈ , ∈ .
(9) Two random variables and are independent if and only if the conditional distribution of
, ∈ , ∈ .
∈ , ∈ .
(10) Let two random variables and have supports and , respectively, and have the
joint pdf or pmf . Then and are independent if and only if can be written
as a product of a nonnegative function of and a nonnegative function of . That is,
.
× and ∈ ∈ ∈ ∈ .
7
(12) Let have the joint pdf
Since
and
.
Hence
.
.
and
.
Thus
≠ .
∞ .
Since ∞ , ∞ , and ∞ ,
≠ × .
∞
and
∞ .
8
Thus
≠ .
3. Expectation
(1) Let be a bivariate random vector with joint pdf or pmf . The expected value
of a function of the two random variables and is defined as
if is discrete, and
∞ ∞
∞ ∞
if is continuous.
(2) We define expectations with special names for continuous . The definitions associated
with expectations in the discrete case are the same as those associated with the continuous
case after replacing the integrations with summations.
∞ ∞ ∞
∞ ∞
∞
∞ ∞ ∞
∞ ∞
∞
∞ ∞ ∞
∞ ∞
∞
∞ ∞ ∞
∞ ∞
∞
9
is called the variance of .
∞ ∞
∞ ∞
.
.
Proof:
(6)
(7)
(8) If and are any two random variables and , , , and are real constants, then
.
10
(9) Let have the joint pdf
.
,
.
,
,
and
.
.
.
.
(10) Let and be two independent random variables and let be a function only of
and be a function only of . Then
.
11
∞ ∞
Proof:
∞ ∞
∞ ∞
∞ ∞
∞ ∞
∞
∞
Let be a random variable. Define sin and cos . and are
sin sin ,
and
cos cos .
Thus,
sin cos sin
sin .
≤ ,
Proof: Define
.
.
12
If for some , say , then , which implies
.
(14) For any random variables and , ≤ with equality if and only if one random
≤ .
Hence,
≤
with equality if and only if for some constant . That is,
(15) If and are two random variables and , , , and are real constants, then
and
(16) Let and be two random variables with the variances , , and the correlation
coefficient . Find the correlation coefficient between and .
.
.
13
and
.
.
4. Conditional Expectation
(1) Let be a bivariate random vector with joint pdf or pmf . The conditional
expectation of given , denoted by or , is defined as
∞
∞
if is continuous, and
∞
∞
if is continuous, and
if is discrete.
,
.
(3) The conditional variance of given which is the variance of the conditional
distribution of given , is defined as
14
.
∞ .
,
so ∼ . Thus,
and .
∞ ,
and
.
(5) The conditional expectation is a function of . That is, for each value of ,
is a real number obtained by computing the appropriate integral or sum. Thus,
∞ .
We showed
, , , .
15
Thus,
, , , .
(7) Let be a bivariate random vector with joint pdf or pmf . If or
is given, the random variables can be replaced by their values when we compute the
conditional expectation. Thus,
,
,
,
.
,
,
,
(9) Let have joint pdf or pmf . If and exist, then
and
.
16
and .
or
.
,
or
.
,
Proof:
.
17
(12) Let have the distribution. If the conditional distribution is , then
∞
.
It is not easy to find the marginal pdf of , but we can easily compute the mean and
, ,
,
.
Hence
and
.
5. Hierarchical Model
(1) A random variable is said to have a mixture distribution if the distribution of depends
on a quantity that also has a distribution. In this case, the probability model of
can be expressed as
∼ , ∼ .
∞ .
∼ , ∼ ∞ ,
or
∼ ∞ , ∼ ∞ .
18
(3) Suppose that a hierarchical model is given by
∼ , ∼ .
If both and are continuous or discrete, then the joint pdf or pmf is given by
variable is continuous and the other one is discrete, the joint pdf or pmf cannot be
defined. However, we can use as a joint probability function and probabilities
∞ ∞
∞
∞
∞
∞
.
∞
∞
and .
(4) Suppose that has distribution and the conditional distribution is .
The means, variances, and correlation coefficient can be obtained using the distribution of
, , , .
,
and
19
.
.
,
and
.
.
∞
∞
ln
when ,
ln ln
when ≤ .
Now, since follows distribution,
has distribution.
20
Thus, has distribution. Since the conditional distribution of given
does not depend on , and are independent. The joint model for can be
expressed as
∼ , ∼ , and are independent.
(5) Suppose that has distribution and the conditional distribution is .
We have
, , , .
Thus,
,
and
.
,
⋯ , ⋯
⋯ ⋯ .
∞
∞
,
⋯ ,
21
The conditional pmf of is
, ⋯
⋯ .
and are independent. Thus the probability model for can be expressed as
and so
.
Hence
.
(6) Let the conditional distribution be and let be a random variable.
Then
, , ,
and
, .
Therefore
and
.
22
The marginal pmf of is given by
∞
∞
⋯ .
6. Trinomial distribution
(1) A discrete bivariate random vector is said to have the trinomial distribution with
parameters , , , ∼ , if its joint pmf is of the form
, ⋯ , ⋯ , ≤ ≤ ,
(2) A certain game involves rolling a fair die and watching the numbers of rolls of and .
What is the probability that in rolls of the die one and three will be observed?
Solution: Let denote the number of and denote the number of . Then follows
trinomial distribution with , , , and . Hence
the probability that in rolls of the die one and three will be observed is
(3) Let ∼ , then ∼ and ∼ .
23
, ⋯
, ⋯
∼ ,
and
∼ , .
, ⋯ , .
Similarly, is given by
, ⋯ , .
24
Thus,
.
Hence,
and
, ∞ ∞ ∞ ∞ ,
where
, , .
∼ , , ,
∼ , , ,
25
and
.
.
Therefore,
,
where
and .
Thus,
.
,
where
,
and
, , .
26
Now,
.
Hence,
,
and
.
(4) If and have a bivariate normal distribution with correlation coefficient , then
Proof: We see that the product , which is the joint pdf of and , equals
. That is, if , then the joint pdf factors into the product of the two marginal
(5) The conditional pdf of is and the marginal pdf of is
. Find the distribution of and the conditional distribution of .
Solution: Since is the pdf of the distribution and is the pdf of the
27
, ,
and
, .
This gives
, , .
Thus,
, ,
and
∼ .
Hence, has the distribution and the conditional distribution of given
.
That is,
∼
28