/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q7E Suppose that \({{\bf{X}}_{\bf{1}... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Suppose that \({{\bf{X}}_{\bf{1}}}\;{\bf{and}}\;{{\bf{X}}_{\bf{2}}}\)are i.i.d. random variables andthat the p.d.f. of each of them is as follows:

\({\bf{f}}\left( {\bf{x}} \right){\bf{ = }}\left\{ \begin{array}{l}{{\bf{e}}^{{\bf{ - x}}}}\;\;\;\;\;\;{\bf{for}}\;{\bf{x > 0}}\\{\bf{0}}\;\;\;\;\;\;\;\;{\bf{otherwise}}\end{array} \right.\)

Find the p.d.f. of \({\bf{Y = }}{{\bf{X}}_{\bf{1}}} - {{\bf{X}}_{\bf{2}}}\)

Short Answer

Expert verified

The p.d.f of Y is

\[\]\(g\left( y \right) = \left\{ \begin{array}{l}\frac{1}{2}{e^{ - \left| y \right|}}\;\;\;\;\;{\rm{for}}\; - \infty < y < \infty \\0\;\;\;\;\;\;\;\;\;\;\;{\rm{otherwise}}\end{array} \right.\)

Step by step solution

01

Given information

The p.d.f of two i.i.d variables\({X_1},{X_2}\)are,

\(f\left( {{x_i}} \right) = \left\{ \begin{array}{l}{e^{ - {x_i}}}\;\;\;\;\;\;{\rm{for}}\;{x_i} > 0\\0\;\;\;\;\;\;\;\;\;{\rm{otherwise}}\end{array} \right.\)

02

Obtainjoint p.d.f. for two variables by cdf approach

Since the random variables are independent, the joint pdf of both variables is a product of the marginalpdf of both variables.

Hence,

\(\begin{aligned}f\left( {{x_1},{x_2}} \right) &= f\left( {{x_1}} \right)f\left( {{x_1}} \right)\\ &= {e^{ - {x_1}}}{e^{ - {x_2}}}\\f\left( {{x_1},{x_2}} \right) &= \left\{ \begin{aligned}{e^{ - \left( {{x_1} + {x_2}} \right)}}\;\;\;\;\;\;for\;{x_1} > 0,{x_2} > 0\\0\;\;\;\;\;\;\;\;\;\;\;\;\;{\rm{otherwise}}\end{aligned} \right.\end{aligned}\)

Let, \(Y = {X_1} - {X_2} \Rightarrow {X_1} = Y + {X_2}\)

Assuming that \({X_2} = U \Rightarrow {X_1} = U + Y\)

Substitute the values in the pdf obtained above,

\(\begin{array}{l}f\left( {{x_1},{x_2}} \right) = \left\{ \begin{array}{l}{e^{ - \left( {z + y + z} \right)}}\;\;\;\;\;\;\\0\end{array} \right.\\f\left( {{x_1},{x_2}} \right) = \left\{ \begin{array}{l}{e^{ - \left( {2z + y} \right)}}\\0\;\;\;\;\;\;\;\end{array} \right.\end{array}\)

03

Obtain the CDF of the variable

Consider two cases.

Case 1:

\(\begin{aligned}For\;y \le 0,\\{f_Y}\left( y \right) &= \int\limits_{ - \infty }^\infty {{e^{ - 2u - y}}du} \\ &= {e^{ - y}}\left( {\frac{{{e^{ - 2u}}}}{2}} \right)_0^\infty \;\;\;\;\;\;\;\;\;\;\;\;\;\left( {{\rm{The}}\;{\rm{limits}}\;{\rm{for}}\;{\rm{the}}\;{\rm{exponential}}\;{\rm{distribution}}} \right)\\ &= {e^{ - y}}\left( {\frac{{0 - 1}}{{ - 2}}} \right)\\ &= \frac{1}{2}\left( {{e^{ - y}}} \right)\end{aligned}\)

Case 2:

\(For\;y > 0,\)

\({f_Y}\left( y \right) = \frac{1}{2}{e^{ - \left| y \right|}}\)

The above result holds true as the difference of two exponential distributions would have positive values.

04

Conclude the results

The PDF of the variable Y is obtained as follows,

\({f_Y}\left( y \right) = \left\{ \begin{array}{l}\frac{{{e^{ - \left| y \right|}}}}{2}\;\;\;\;\;\;\;\;\;\;\;{\rm{for}} - \infty < y < \infty \\0\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;{\rm{otherwise}}\end{array} \right.\)

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Question:Consider the clinical trial of depression drugs in Example2.1.4. Suppose that a patient is selected at random from the 150 patients in that study and we recordY, an indicator of the treatment group for that patient, andX, an indicator of whether or not the patient relapsed. Table 3.3contains the joint p.f. ofXandY.

Response(X)

Treatment Group(Y)

Impramine(1)

Lithium(2)

Combination(3)

Placebo(4)

Relapse(0)

0.120

0.087

0.146

0.160

No relapse(1)

0.147

0.166

0.107

0.067

a. Calculate the probability that a patient selected at random from this study used Lithium (either alone or in combination with Imipramine) and did not relapse.

b. Calculate the probability that the patient had a relapse(without regard to the treatment group).

Question:Suppose that the joint p.d.f. ofXandYis as follows:

\(f\left( {x,y} \right) = \left\{ \begin{array}{l}2x{e^{ - y}}\;for\;0 \le x \le 1\;and\;0 < y < \infty \\0\;otherwise\end{array} \right.\)

AreXandYindependent?

Suppose that a random variableXhas the binomial distribution with parametersn=15 andp=0.5. Find Pr(X <6).

Two students,AandB,are both registered for a certain course. Assume that studentAattends class 80 percent of the time, studentBattends class 60 percent of the time, and the absences of the two students are independent. Consider the conditions of Exercise 7 of Sec. 2.2 again. If exactly one of the two students,AandB,is in class on a given day, what is the probability that it isA?

Question:Prove Theorem 3.5.6.

Let X and Y have a continuous joint distribution. Suppose that

\(\;\left\{ {\left( {x,y} \right):f\left( {x,y} \right) > 0} \right\}\)is a rectangular region R (possibly unbounded) with sides (if any) parallel to the coordinate axes. Then X and Y are independent if and only if Eq. (3.5.7) holds for all\(\left( {x,y} \right) \in R\)

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.