-
Home
- Applied probability
- Transform methods
- Problems on transform methods
Random variable
X has moment generating function
By recognizing forms and using rules of combinations, determine
and
.
Got questions? Get instant answers now!
Suppose the class
of events is independent, with respective
probabilities 0.3, 0.5, 0.2. Consider
- Determine the moment generating functions for
and use properties of
moment generating functions to determine the moment generating function for
X .
- Use the moment generating function to determine the distribution for
X .
- Use canonic to determine the distribution. Compare with result (b).
- Use distributions for the separate terms; determine the distribution for
the sum with mgsum3. Compare with result (b).
The distribution is
c = [-3 2 4 0];P = 0.1*[3 5 2];canonic
Enter row vector of coefficients cEnter row vector of minterm probabilities minprob(P)
Use row matrices X and PX for calculationsCall for XDBN to view the distribution
P1 = [0.7 0.3];
P2 = [0.5 0.5];
P3 = [0.8 0.2];
X1 = [0 -3];
X2 = [0 2];
X3 = [0 4];
[x,px]= mgsum3(X1,X2,X3,P1,P2,P3);
disp([X;PX;x;px]')
-3.0000 0.1200 -3.0000 0.1200-1.0000 0.1200 -1.0000 0.1200
0 0.2800 0 0.28001.0000 0.0300 1.0000 0.0300
2.0000 0.2800 2.0000 0.28003.0000 0.0300 3.0000 0.0300
4.0000 0.0700 4.0000 0.07006.0000 0.0700 6.0000 0.0700
Got questions? Get instant answers now!
Suppose the pair
is independent, with both
X and
Y binomial.
Use generating functions to show under what condition, if any,
is binomial.
Binomial iff both have same
p , as shown below.
Got questions? Get instant answers now!
Suppose the pair
is independent, with both
X and
Y Poisson.
- Use generating functions to show under what condition
is Poisson.
- What about
? Justify your answer.
Always Poisson, as the argument below shows.
However,
could have negative values.
Got questions? Get instant answers now!
Suppose the pair
is independent,
Y is nonnegative integer-valued,
X is Poisson and
is Poisson. Use the generating functions to show that
Y is Poisson.
, where
.
and
. Division by
gives
.
Got questions? Get instant answers now!
Suppose the pair
is iid, binomial
. By the result of
[link]
is binomial. Use mgsum to obtain the distribution for
.
Does
Z have the binomial distribution? Is the result surprising? Examine the first few
possible values for
Z . Write the generating function for
Z ; does it have the
form for the binomial distribution?
x = 0:6;
px = ibinom(6,0.51,x);[Z,PZ] = mgsum(2*x,4*x,px,px);disp([Z(1:5);PZ(1:5)]')0 0.0002 % Cannot be binomial, since odd values missing
2.0000 0.00124.0000 0.0043
6.0000 0.01188.0000 0.0259
- - - - - - - -
Got questions? Get instant answers now!
Suppose the pair
is independent, with
binomial
and
binomial
.
Let
and
.
- Use the mgsum to obtain the distribution for
.
- Use icalc and csort to obtain the distribution for
and compare with the
result of part (a).
X = 0:5;
Y = 0:7;PX = ibinom(5,0.33,X);
PY = ibinom(7,0.47,Y);G = 3*X.^2 - 2*X;
H = 2*Y.^2 + Y + 3;[Z,PZ] = mgsum(G,H,PX,PY);icalc
Enter row matrix of X-values XEnter row matrix of Y-values Y
Enter X probabilities PXEnter Y probabilities PY
Use array operations on matrices X, Y, PX, PY, t, u, and PM = 3*t.^2 - 2*t + 2*u.^2 + u + 3;
[z,pz]= csort(M,P);
e = max(abs(pz - PZ)) % Comparison of p valuese = 0
Got questions? Get instant answers now!
Suppose the pair
is independent, with
binomial
and
uniform on
. Let
- Use mgsum to obtain the distribution for
.
- Use icalc and csort to obtain the distribution for
and compare with the
result of part (a).
X = 0:8;
Y = [-1.3 -0.5 1.3 2.2 3.5];
PX = ibinom(8,0.39,X);PY = (1/5)*ones(1,5);
U = 3*X.^2 - 2*X + 1;V = Y.^3 + 2*Y - 3;
[Z,PZ]= mgsum(U,V,PX,PY);
icalcEnter row matrix of X-values X
Enter row matrix of Y-values YEnter X probabilities PX
Enter Y probabilities PYUse array operations on matrices X, Y, PX, PY, t, u, and P
M = 3*t.^2 - 2*t + 1 + u.^3 + 2*u - 3;[z,pz] = csort(M,P);e = max(abs(pz - PZ))
e = 0
Got questions? Get instant answers now!
If
X is a nonnegative integer-valued random variable, express the generating
function as a power series.
- Show that the
k th derivative at
is
- Use this to show the
.
Since power series may be differentiated term by term
Got questions? Get instant answers now!
Let
be the moment generating function for
X .
- Show that
is the second derivative of
evaluated
at
.
- Use this fact to show that if
, then
.
Setting
and using the result on moments gives
Got questions? Get instant answers now!
Use derivatives of
to obtain the mean and variance of the
negative binomial
distribution.
To simplify writing use
for
.
Got questions? Get instant answers now!
Use moment generating functions to show that variances add for the sum
or difference of independent random variables.
To simplify writing, set
,
, and
Setting
yields
Taking the difference gives
. A similar
treatment with
replaced by
shows
.
Got questions? Get instant answers now!
The pair
is iid
. Use the moment generating
function to show that
is is normal (see
Example 3 from "Transform Methods" for general
result).
Got questions? Get instant answers now!
Use the central limit theorem to show that for large enough sample size
(usually 20 or more), the sample average
is approximately
for any reasonable population distribution having
mean value
μ and variance
σ
2 .
By the central limit theorem,
A
n is approximately normal, with the mean and variance above.
Got questions? Get instant answers now!
A population has standard deviation approximately three. It is desired to
determine the sample size
n needed to ensure that with probability 0.95 the
sample average will be within 0.5 of the mean value.
- Use the Chebyshev inequality to estimate the needed sample size.
- Use the normal approximation to estimate
n (see
Example 1 from "Simple Random Samples and Statistics").
Got questions? Get instant answers now!
Source:
OpenStax, Applied probability. OpenStax CNX. Aug 31, 2009 Download for free at http://cnx.org/content/col10708/1.6
Google Play and the Google Play logo are trademarks of Google Inc.