/*! 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} Q18E Answer the following questions:a... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Answer the following questions:

a. Given that\({\rm{X = 1}}\), determine the conditional pmf of \({\rm{Y}}\)-i.e., \({{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(0}}\mid {\rm{1),}}{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(1}}\mid {\rm{1)}}\), and\({{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(2}}\mid {\rm{1)}}\).

b. Given that two houses are in use at the self-service island, what is the conditional pmf of the number of hoses in use on the full-service island?

c. Use the result of part (b) to calculate the conditional probability\({\rm{P(Y£

1}}\mid {\rm{X = 2)}}\).

d. Given that two houses are in use at the full-service island, what is the conditional pmf of the number in use at the self-service island?

Short Answer

Expert verified

a) The solution is \({{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(y}}\mid {\rm{1) = }}\left\{ {\begin{array}{*{20}{l}}{{\rm{0}}{\rm{.2353}}}&{{\rm{,y = 0}}}\\{{\rm{0}}{\rm{.5882}}}&{{\rm{,y = 1}}}\\{{\rm{0}}{\rm{.1765}}}&{{\rm{,y = 2}}}\\{\rm{0}}&{{\rm{,y = 0}}}\end{array}} \right.\).

b) The solution is \({{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(y}}\mid {\rm{2) = }}\left\{ {\begin{array}{*{20}{l}}{{\rm{0}}{\rm{.12}}}&{{\rm{,y = 0}}}\\{{\rm{0}}{\rm{.28}}}&{{\rm{,y = 1}}}\\{{\rm{0}}{\rm{.6}}}&{{\rm{,y = 2}}}\\{\rm{0}}&{{\rm{,y = 0}}}\end{array}} \right.\).

c) The solution is \({\rm{P(Y£1}}\mid {\rm{X = 2) = 0}}{\rm{.4}}\).

d) The solution is \({{\rm{p}}_{{\rm{X}}\mid {\rm{Y}}}}{\rm{(x}}\mid {\rm{2) = }}\left\{ {\begin{array}{*{20}{l}}{{\rm{0}}{\rm{.0526}}}&{{\rm{,x = 0,}}}\\{{\rm{0}}{\rm{.1579}}}&{{\rm{,x = 1}}}\\{{\rm{0}}{\rm{.7895}}}&{{\rm{,x = 2,}}}\\{\rm{0}}&{{\rm{,x = 0}}{\rm{.}}}\end{array}} \right.\).

Step by step solution

01

Definition

Probability simply refers to the likelihood of something occurring. We may talk about the probabilities of particular outcomes—how likely they are—when we're unclear about the result of an event. Statistics is the study of occurrences guided by probability.

02

Determining the conditional pmf

We are given joint pmf of \({\rm{X}}\) and \({\rm{Y}}\) in exercise \({\rm{1}}{\rm{.}}\)

The conditional probability density function of \({\rm{Y}}\) given that \({\rm{X = x}}\) is

1. \({{\rm{f}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(y}}\mid {\rm{x) = }}\frac{{{\rm{f(x,y)}}}}{{{{\rm{f}}_{\rm{X}}}{\rm{(x)}}}}{\rm{,}}\;\;\;{\rm{ - ¥< y < ¥}}\)when \({\rm{X}}\) and \({\rm{Y}}\) are continuous rv's,

2. \({{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(y}}\mid {\rm{x) = }}\frac{{{\rm{p(x,y)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(x)}}}}{\rm{,}}\;\;\;{\rm{ - ¥< y < ¥}}\)when \({\rm{X}}\) and \({\rm{Y}}\) are discrete rv's.

In order to determine conditional probability density function of \({\rm{Y}}\) given \({\rm{X = 1}}\) we need to determine marginal pmf of \({\rm{X}}\) and find values\({{\rm{p}}_{\rm{X}}}{\rm{(1)}}\).

03

The conditional pmf

The marginal probability mass function of discrete random variable \({\rm{X}}\) is

\({{\rm{p}}_{\rm{X}}}{\rm{(x) = }}\sum\limits_{\rm{y}} {\rm{p}} {\rm{(x,y), for every x,}}\)

By the definition, for\({\rm{x\^I \{ 0,1,2\} }}\), the following is true

\({{\rm{p}}_{\rm{X}}}{\rm{(x) = }}\sum\limits_{{\rm{yI \{ 0,1,2\} }}} {\rm{p}} {\rm{(x,y) = p(x,0) + p(x,1) + p(x,2)}}{\rm{.}}\)

For every \({\rm{xI \{ 0,1,2\} }}\) the marginal probability is the sum of a particular row. Therefore, we have

\(\begin{aligned}{l}{{\rm{p}}_{\rm{X}}}{\rm{(0) = 0}}{\rm{.1 + 0}}{\rm{.04 + 0}}{\rm{.02 = 0}}{\rm{.16}}\\{{\rm{p}}_{\rm{X}}}{\rm{(1) = 0}}{\rm{.08 + 0}}{\rm{.2 + 0}}{\rm{.06 = 0}}{\rm{.34}}\\{{\rm{p}}_{\rm{X}}}{\rm{(2) = 0}}{\rm{.06 + 0}}{\rm{.14 + 0}}{\rm{.3 = 0}}{\rm{.5}}\end{aligned}\)

which determines the marginal pmf of\({\rm{X}}\).

The marginal pmf of \({\rm{X}}\) is

\(\begin{aligned}{l}{{\rm{p}}_{\rm{X}}}{\rm{(0) = 0}}{\rm{.16}}\\{{\rm{p}}_{\rm{X}}}{\rm{(1) = 0}}{\rm{.34}}\\{{\rm{p}}_{\rm{X}}}{\rm{(2) = 0}}{\rm{.5}}\\{{\rm{p}}_{\rm{X}}}{\rm{(x) = 0}}{\rm{.}}\;\;\;{\rm{xI \{ 0,1,2\} }}\end{aligned}\)

For \({\rm{(a)}}\) we need only\({{\rm{p}}_{\rm{X}}}{\rm{(1) = 0}}{\rm{.34}}\).

04

Calculation for conditional pmf

The conditional pmf of \({\rm{Y}}\) given \({\rm{X = 1}}\) is

\(\begin{aligned}{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(0}}\mid {\rm{1) = }}\frac{{{\rm{p(1,0)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(1)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.08}}}}{{{\rm{0}}{\rm{.34}}}}\\{\rm{ = 0}}{\rm{.2353}}\\{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(1}}\mid {\rm{1) = }}\frac{{{\rm{p(1,1)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(1)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.2}}}}{{{\rm{0}}{\rm{.34}}}}\\{\rm{ = 0}}{\rm{.5882}}\\{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(2}}\mid {\rm{1) = }}\frac{{{\rm{p(1,2)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(1)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.06}}}}{{{\rm{0}}{\rm{.34}}}}\\{\rm{ = 0}}{\rm{.1765}}\\{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(y}}\mid {\rm{1) = }}\frac{{{\rm{p(1,y)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(1)}}}}\\{\rm{ = }}\frac{{\rm{0}}}{{{\rm{0}}{\rm{.34}}}}{\rm{ = 0,}}\;\;\;{\rm{yI \{ 0,1,2\} }}\end{aligned}\)

To summarize,

the conditional pmf of \({\rm{Y}}\) given \({\rm{X = 1}}\)

is

\({{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(y}}\mid {\rm{1) = }}\left\{ {\begin{aligned}{*{20}{l}}{{\rm{0}}{\rm{.2353}}}&{{\rm{,y = 0}}}\\{{\rm{0}}{\rm{.5882}}}&{{\rm{,y = 1}}}\\{{\rm{0}}{\rm{.1765}}}&{{\rm{,y = 2}}}\\{\rm{0}}&{{\rm{,y = 0}}}\end{aligned}} \right.\)

05

Calculation the conditional pmf

(b) :

For \({\rm{(b)}}\) we need\({{\rm{p}}_{\rm{X}}}{\rm{(2) = 0}}{\rm{.5}}\). This is because we need to determine conditional pmf of \({\rm{Y}}\) given\({\rm{X = 2}}\). Similarly, as in\({\rm{(a)}}\), the following is true

\(\begin{aligned}{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(0}}\mid {\rm{2) = }}\frac{{{\rm{p(1,0)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(2)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.06}}}}{{{\rm{0}}{\rm{.5}}}}\\{\rm{ = 0}}{\rm{.12}}\\{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(1}}\mid {\rm{2) = }}\frac{{{\rm{p(1,1)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(2)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.14}}}}{{{\rm{0}}{\rm{.5}}}}\\{\rm{ = 0}}{\rm{.28}}\\{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(2}}\mid {\rm{2) = }}\frac{{{\rm{p(1,2)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(2)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.3}}}}{{{\rm{0}}{\rm{.5}}}}\\{\rm{ = 0}}{\rm{.6}}\\{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(y}}\mid {\rm{2) = }}\frac{{{\rm{p(1,y)}}}}{{{{\rm{p}}_{\rm{X}}}{\rm{(2)}}}}\\{\rm{ = }}\frac{{\rm{0}}}{{{\rm{0}}{\rm{.5}}}}{\rm{ = 0,}}\;\;\;{\rm{yI \{ 0,1,2\} }}\end{aligned}\)

To summarize,

the conditional pmf of \({\rm{Y}}\) given \({\rm{X = 2}}\)

is

\({{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(y}}\mid {\rm{2) = }}\left\{ {\begin{array}{*{20}{l}}{{\rm{0}}{\rm{.12}}}&{{\rm{,y = 0}}}\\{{\rm{0}}{\rm{.28}}}&{{\rm{,y = 1}}}\\{{\rm{0}}{\rm{.6}}}&{{\rm{,y = 2}}}\\{\rm{0}}&{{\rm{,y = 0}}}\end{array}} \right.\)

06

Calculating the conditional probability

(c):

The following holds

\(\begin{aligned}{\rm{P(Y£1}}\mid {\rm{X = 2)}}\\{\rm{ = P(Y = 0}}\mid {\rm{X = 2) + P(Y = 1}}\mid {\rm{X = 2)}}\\{\rm{ = }}{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(0}}\mid {\rm{2) + }}{{\rm{p}}_{{\rm{Y}}\mid {\rm{X}}}}{\rm{(1}}\mid {\rm{2)}}\\{\rm{ = 0}}{\rm{.12 + 0}}{\rm{.28}}\\{\rm{ = 0}}{\rm{.4}}\end{aligned}\)

07

Determining the conditional pmf

(d)

Now we need to compute conditional pmf of \({\rm{X}}\) given\({\rm{Y = 2}}\). In order to do that, we need only\({{\rm{p}}_{\rm{Y}}}{\rm{(2)}}\). The following holds

\({{\rm{p}}_{\rm{Y}}}{\rm{(2) = 0}}{\rm{.02 + 0}}{\rm{.06 + 0}}{\rm{.3 = 0}}{\rm{.38}}\)

The conditional pmf of \({\rm{X}}\) given \({\rm{Y = 2}}\) is

\(\begin{aligned}{{\rm{p}}_{{\rm{X}}\mid {\rm{Y}}}}{\rm{(0}}\mid {\rm{2) = }}\frac{{{\rm{p(9,2)}}}}{{{{\rm{p}}_{\rm{Y}}}{\rm{(2)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.02}}}}{{{\rm{0}}{\rm{.38}}}}\\{\rm{ = 0}}{\rm{.0526}}\\{{\rm{p}}_{{\rm{X}}\mid {\rm{Y}}}}{\rm{(1}}\mid {\rm{2) = }}\frac{{{\rm{p(1,2)}}}}{{{{\rm{p}}_{\rm{Y}}}{\rm{(2)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.06}}}}{{{\rm{0}}{\rm{.38}}}}\\{\rm{ = 0}}{\rm{.1579}}\\{{\rm{p}}_{{\rm{X}}\mid {\rm{Y}}}}{\rm{(2}}\mid {\rm{2) = }}\frac{{{\rm{p(2,2)}}}}{{{{\rm{p}}_{\rm{Y}}}{\rm{(2)}}}}\\{\rm{ = }}\frac{{{\rm{0}}{\rm{.3}}}}{{{\rm{0}}{\rm{.38}}}}\\{\rm{ = 0}}{\rm{.7895}}\\{{\rm{p}}_{{\rm{X}}\mid {\rm{Y}}}}{\rm{(x}}\mid {\rm{2) = }}\frac{{{\rm{p(x,2)}}}}{{{{\rm{p}}_{\rm{Y}}}{\rm{(2)}}}}\\{\rm{ = }}\frac{{\rm{0}}}{{{\rm{0}}{\rm{.38}}}}{\rm{ = 0,}}\;\;\;{\rm{xI \{ 0,1,2\} }}\end{aligned}\)

To summarize,

the conditional pmf of \({\rm{Y}}\) given \({\rm{X = 2}}\)

is

\({{\rm{p}}_{{\rm{X}}\mid {\rm{Y}}}}{\rm{(x}}\mid {\rm{2) = }}\left\{ {\begin{array}{*{20}{l}}{{\rm{0}}{\rm{.0526}}}&{{\rm{,x = 0}}}\\{{\rm{0}}{\rm{.1579}}}&{{\rm{,x = 1}}}\\{{\rm{0}}{\rm{.7895}}}&{{\rm{,x = 2}}}\\{\rm{0}}&{{\rm{,x = 0}}}\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

Show that if\({\rm{X}}\)and\({\rm{Y}}\)are independent rv's, then\({\rm{E(XY) = E(X) \times E(Y)}}\). Then apply this in Exercise\({\rm{25}}{\rm{.}}\)[A1] (Hint: Consider the continuous case with\({\rm{f(x,y) = }}\)\({{\rm{f}}_{\rm{X}}}{\rm{(x) \times }}{{\rm{f}}_{\rm{Y}}}{\rm{(y)}}\).)

A service station has both self-service and full-service islands. On each island, there is a single regular unleaded pump with two hoses. Let \({\rm{X}}\)denote the number of hoses being used on the self-service island at a particular time, and let\({\rm{Y}}\)denote the number of hoses on the full-service island in use at that time. The joint \({\rm{pmf}}\) of \({\rm{X}}\)and \({\rm{Y}}\) appears in the accompanying tabulation.

a. What is\({\rm{P(X = 1 and Y = 1)}}\)?

b. Compute P(X£1}and{Y£1)

c. Give a word description of the event , and compute the probability of this event.

d. Compute the marginal \({\rm{pmf}}\) of \({\rm{X}}\)and of \({\rm{Y}}\). Using \({{\rm{p}}_{\rm{X}}}{\rm{(x)}}\)what is P(X£1)?

e. Are \({\rm{X}}\)and\({\rm{Y}}\)independent \({\rm{rv's}}\)? Explain

A surveyor wishes to lay out a square region with each side having length\({\rm{L}}\). However, because of a measurement error, he instead lays out a rectangle in which the north-south sides both have length \({\rm{X}}\) and the east-west sides both have length\({\rm{Y}}\). Suppose that \({\rm{X}}\) and \({\rm{Y}}\) are independent and that each is uniformly distributed on the interval \({\rm{(L - A,L + A)}}\) (where \({\rm{0 < A < L}}\) ). What is the expected area of the resulting rectangle?

The difference between the number of customers in line at the express checkout and the number in line at the super-express checkout is\({{\rm{X}}_{\rm{1}}}{\rm{ - }}{{\rm{X}}_{\rm{2}}}\). Calculate the expected difference.

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.