1.22k likes | 1.23k Views
This text explores the distribution function method, moment generating function method, and transformation method for determining the distribution of functions of random variables. Examples and illustrations are provided.
E N D
Methods for determining the distribution of functions of Random Variables • Distribution function method • Moment generating function method • Transformation method
Distribution function method Let X, Y, Z …. have joint density f(x,y,z, …) Let W = h( X, Y, Z, …) First step Find the distribution function of W G(w) = P[W ≤ w] = P[h( X, Y, Z, …)≤ w] Second step Find the density function of W g(w) = G'(w).
Example 1 Let X have a normal distribution with mean 0, and variance 1. (standard normal distribution) Let W = X2. Find the distribution of W.
First step Find the distribution function of W G(w) = P[W ≤ w] = P[ X2≤ w] where
Second step Find the density function of W g(w) = G'(w).
Thus if X has a standard Normal distribution then W = X2 has density This distribution is the Gamma distribution with a = ½ and l = ½. This distribution is also the c2 distribution with n = 1 degree of freedom.
Example 2 Suppose that X and Y are independent random variables each having an exponential distribution with parameter l(mean 1/l) Let W = X + Y. Find the distribution of W.
First step Find the distribution function of W = X + Y G(w) = P[W ≤ w] = P[ X + Y ≤ w]
Second step Find the density function of W g(w) = G'(w).
Hence if X and Y are independent random variables each having an exponential distribution with parameter lthen W has density This distribution can be recognized to be the Gamma distribution with parameters a = 2 and l.
Example: Student’s t distribution Let Z and U be two independent random variables with: • Z having a Standard Normal distribution • and • U having a c2 distribution with n degrees of freedom Find the distribution of
The density of Z is: The density of U is:
Therefore the joint density of Z and U is: The distribution function of T is:
Illustration of limits t > 0 t > 0 U z z U
Now: and:
If then Using the fundamental theorem of calculus: then
Hence Using or
Hence and
or where
Student’s t distribution where
Student – W.W. Gosset Worked for a distillery Not allowed to publish Published under the pseudonym “Student
t distribution standard normal distribution
Let x1, x2, … , xndenote a sample of size n from the density f(x). Let M = max(xi) then determine the distribution of M. Repeat this computation for m = min(xi) Assume that the density is the uniform density from 0 to q.
Hence and the distribution function
Differentiating we find the density function of M. f(x) g(t)
Differentiating we find the density function of m. f(x) g(t)
The probability integral transformation This transformation allows one to convert observations that come from a uniform distribution from 0 to 1 to observations that come from an arbitrary distribution. Let U denote an observation having a uniform distribution from 0 to 1.
Let f(x) denote an arbitrary density function and F(x) its corresponding cumulative distribution function. Find the distribution of X. Let Hence.
Thus if U has a uniform distribution from 0 to 1. Then has density f(x). U
Theorem Let X denote a random variable with probability density function f(x) and U = h(X). Assume that h(x) is either strictly increasing (or decreasing) then the probability density of U is: The Transformation Method
Proof Use the distribution function method. Step 1 Find the distribution function, G(u) Step 2 Differentiate G (u ) to find the probability density function g(u)
Suppose that X has a Normal distribution with mean mand variance s2. Find the distribution of U = h(x) = eX. Solution: Example
hence This distribution is called the log-normal distribution
Theorem Let x1, x2,…, xn denote random variables with joint probability density function f(x1, x2,…, xn ) Let u1= h1(x1, x2,…, xn). The Transfomation Method(many variables) u2= h2(x1, x2,…, xn). ⁞ un= hn(x1, x2,…, xn). define an invertible transformation from the x’s to the u’s
Then the joint probability density function of u1, u2,…, un is given by: where Jacobian of the transformation
Suppose that x1, x2 are independent with density functions f1 (x1) and f2(x2) Find the distribution of u1= x1+ x2 Example u2= x1 - x2 Solving for x1 and x2 we get the inverse transformation