KatInterview

Four Quick Probability Drills: Decay, Regression, Doors, Dice

Statistics & ExperimentsModel answer
EasyModel answerStatistics & Experimentsprobabilitybinomialols-regression

Last updated

Answer four short probability and statistics questions: surviving atoms after repeated halvings, two population regression slopes, a three-door game show, and rolls needed to see every die face.

Work through the four short problems below. Show your reasoning, state any assumptions, and give a final answer for each.

Part 1: Unstable particles

Each particle has a half-life of 1 day. Particles behave independently, and each particle's lifetime follows an exponential distribution. You begin with n = 100 particles and wait m = 10 days.

  1. What is the distribution of the number of particles still intact at the end?
  2. Find the expected number of survivors, and the probability that at least one particle survives.
  3. Write a simulation that takes m (days) and n (particle count) and returns a list giving each particle's final state (1 = intact, 0 = decayed).

Part 2: Regression slopes in the population

Let x ~ N(0, 1) and e ~ N(0, 1) be independent, and define y = x + e.

Find the population least-squares intercept and slope for:

  • Model A: regress y on x.
  • Model B: regress x on y.

Comment on how the two slopes relate to each other.

Part 3: Three-door game

There are three doors: one hides a prize, two hide goats. You choose a door. The host, who knows what is behind every door, opens a different door that reveals a goat, then lets you switch to the remaining closed door.

What is your winning probability if you switch, and if you stay? Justify briefly.

Part 4: Seeing every face

A fair die with n faces is rolled repeatedly. What is the expected number of rolls until every face has appeared at least once? Give the general formula and the value for n = 6.

Hints

Hint 1

For Part 1, first compute the probability that a single particle outlives m days using the exponential survival function with rate ln 2. Independence with equal probabilities points to a standard named distribution.

Hint 2

For Part 2, the population slope of u on v is Cov(u, v) / Var(v). Compute Var(y) using independence, and notice the two slopes are not reciprocals of one another.

Hint 3

For Part 3, ask when switching wins in terms of your first pick. For Part 4, split the process into stages by how many distinct faces you have already seen; each stage is a geometric waiting time, and expectations add.