The D. E. Shaw Group Interview Questions 2026

100 Questions Unlock all questions ↓
Filter
Topic area
Difficulty

Filters apply to the free questions below.

Practice Bank

The D. E. Shaw Group Quant Interview Practice

↗

Two outdoor theatre performances are planned for the same afternoon. Before the day begins, the weather is either calm (60% probability) or stormy (40%). Given calm weather, each performance runs with probability 90%; given stormy weather, each runs with probability 30%. Once the day's weather category is fixed, the two performances' remaining operational outcomes are independent.

What is the probability that both performances go ahead? What is the chance that either particular performance runs? Are the two run-or-cancel indicators independent before the weather is known? A planner wants to multiply the two headline success probabilities; show precisely what that calculation gets wrong.

Hint 1

Separate the calm and stormy possibilities first. You may multiply the two performance probabilities only after conditioning on weather.

Calculate \(\Pr(A\cap B)=\sum_w\Pr(w)\Pr(A\mid w)\Pr(B\mid w)\) and compare it with \(\Pr(A)\Pr(B)\).

Let \(A\) and \(B\) mean that the respective performances run, and let \(W\) denote the shared weather condition. Conditioning on the common cause and using the stipulated conditional independence,

\(\Pr(A\cap B)=0.6(0.9)(0.9)+0.4(0.3)(0.3)=0.486+0.036=\boxed{0.522}\).

Either performance separately runs with probability \(\Pr(A)=\Pr(B)=0.6(0.9)+0.4(0.3)=0.54+0.12=\boxed{0.66}\). If they were independent without conditioning, the joint probability would be \(0.66^2=0.4356\), which is not \(0.522\); the difference, \(0.0864\), is their covariance as binary indicators. Shared good-weather days boost both events simultaneously, while shared bad-weather days suppress both.

As a full-table check, the probabilities of (both run, only A runs, only B runs, neither runs) are \((0.522,0.138,0.138,0.202)\). They are nonnegative, sum to one, and each performance's marginal success probability is \(0.522+0.138=0.66\). Conditional independence within weather categories does not imply unconditional independence after mixing over weather.

Assumptions

  • The two performances experience the same weather category; their operational outcomes are independent given that category.

  • The reported run probabilities apply identically to both performances within each weather category.

Final Answer

Each performance runs with probability 0.66; both run with probability 0.522, not \(0.66^2=0.4356\). The indicators are unconditionally dependent.

Probability foundations
↗

An audit database holds 20 records, of which 8 have a red compliance flag. An auditor draws 7 records uniformly without replacement and seals them in a bundle. A second auditor then chooses 3 of those 7 uniformly at random to open. Exactly 2 of the 3 opened records are red.

The remaining 4 records in the bundle stay sealed. Conditional on what was revealed, what is the probability that at least two of those four sealed records are red? Show why the first draw of seven and the later random disclosure cannot be treated as seven independent draws with replacement.

Hint 1

Once the three opened records are known to contain two red and one unflagged record, how many red and unflagged records remain among the seventeen unopened records in the original database?

By exchangeability, the four still-sealed bundle positions form a uniform four-record selection from those seventeen. Use a hypergeometric count for two, three or four red flags.

A uniform seven-record bundle followed by a uniform selection of three bundle members to open is equivalent to first choosing an ordered three-record opened subset and then choosing four more sealed records from the remaining population, uniformly without replacement. More formally, every pair of disjoint subsets of sizes three and four has the same probability under the two-stage sampling rule. Conditioning on the opened subset's colour count preserves exchangeability among the other seventeen records.

The three opened records contain two red and one non-red. Therefore the unobserved population now contains \(8-2=6\) red and \(12-1=11\) non-red records, a total of 17. If \(K\) is the red count among the four sealed records, then

\[\Pr(K=k\mid\text{opened: 2 red})=\frac{\binom6k\binom{11}{4-k}}{\binom{17}4},\quad 0\le k\le4.\]

For the requested event, the numerator is

\[\binom62\binom{11}2+\binom63\binom{11}1+\binom64\binom{11}0=15(55)+20(11)+15=1060.\]

There are \(\binom{17}4=2380\) equally likely sealed subsets. Hence

\[\Pr(K\ge2\mid\text{opened: 2 red})=\frac{1060}{2380}=\boxed{\frac{53}{119}}.\]

The complementary check counts zero red, \(\binom{11}4=330\), and one red, \(\binom61\binom{11}3=6(165)=990\); \(2380-(330+990)=1060\). Independence would be false: after opening a red record, the chance that another of the finite remaining records is red changes. The event concerns the four sealed bundle records, not all seventeen unopened database records.

Assumptions

  • The first seven-record bundle is uniformly sampled without replacement from the known population.

  • The three disclosure records are uniformly sampled from that bundle independently of their unseen flags.

  • Only the red-count (2) among the three opened records is conditioned on; no selection or disclosure depends on flags.

Final Answer

\(\frac{53}{119}\), approximately 44.54%.

Conditional probability
↗

The number of envelopes arriving at a mailroom in an hour is Poisson with mean 8. After all arrivals, each envelope is independently labelled for Department X with probability 1/4 (and otherwise sent elsewhere). Labels are independent of the total arrival count.

What is the probability that Department X receives no envelopes in an hour? More generally, what is the distribution of the number X sent to that department? Show why a fixed 8-envelope binomial model is not the right one.

Hint 1

Condition first on the random total \(N=n\). Given \(N\), the number labelled \(X\) is \(\operatorname{Binomial}(n,\frac14)\).

Sum the conditional probability across N~Poisson(8). You can also use the Poisson thinning identity, but show its justification.

Let \(N\sim\operatorname{Poisson}(8)\) be the total count. Conditional on \(N=n\), \(X\) is \(\operatorname{Binomial}(n,p)\) with \(p=\frac14\) because each of the n independently sampled envelopes is labelled for X with that probability.

For any nonnegative integer k, mixing over the Poisson total gives

\[\begin{aligned}P(X=k)&=\sum_{n=k}^{\infty}[e^{-8}8^n/n!]\cdot C(n,k)p^k(1-p)^{n-k}\\&=e^{-8}(8p)^k/k!\cdot\sum_{m=0}^{\infty}[8(1-p)]^m/m!\\&=e^{-8}e^{[8(1-p)]}(8p)^k/k!\\&=\mathbf{e^{-2}2^k/k!}.\end{aligned}\]

Thus \(X\sim\operatorname{Poisson}(8p)=\) \(\operatorname{Poisson}(2)\) and the zero-count probability is \(e^{-2}\approx0.135335\). For a quick independent check,

\(\Pr(X=0)=\mathbb E[(\frac34)^N]=e^{8((\frac34)-1)}=e^{-2}\).

A \(\operatorname{Binomial}(8,\frac14)\) distribution would incorrectly treat the mean arrival count of 8 as a fixed count of exactly 8 envelopes. The total itself is random, so its thinning produces a Poisson distribution instead.

Assumptions

  • The total number of arrivals in one hour follows Poisson(8).

  • Each arrival receives an independent \(\operatorname{Bernoulli}(\frac14)\) Department X label after the total has been realized.

  • Arrival counts and label probabilities are stationary for the hour.

Final Answer

\(X\sim\operatorname{Poisson}(2)\); \(\Pr(X=0)=e^{-2}\approx0.135335\).

Distributions, moments and tails
↗

A laboratory wants to estimate how many seed packets are contaminated. It tests 40 disjoint pools of four packets each. A pool is reported positive if at least one of its four packets is contaminated; the assay has no false positives or false negatives. Each packet is contaminated independently with the same unknown probability \(p\). Exactly 15 pools test positive, but the laboratory does not know which packets within them were contaminated.

Find the maximum-likelihood estimate of \(p\). Explain why \(\frac{15}{40}\) is not the estimated packet contamination rate. What estimates result if none of the pools, or all of them, test positive?

Hint 1

A pool is negative only if all four members are clean; translate p into a positive-pool probability \(\theta\).

The observed number of positive pools has a binomial likelihood in \(\theta\). Find its MLE and invert the map \(\theta=1-(1-p)^{4}\).

A packet is clean with probability \(1-p\). Because packet contamination events are independent and pools do not overlap, a four-packet pool is negative with probability \((1-p)^{4}\) and positive with probability \(\theta(p)=1-(1-p)^{4}\). The number Y of positive pools is therefore \(\operatorname{Binomial}(40,\theta(p))\). For the observed \(Y=15\), its likelihood, up to the binomial coefficient, is \(L(p)=[1-(1-p)^{4}]^{15}[(1-p)^{4}]^{25}\).

