Size a Payout Partner Prefund Balance Under Uncertain Demand

Last updated: November 29, 2026

Quick Overview

Remitly must prefund a payout partner's account each morning to cover the day's payouts. Given a distribution for daily demand, the cost of idle capital and the cost of running short, find the balance that minimizes expected cost.

Remitly
Statistics & Math
Data Scientist
Remitly
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

0

0 solved


Remitly must prefund a payout partner's account each morning to cover the day's payouts. Given a distribution for daily demand, the cost of idle capital and the cost of running short, find the balance that minimizes expected cost.

Treasury teams at remittance companies hold cash at partners in destination countries so payouts are instant. Too little delays transfers and breaks delivery promises; too much ties up capital. The interviewer checks that you recognize a newsvendor problem, derive the critical ratio and question the distributional assumptions.

What the Interviewer Expects
  • Frames the decision as a newsvendor problem
  • Defines underage and overage costs per dollar clearly
  • Derives the critical ratio and the optimal quantile
  • Computes a numeric answer under a normal assumption
  • Questions normality, seasonality and intraday top-up options
Key Topics to Cover
Newsvendor model
Quantiles
Normal distribution
Cost asymmetry
Forecasting
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • Payday Fridays have double the demand. How does the model change?
  • If you can top up once at noon, how does that change the morning balance?
  • How would you estimate the shortfall cost from data?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Demand DD is the day's payout volume through the partner. Prefund amount QQ is set once in the morning. Each unused dollar costs overnight capital cost coc_o; each dollar short costs cuc_u (delayed ...

Approach

Expected cost C(Q)=coE[(Q−D)+]+cuE[(D−Q)+]C(Q) = c_o E[(Q-D)^+] + c_u E[(D-Q)^+]. Differentiating: C′(Q)=coF(Q)−cu(1−F(Q))=0C'(Q) = c_o F(Q) - c_u (1 - F(Q)) = 0, giving F(Q∗)=cucu+coF(Q^*) = \frac{c_u}{c_u + c_o}....


Submit Your Answer
Markdown supported

Related Questions