Suppose we have two discrete random variables,
That is,
If we have two continuous random variables,
That is,
Here are a couple of simple examples.
Discrete Example
Given six people, two of whom are left-handed and one of whom is ginger (and also happens to be a leftie), we pick one person at random, with each equally likely to be picked. Letting
To be more precise, let
Similarly, we let
The given information tells us that
Continuous Example
We will assume that when throwing a dart at a target (dart board) on a wall, the probability that the dart hits in a certain region does not depend on the rotational angle about the center of the board. The probability that the dart hits at a point a distance
To be more precise, put a coordinate system on the wall, with origin at the center of the dart board. We will let
Our compatibility condition is
But
so
Thus
In order to examine the underlying probabilistic phenomena driving the creation of our data (if indeed there is such), we will usually be taking many measurements, making many observations, or performing repeated experiments. Given this, we will need to understand how to discuss probability when there are multiple samples.
We will start with a somewhat general discussion and then specialize it to the case mentioned in the previous section, where we are independently sampling a probability distribution
Suppose we have a process that generates
This probability is then a function
This is called a multivariate density function, as it depends on several variables.
Such a density function is determined by the properties that
, and-
We compute the expected value of function
and the corresponding moment generating function for
As properties of moments will be used in the future of this treatment, several useful properties
of the
Independent Random Variables
We will say that discrete random variables
Or, more generally so as to include continuous random variables, we add any
Example
Consider the experiment of flipping a coin and then rolling a die. Let
It is easy to see that
This computation holds for any values which
One way to think about this is that the die is completely uninfluenced by the result of the flip.
Usually the determination of the density function of a multivariate process is rather onerous. But this can be greatly simplified if the variables
That is, the density function can be written as a product of the density functions of the individual variables.
Computation of the expected value of special functions of the form
In this case, we have that the moment-generating function for
The Case of Random Sampling
As was mentioned in the last section, we will think of random sampling as repeated independent values from a given probability function. In this case, the above discussion of independence tells us that
That is, the individual density functions are identical.