The binomial likelihood in θ is maximised at \(\hat\theta=\frac{15}{40}=\frac{3}{8}\). The function \(\theta(p)\) is strictly increasing on \(0\le p\le1\), so the corresponding MLE of p solves \((1-p)^{4}=1-\frac{3}{8}=\frac{5}{8}\). Therefore \(\hat p=1-\left(\frac{5}{8}\right)^{1/4}\approx0.1108603\). The fraction \(\frac{15}{40}\) estimates the probability a four-packet union test is positive, not the probability an individual packet is positive; positive pools can contain one, two, three or four contaminated packets.

If \(Y=0\), the likelihood is \((1-p)^{160}\), which is maximised at \(p=0\). If \(Y=40\), the likelihood is \([1-(1-p)^{4}]^{40}\), maximised at \(p=1\). These are legitimate boundary maximum-likelihood estimates, not evidence that the underlying rate has been proved exactly zero or one.

Assumptions

  • The 160 packets are independent Bernoulli(p) items and are divided into 40 nonoverlapping four-packet pools.

  • The assay is perfect and detects the presence of at least one contaminated member, never the count.

  • All packets share the same unknown \(p\) in \([0,1]\).

Final Answer

\(\hat p=1-\left(\frac{25}{40}\right)^{1/4}=1-\left(\frac{5}{8}\right)^{1/4}\approx0.11086\) (11.09%). With 0 positive pools \(\hat p=0\); with all 40 positive \(\hat p=1\).

Estimation and likelihood
↗

A rail operator times the same 25 drivers on matched routes before and after a scheduling change. Define each driver's saving as \(D=\text{before time}-\text{after time}\); a positive D means the new schedule is faster. The observed mean saving is 2 minutes.

The operator knows that across independently sampled drivers the before and after times form a bivariate normal pair, with variance 36 min² before, variance 25 min² after, and covariance 24 min² within each pair. These population variance values are treated as known.

Test \(H_0\): the mean saving is zero against \(H_1\): it is positive, using a one-sided 5% test. Give the correct paired standard error, z-statistic and p-value. What would happen if an analyst incorrectly treated the two sets of 25 times as independent?

Hint 1

Find \(\operatorname{Var}(\text{before}-\text{after})\), remembering the covariance term. The 25 differences are independent across drivers.

Use \(\operatorname{Var}(D)=\operatorname{Var}(\text{before})+\operatorname{Var}(\text{after})-2\operatorname{Cov}(\text{before},\text{after})\), then divide by 25 for the mean; repeat with covariance incorrectly set to zero to see the impact.

Let \(X_i\) and \(Y_i\) be a given driver's before and after durations. Define \(D_i=X_i-Y_i\). For one driver,

\[\operatorname{Var}(D_i)=\operatorname{Var}(X_i)+\operatorname{Var}(Y_i)-2\operatorname{Cov}(X_i,Y_i)=36+25-2\times24=13\] min².

The 25 matched pairs are independent, so \(\operatorname{Var}(\bar D)=\frac{13}{25}\) min² and \(\operatorname{SE}(\bar D)=\frac{\sqrt{13}}5\approx0.72111\) minutes. Under \(H_0\) the normally distributed standardized statistic is

\[Z=\frac{\bar D-0}{\sqrt{13}/5}=\frac{2\times5}{\sqrt{13}}=\frac{10}{\sqrt{13}}\approx2.77350\].

The one-sided p-value is \(1-\Phi\left(\frac{10}{\sqrt{13}}\right)\approx0.002773\), below 0.05. Thus the observed mean saving is statistically significant under the stated normal model and known covariance.

If the analyst falsely discarded pairing, the variance assigned to the difference of two sample means would be \(\frac{36}{25}+\frac{25}{25}=\frac{61}{25}\); the resulting standard error would be \(\frac{\sqrt{61}}5\approx1.56205\) minutes. That gives \(Z_{\mathrm{wrong}}=\frac{10}{\sqrt{61}}\approx1.28037\) and one-sided \(p\approx0.10021\), failing the same 5% test. This does not mean the actual measurements became less precise: the unpaired calculation simply neglects genuine positive covariance.

For an algebraic cross-check, write \(X_i=\mu_{\mathrm{before}}+U_i+e_i\) and \(Y_i=\mu_{\mathrm{after}}+U_i+f_i\) with mutually independent centered random terms having variances \(\operatorname{Var}(U_i)=24\), \(\operatorname{Var}(e_i)=12\), \(\operatorname{Var}(f_i)=1\). Then \(\operatorname{Var}(X_i)=36\), \(\operatorname{Var}(Y_i)=25\) and \(\operatorname{Cov}(X_i,Y_i)=24\), while \(D_i=\mu_{\mathrm{before}}-\mu_{\mathrm{after}}+e_i-f_i\) has variance 12+1=13. The shared driver effect \(U_i\) cancels exactly, as pairing is intended to exploit. This representation is an equivalent covariance model, not additional observed data.

Assumptions

  • The 25 before-after pairs are independent across drivers, and each pair has the stated joint normal distribution.

  • The population variance and covariance parameters are known, so a normal z-test rather than an estimated-variance t-test is stipulated.

  • The hypothesis concerns the mean of before-minus-after savings, not two independently sampled driver populations.

Final Answer

Paired \(\operatorname{SE}=\frac{\sqrt{13}}5\approx0.72111\) min, \(z=\frac{10}{\sqrt{13}}\approx2.77350\), one-sided \(p\approx0.00277\): reject \(H_0\). Incorrect independent \(\operatorname{SE}=\frac{\sqrt{61}}5\approx1.56205\), \(z=\frac{10}{\sqrt{61}}\approx1.28037\), \(p\approx0.10021\): do not reject.

Statistical inference and testing
↗

A logistics analyst fits an ordinary least-squares model to road trips, predicting litres of fuel \(L\) from distance \(x\) measured in kilometres:
\[\widehat L=6+0.10x.\]
The fitted slope has standard error 0.02 litres per kilometre, and the residual root-mean-square size is 2 litres.

The same trips are exported to a second report. Its distance variable \(m=(x-16)/1.6\) measures miles past a checkpoint 16 km from the depot; its fuel variable \(g=(L-4)/4\) measures gallons above a fixed 4-litre priming allowance. Use the report's rounded conventions of \(1\,\mathrm{mile}=1.6\,\mathrm{km}\) and \(1\,\mathrm{gallon}=4\,\mathrm{litres}\).

Without refitting the observations, give the converted regression line, the slope's standard error and the residual size. What fuel reading does the new line predict at \(m=32\), and has the statistical evidence for a nonzero slope changed?

Hint 1

Express the old distance and fuel variables in terms of the new ones before substituting into the original line.

Use \(x=16+1.6m\) and \(g=(L-4)/4\). The slope and its standard error multiply by the same factor, \(1.6/4\); residuals multiply by \(1/4\).

Changing units cannot change the fitted values for the underlying trips; it changes only their coordinates. Here \(x=16+1.6m\) and \(g=(L-4)/4\). Substitute the original fitted line into the new response:
\[ \widehat g=\frac{\widehat L-4}{4} =\frac{6+0.10(16+1.6m)-4}{4} =\frac{3.6+0.16m}{4} =\boxed{0.90+0.04m}. \]
The slope transforms as \(\widehat\beta_g=(1.6/4)\widehat\beta_L\), so its standard error is scaled by the same positive factor: \(0.02(1.6/4)=\boxed{0.008}\) gallons/mile. The response residual is \(e_g=e_L/4\) for each trip, giving residual RMS \(2/4=\boxed{0.5}\) gallons. Because both slope and slope standard error are multiplied by 0.4, the nonzero-slope test statistic is unchanged:
\[ t_g=\frac{0.04}{0.008}=5=\frac{0.10}{0.02}=t_L. \]
At \(m=32\), \(\widehat g=0.90+0.04(32)=\boxed{2.18}\) gallons above the allowance. Equivalently, \(x=16+1.6(32)=67.2\) km, so \(\widehat L=6+0.1(67.2)=12.72\) L and \((12.72-4)/4=2.18\).

