]>
As usual, we start with a random experiment with probability measure
on an underlying sample space. In this section, we will discuss two mixed
cases for the distribution of a random variable: the case where the distribution is partly discrete and partly continuous, and the case where the variable has both discrete coordinates and continuous coordinates.
Suppose that is a random variable for the experiment, taking values in . Then has a distribution of mixed type if can be partitioned into subsets and with the following properties:
Thus, part of the distribution of is concentrated at points in a discrete set ; the rest of the distribution is continuously spread over . In the picture below, the light blue shading is intended to represent a continuous distribution of probability while the darker blue dots are intended to represents points of positive probability.
Let , so that . We can define a function on that is a partial probability density function for the discrete part of the distribution.
Let for . Show that
Usually, the continuous part of the distribution is also described by a partial probability density function. Thus, suppose there is a nonnegative function on such that
Show that .
The distribution of is completely determined by the partial probability density functions and . First, we extend the functions and to in the usual way: for , and for .
Show that
The conditional distributions on and on are purely discrete and continuous, respectively.
Show that the conditional distribution of given is discrete, with probability density function
Show that the conditional distribution of given is continuous, with probability density function
Thus, the distribution of is a mixture of a discrete distribution and a continuous distribution. Mixtures are studied in more generality in the section on conditional distributions.
Distributions of mixed type occur naturally when a random variable with a continuous distribution is truncated in a certain way. For example, suppose that is the random lifetime of a device, and has a continuous distribution with probability density function . In a test of the device, we can't wait forever, so we might select a positive constant and record the random variable , defined by truncating at as follows:
Show that has a mixed distribution. In particular, show that, in the notation above,
Suppose that random variable has a continuous distribution on , with probability density function . The variable is truncated at and () to create a new random variable as follows:
Show that has a mixed distribution. In particular show that
Suppose and are random variables for our experiment, and that has a discrete distribution, taking values in a countable set while has a continuous distribution on
Show that for . Thus has a continuous distribution on .
Usually, has a probability density function on in the following sense:
More generally, for and , define the cross section at by Show that
Technically, is the probability density function of with respect to the product measure on formed from counting measure on and -dimensional measure on .
Random vectors with mixed coordinates arise naturally in applied problems. For example, the cicada data set has 4 continuous variables and 2 discrete variables. The M&M data set has 6 discrete variables and 1 continuous variable. Vectors with mixed coordinates also occur when a discrete parameter for a continuous distribution is randomized, or when a continuous parameter for a discrete distribution is randomized.
Suppose that has probability uniformly distributed on the set and has probability uniformly distributed on the interval . Find .
Suppose that has probability uniformly distributed on and has probability uniformly distributed on Find .
Suppose that the lifetime of a device (in 1000 hour units) has the exponential distribution with probability density function . A test of the device is terminated after 2000 hours; the truncated lifetime is recorded. Find each of the following:
Let for and .
As we will see in the section on conditional distributions, the distribution in the last exercise models the following experiment: a random probability is selected, and then a coin with this probability of heads is tossed 3 times; is the number of heads.
For the M&M data, let denote the total number of candies and the net weight (in grams). Construct an empirical density function for