Question

In: Statistics and Probability

Once every weekend, I go out for breakfast – usually at Sweet Paris, Mess, or First...

Once every weekend, I go out for breakfast – usually at Sweet Paris, Mess, or First Watch. However, my decision usually depends on where I ate in the prior week. Basically, my breakfast eating habits are a Markov process and I’ve summarized the transition matrix below.

Sweet Paris Mess First Watch

Sweet Paris 0.3 0.3 0.4

Mess 0.6 0.4   0

First Watch 0.3 0.7 0

Sweet Paris has a policy where you earn a free crepe after 16 visits – thus I might be interested in the 16th passage time – how long it would take me to visit 16 times and earn a free crepe.

As it turns out, I already have 15 visits. I only need one more to earn my free crepe!!! I.e., I’m interested in my first passage to Sweet Paris.

  1. (a) If I most recently ate at Sweet Paris, determine the probability I will earn a free crepe in 1 week, 2 weeks, 3 weeks, and 4 weeks.

  2. (b) If I most recently ate at Mess, determine the probability I will earn a free crepe in 1 week, 2 weeks, 3 weeks, and 4 weeks.

  3. (c) If I most recently ate at First Watch, determine the probability I will earn a free crepe in 1 week, 2 weeks, 3 weeks, and 4 weeks.

Solutions

Expert Solution

Transition matrix is given below

                        Sweet Paris        Mess             First Watch

Sweet Paris            0.3                0.3                     0.4

Mess                      0.6    0.4                      0

First Watch           0.3                0.7                      0

Let our Transition Probability matrix be denoted by M

We will use R software for just calculation process

One step Transition Probability matrix is

M=matrix(c(0.3 ,0.3, 0.4,0.6,0.4,0,0.3 , 0.7, 0),3,3,byrow=T)

> M                                                                    # M
        [,1] [,2] [,3]
[1,] 0.3 0.3 0.4
[2,] 0.6 0.4 0.0
[3,] 0.3 0.7 0.0

We will calculate M2, M3 , M4 which will represent probability of earning a free crepe in 1 week, 2 weeks, 3 weeks, and 4 weeks


D2=M%*%M
D2                                                              # M2
     [,1] [,2] [,3]
[1,] 0.39 0.49 0.12
[2,] 0.42 0.34 0.24
[3,] 0.51 0.37 0.12

D3=D2%*%M                                                    # M3
D3                        
      [,1] [,2] [,3]
[1,] 0.447 0.397 0.156
[2,] 0.402 0.430 0.168
[3,] 0.411 0.385 0.204


D4=D3%*%M                     # M4                                  
D4
       [,1]   [,2]   [,3]
[1,] 0.4191 0.4021 0.1788
[2,] 0.4290 0.4102 0.1608
[3,] 0.4155 0.4201 0.1644

Thus we have transition probability of 1st week( M) , 2nd weeks( M2) , 3rd weeks( M3) , and 4th weeks ( M4)

(a) If I most recently ate at Sweet Paris ( can be denoted as state 1 ), determine the probability I will earn a free crepe in 1 week, 2 weeks, 3 weeks, and 4 weeks

Now we need to calculate transition from state 1 to state 1 { P11 } , in step 1,2,3,4 , probability given above as ( M , M2 , M3 , M4 ) respectively

Probability I will earn a free crepe in 1 week here we need to calculate (i.e probability of returning to state 1 in 1 step) P(X2=1|X1=1) = P11 = 0.3

Probability          =    0.3

M
        [,1] [,2] [,3]
[1,] 0.3 0.3 0.4
[2,] 0.6 0.4 0.0
[3,] 0.3 0.7 0.0

Probability I will earn a free crepe in 2 week (i.e probability of returning to state 1 in 2 step),we calculate it from M2

   Probability          =    0.39

D2                                                              # M2
     [,1] [,2] [,3]
[1,] 0.39 0.49 0.12
[2,] 0.42 0.34 0.24
[3,] 0.51 0.37 0.12

Probability I will earn a free crepe in 3 week ,we calculate it from M3 = 0.447

Probability          =    0.447

D3                                                                       # M3
      [,1] [,2] [,3]
[1,] 0.447 0.397 0.156
[2,] 0.402 0.430 0.168
[3,] 0.411 0.385 0.204

Probability I will earn a free crepe in 4 week ,we calculate it from M4 = 0.4191

Probability          =    0.4191

D4                                  #   M4
       [,1]   [,2]   [,3]
[1,] 0.4191 0.4021 0.1788
[2,] 0.4290 0.4102 0.1608
[3,] 0.4155 0.4201 0.1644

b) If I most recently ate at Mess, determine the probability I will earn a free crepe in 1 week, 2 weeks, 3 weeks, and 4 weeks.

Now we need to calculate transition from state 2 to state 1 { P21 } , in step 1,2,3,4 , probability given above as ( M , M2 , M3 , M4 ) respectively

which represents week 1 , week,2 ,weeks 3 , weeks 4

Thus , I most recently ate at Mess

Probability I will earn a free crepe in 1 week ( from M ) = P(1)31 = 0.6

Probability          =    0.6

Probability I will earn a free crepe in 2 week ( from M2 ) = P(2)31 = 0.51

Probability          =    0.51

Probability I will earn a free crepe in 3 week ( from M3 ) = P(3)31 = 0.411

Probability          =   0.411

Probability I will earn a free crepe in 4 week ( from M4 ) = P(4)31 = 0.4290

