1. Math
  2. Statistics And Probability
  3. please read all three pictures to get full understanding no...

Question: please read all three pictures to get full understanding no...

Question details
Please read all three pictures to get full understanding, no need to complete Monte Carlo simulation. Just numerically price expectation:

Interview question (JP Morgan) You have 10 blue balls and 8 red balls, lined up in a queue. What is the expected number of balls that have a neighbor of a different color?
Hint: for each slot in the queue, define an indicator random variable. Apply the rule of total conditional expectation to evaluate the expectation of each indicator. Note that different indicators might need to be treated differently based on where their slot is in the queue. If possible, run a Monte Carlo simulation to verify your answer
l received a few queries about Problem 1 of HW07. I like to give you a bit more hint and clarification. Let X denote the number of balls that have a neighbor of a diferent color, and i denote a slot index ranging from 1 to 18 1. If slot i has two neighbors, then the indicator of slot i retuns 0 only when the balls in the 3 slots (1-1, i, i+1) all have the same color 2. The range for, X is from 2 (inclusive) to 18 (inclusive) 3. The answer EpX is higher than 10
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution