PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/DRW

Analyze distribution of a 3-dice product

Last updated: Mar 29, 2026

Quick Overview

This question evaluates probability and statistical inference skills including computation of expectation, properties of discrete order statistics (population median and mode), sampling variability and confidence-interval construction, and practical market-making reasoning about bid–ask quoting and P&L; it is categorized in Statistics & Math with emphasis on probability, order statistics, estimation, and basic market microstructure. It is commonly asked to assess quantitative reasoning about discrete distributional behavior, robustness to skew and sampling effects, and the ability to apply conceptual distributional understanding to practical estimation and interactive pricing tasks, combining conceptual understanding with practical application.

  • easy
  • DRW
  • Statistics & Math
  • Data Scientist

Analyze distribution of a 3-dice product

Company: DRW

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Take-home Project

You roll three independent fair 10-sided dice. Each die shows an integer in \(\{0,1,\dots,9\}\) with equal probability. Let the outcomes be \(X,Y,Z\), and define the product \(P = XYZ\). 1) **Mean**: Compute \(\mathbb{E}[P]\). 2) **Median inference**: - (a) Find the **population median** of \(P\) (i.e., the smallest \(m\) such that \(\Pr(P\le m)\ge 0.5\)). - (b) Suppose you roll the three dice \(n\) times i.i.d. and compute the **sample median** \(\tilde P\). Describe how you would construct an **approximate 90% confidence interval** for the *population median* using \(\tilde P\). (A rough numerical interval is OK if you make clear what \(n\) you are assuming.) 3) **Mode and skew**: - (a) What is the **mode** of \(P\)? - (b) How does the mode/skewness inform how you would place or adjust the interval from (2b)? 4) **Market-making (interactive)**: You must quote a **bid/ask market of width 5** for the (unknown-to-the-interviewer) population median \(m\) of \(P\): you quote a bid \(b\) and ask \(a\) with \(a-b=5\). The interviewer may trade 1 unit each round: - If they **buy**, you sell 1 unit at price \(a\) (you become short). - If they **sell**, you buy 1 unit at price \(b\) (you become long). After 4 rounds, the position is settled at the true median \(m\) (cash-settled), so P&L for each unit is (sell price \(-m\)) if you sold, or (\(m\)-buy price) if you bought. - (a) Propose an initial market \([b,a]\). - (b) Explain how you would update \([b,a]\) after each trade to incorporate the information revealed. - (c) Show how to compute the resulting P&L given any sequence of 4 buys/sells.

Quick Answer: This question evaluates probability and statistical inference skills including computation of expectation, properties of discrete order statistics (population median and mode), sampling variability and confidence-interval construction, and practical market-making reasoning about bid–ask quoting and P&L; it is categorized in Statistics & Math with emphasis on probability, order statistics, estimation, and basic market microstructure. It is commonly asked to assess quantitative reasoning about discrete distributional behavior, robustness to skew and sampling effects, and the ability to apply conceptual distributional understanding to practical estimation and interactive pricing tasks, combining conceptual understanding with practical application.

Related Interview Questions

  • Compute expected arc length on a circle - DRW (easy)
  • Differentiate sample vs population standard deviation - DRW (medium)
  • Solve Markov and distribution expectation problems - DRW (medium)
  • Compute Markov steady state and expectations - DRW (medium)
  • Derive eigenvalues and sum for inverse matrix - DRW (easy)
DRW logo
DRW
Nov 22, 2025, 12:00 AM
Data Scientist
Take-home Project
Statistics & Math
4
0
Loading...

You roll three independent fair 10-sided dice. Each die shows an integer in {0,1,…,9}\{0,1,\dots,9\}{0,1,…,9} with equal probability. Let the outcomes be X,Y,ZX,Y,ZX,Y,Z, and define the product P=XYZP = XYZP=XYZ.

  1. Mean : Compute E[P]\mathbb{E}[P]E[P] .
  2. Median inference :
    • (a) Find the population median of PPP (i.e., the smallest mmm such that Pr⁡(P≤m)≥0.5\Pr(P\le m)\ge 0.5Pr(P≤m)≥0.5 ).
    • (b) Suppose you roll the three dice nnn times i.i.d. and compute the sample median P~\tilde PP~ . Describe how you would construct an approximate 90% confidence interval for the population median using P~\tilde PP~ . (A rough numerical interval is OK if you make clear what nnn you are assuming.)
  3. Mode and skew :
    • (a) What is the mode of PPP ?
    • (b) How does the mode/skewness inform how you would place or adjust the interval from (2b)?
  4. Market-making (interactive) : You must quote a bid/ask market of width 5 for the (unknown-to-the-interviewer) population median mmm of PPP : you quote a bid bbb and ask aaa with a−b=5a-b=5a−b=5 . The interviewer may trade 1 unit each round:
    • If they buy , you sell 1 unit at price aaa (you become short).
    • If they sell , you buy 1 unit at price bbb (you become long).
    After 4 rounds, the position is settled at the true median mmm (cash-settled), so P&L for each unit is (sell price −m-m−m ) if you sold, or ( mmm -buy price) if you bought.
    • (a) Propose an initial market [b,a][b,a][b,a] .
    • (b) Explain how you would update [b,a][b,a][b,a] after each trade to incorporate the information revealed.
    • (c) Show how to compute the resulting P&L given any sequence of 4 buys/sells.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More DRW•More Data Scientist•DRW Data Scientist•DRW Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.