More generally, if \(x'=a+bx\) and \(y'=c+dy\) with nonzero \(b,d\), least squares is equivariant: predictions, coefficient estimates and their standard errors transform by algebraic substitution, squared residuals scale by \(d^2\), and \(R^2\) and absolute slope \(t\)-statistics stay the same. A shifted predictor changes the intercept's uncertainty through intercept–slope covariance, so one cannot obtain a new intercept standard error from the supplied slope SE alone. The smaller-looking numerical slope is not evidence of a weaker relationship.

Assumptions

  • The two reports use identical observations and an ordinary intercept-plus-slope OLS fit.

  • The exercise uses the stated rounded conversion factors as exact within the model.

  • Root-mean-square residual size refers to the same residual divisor in both reports.

Final Answer

Converted line: \(\hat g=0.90+0.04m\); slope SE 0.008 gallons/mile; residual RMS 0.5 gallons. At \(m=32\), \(\hat g=2.18\) gallons above allowance. The slope t-ratio remains 5.

Regression and predictive modelling
↗

A booking platform has six appointment slots and eight users. All eight want exactly one appointment, and every booking uses one slot. Normally, when everyone has equal priority, six users are chosen uniformly at random and the other two get no appointment.

In a trial, the platform randomly assigns four users to a “priority” treatment and leaves four as controls. The four priority users are served first, each getting an appointment; the two remaining slots are assigned uniformly among the four controls. All users learn whether they got an appointment, and one user's booking necessarily removes a slot available to others.

Compute the trial's treated-minus-control booking-rate difference. Compare it with the change in the average booking rate if the platform rolls out priority access to all eight users, with equal priority ties settled by a uniform lottery. How much of the observed trial difference comes from displacing controls rather than creating additional appointments?

Hint 1

In the trial, priority decides which users fill the fixed six slots. It does not change the number of available slots.

Calculate each group's booking rate from the allocation rule. Then compare both to the 6/8 chance under a single eight-way lottery, both before the trial and if all users have priority.

In the trial, four treated users take four slots, so a treated user books with probability 1. The remaining two slots are allocated among four controls, so a control books with probability \(2/4=1/2\). The standard individual randomized contrast is
\[ E[Y\mid T=1]-E[Y\mid T=0]=1-\tfrac12=\boxed{\tfrac12}. \]
But the platform always books six of eight people. With no priority treatment, symmetry gives every user booking probability \(6/8=3/4\), so the average rate is 3/4. If everyone receives priority, everyone again ties and six are selected uniformly; the average remains 3/4. The all-users rollout effect on booking rate is \(3/4-3/4=\boxed0\), and the total appointment count remains six.

Relative to an equal-priority baseline, priority recipients in the mixed trial gain \(1-3/4=+1/4\) booking probability each, while controls lose \(1/2-3/4=-1/4\) each. The contrast \(+1/4-(-1/4)=1/2\) includes both a treated advantage and a displaced-control disadvantage. Their effects cancel in aggregate because there are four users of each type and capacity is conserved:
\[ 4(1)+4(1/2)=6=8(3/4). \]
The trial's individual treated-control contrast is therefore not the effect of a universal rollout. The potential outcome for a user depends on how many other users receive priority, violating the usual no-interference assumption.

Assumptions

  • Every user requests exactly one appointment; there are exactly six slots in all regimes.

  • The treated group of four is selected uniformly at random; equal-priority ties are resolved uniformly.

  • Priority affects allocation order, not the total number of slots or demand.

Final Answer

Trial contrast 0.5 (treated 100%, control 50%). Universal rollout changes the overall booking rate by 0, leaving it at \(6/8=75\%\). Relative to equal-priority baseline, treatment raises each treated user's chance by 0.25 and lowers each control's by 0.25.

Research design and model validation
8

Two ceramic workshops have one electricity meter. Workshop A uses 70 kWh in a month and workshop B uses 50 kWh. The supplier charges a $18 monthly standing…

Unlock the rest

Keep practising with 93 more questions, available hints and full worked solutions.

Explore Premium

Join our Newsletter and Receive the Latest Updates!

Main Links

Trade Courses Assessments Interview Prep Contact Us

Social Media

Facebook Instagram YouTube

Legal

Terms and Conditions Privacy Policy Privacy settings

Talent Acquisition

Looking to hire exceptional quant talent?
See how we can help.

© 2026 EverythingQuant. All Rights Reserved.