Porisma

Worked solution

Use the preceding meal to choose each transition probability

Mr Ong chooses either a Beef Combo Meal or a Chicken Combo Meal at a fast food restaurant. On his first visit, the probability of beef is 0.8. Thereafter, the probability of beef is 0.6 if he chose beef on the previous visit and 0.7 otherwise.

(i) Show that the probability of beef on each of the first three consecutive visits is 0.288. mark

(ii) Find the probability of exactly one beef meal in those visits. marks

(iii) Given exactly two chicken meals in those visits, find the probability that the second visit’s meal was beef. marks

[2014/VJC/II/6]

CJC · Review problems · Question 8

Answer

(i) 0.288; (ii) 0.194; (iii) 28/97≈0.28928/97\approx0.289.

Retain the complete source transition tree

Let B mean beef and C chicken. The initial branches are 0.8/0.2. After B, next-B/next-C probabilities are 0.6/0.4; after C, they are 0.7/0.3. Apply the source’s previous-visit transition model at every later branch. All eight three-visit paths are shown in the reconstruction.

How did this part go?

(i) Three beef meals

P(BBB)=(0.8)(0.6)(0.6)=0.288P(BBB)=(0.8)(0.6)(0.6)=0.288.

How did this part go?

(ii) Exactly one beef meal

The disjoint paths are BCC, CBC, CCB. Their total is (0.8)(0.4)(0.3)+(0.2)(0.7)(0.4)+(0.2)(0.3)(0.7)=0.096+0.056+0.042=0.194(0.8)(0.4)(0.3)+(0.2)(0.7)(0.4)+(0.2)(0.3)(0.7)=0.096+0.056+0.042=0.194.

How did this part go?

(iii) Reduce to the CBC path

Exactly two chicken meals means exactly one beef meal. Beef on visit 2 then requires CBC. Thus P(B on visit2∣two C meals)=P(CBC)/[P(BCC)+P(CBC)+P(CCB)]=(0.2)(0.7)(0.4)/0.194=28/97≈0.289P(\text{B on visit2}\mid\text{two C meals})=P(CBC)/[P(BCC)+P(CBC)+P(CCB)]=(0.2)(0.7)(0.4)/0.194=28/97\approx0.289, retaining the source decimal.

How did this part go?

Compare your sketch

Expand diagram

Use the scrollbars or arrow keys to inspect details.

All eight source paths BBB, BBC, BCB, BCC, CBB, CBC, CCB, CCC retained. Initial beef/chicken 0.8/0.2; after beef 0.6/0.4; after chicken 0.7/0.3. Every branch label shown.
All eight source paths BBB, BBC, BCB, BCC, CBB, CBC, CCB, CCC retained. Initial beef/chicken 0.8/0.2; after beef 0.6/0.4; after chicken 0.7/0.3. Every branch label shown.
All eight source paths BBB, BBC, BCB, BCC, CBB, CBC, CCB, CCC retained. Initial beef/chicken 0.8/0.2; after beef 0.6/0.4; after chicken 0.7/0.3. Every branch label shown.

Common mistakes

Do not use one fixed beef probability independently on all three visits.

Solution notes

All three asks, all fourteen branch probabilities/eight source paths, every path product, conditional quotient, source decimal and marks retained. Exact 28/97 supplements the printed 0.289.

Read the hint