Probability          =    0.4290

(c) If I most recently ate at First Watch, determine the probability I will earn a free crepe in 1 week, 2 weeks, 3 weeks, and 4 weeks

Now we need to calculate transition from state 3 to state 1 { P(n)31 } , in step n=1,2,3,4 , probability given above in ( M , M2 , M3 , M4 ) respectively

Thus , I most recently ate at First Watch

Probability I will earn a free crepe in 1 week ( from M ) = P(1)21 = 0.3

Probability          =    0.3

Probability I will earn a free crepe in 2 week ( from M2 ) = P(2)21 = 0.42

Probability          =    0.42

Probability I will earn a free crepe in 3 week ( from M3 ) = P(3)21 = 0.402

Probability          =   0.402

Probability I will earn a free crepe in 4 week ( from M4 ) = P(4)21 = 0.4155

Probability          =    0.4155


Related Solutions

Sweet Bakery sells pastries and cupcakes. Usually, for every three pastries they sell one cupcake (which...
Sweet Bakery sells pastries and cupcakes. Usually, for every three pastries they sell one cupcake (which means, pastries : cupcake = 3:1). Each pastry has an BDT80 contribution margin, and each cupcake has a BDT60 contribution margin. Sweet Bakery’s fixed costs are BDT180,000 per month. The selling prices of pastries and cupcakes, respectively, are BDT300 and BDT150. The business is subjected to a 40 percent income tax rate. 1. How much revenue is needed to earn a pre-tax profit of...
Write in java Let's assume I go a restaurant, List of meals such as breakfast and...
Write in java Let's assume I go a restaurant, List of meals such as breakfast and lunch and dinner is displayed to me I can pick breakfast, lunch, and dinner after I pick any of the breakfast lunch and dinner, a list of food/prices offered for breakfast is shown so I will see the breakfast menu such an egg, milk and their prices, after that I pick milk. then I am asked to two more sides from the menu which...
Sweet Corporation is in the dairy business. Products go through two production departments (A first, then...
Sweet Corporation is in the dairy business. Products go through two production departments (A first, then B). Data from those departments for October 2020 are presented below. Complete the four steps necessary to prepare a production cost report. Department A Department B Beginning work in process Beginning work in process Number of units 1,000 200 % complete for materials 100% % complete for transferred-in 100% % complete for conversion 60% 30% Total materials cost $24,000 -0- Total conversion cost $30,000...
Alice, Bob, and Chuck are three students who go out for coffee every day. But every...
Alice, Bob, and Chuck are three students who go out for coffee every day. But every day, they randomly determine who pays for the three coffee. If Alice pays for the coffee today, then there is a 25% chance she will also pay tomorrow, a 50% chance Bob will pay tomorrow, and 25% chance Chuck will pay tomorrow. If Bob pays today, there is a 50% chance Alice will pay tomorrow, and 50% chance Chuck will pay tomorrow. If Chuck...
Last weekend I tried to water ski for the first time in my life. I ended...
Last weekend I tried to water ski for the first time in my life. I ended up with a sprained lower back? What organ systems have suffered damage? [with citations ] A patient comes into the hospital complaining of severe pain in the right side of her abdomen. A nurse palpates her right region and notes the location of the pain on the chart as  being the RLQ. What possible organs could be the source of the pain? [with citation] You...
Dean takes his boat out fishing every weekend. His current boat is still in okay condition,...
Dean takes his boat out fishing every weekend. His current boat is still in okay condition, but he decides he’d like to buy a new one. He finds the boat of his dreams for $20,950. He does some research and finds that his credit union will give him a 5-year loan with an APR of 4.25% if he makes a down payment of 18%. What is the amount of Dean’s down-payment?    What is the loan amount that Dean will be...
Dean takes his boat out fishing every weekend. His current boat is still in okay condition,...
Dean takes his boat out fishing every weekend. His current boat is still in okay condition, but he decides he’d like to buy a new one. He finds the boat of his dreams for $20,950. He does some research and finds that his credit union will give him a 5-year loan with an APR of 4.25% if he makes a down payment of 18%. What is the amount of Dean’s down-payment?    What is the loan amount that Dean will be...
Suppose a miniature golf player sinks a hole-in-one once for every game (10 holes) out of...
Suppose a miniature golf player sinks a hole-in-one once for every game (10 holes) out of 18 attempts at the game. Part A: Design a simulation. 1. Design and conduct a simulation to estimate the likelihood that the golfer will sink at least two holes-in-one during a single game. Be sure to show all work for the five steps of simulation. Part B: Apply your findings. Using your findings from part A, answer the following questions: 1. What is the...
So I was looking out the sky one day and I wondered how I would go...
So I was looking out the sky one day and I wondered how I would go about calculating how much water was contained in a cloud. I figured the following simple outline 1) We need to roughly know how big it is. We'll also be figuring out how high the cloud is. Use some sort of geometric method? Triangles? 2) We need to relate its color to its density. (Darker clouds more dense) (White fluffy clouds less dense) 3) Correction...
When it comes to failure, I have a mixture of emotions. Usually depression is the first...
When it comes to failure, I have a mixture of emotions. Usually depression is the first to rear its ugly head. After the initial reaction, I become angry at myself. I am my own worst critic. I often times allow things and thoughts to interfere with my focus. I find it hard to shut out these thoughts, however, I tend to dwell on the negative things. Upon my initial failure, I tend to blame the things I believe got in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT