SStatistics, Built

Stage IV · PhD Core

Part 55 of 65

The Qualifying Exam

PhDstarts at this level53 min of film8 chaptersprerequisites: Part 49, Part 52, Part 53, Part 54

Can you prove the core of a statistics PhD, twelve problems in six hours?

The part adds no new method. It opens with Hilbert's twenty-three problems in Paris in 1900, and then the letter on the desk the night before the qualifying exam: twelve problems drawing on Parts 43 to 54, and a correct answer without its proof earns nothing. The problems are set in six sittings, each posed on an exam card, paused, proved on screen and drawn as a proof map whose boxes name the part each move borrows from. Probability gives a Borel-Cantelli argument for exponential maxima and the walk stopped at +1, whose mean is 1 because the stopped walk is not uniformly integrable. Estimation gives a UMVUE strictly above the Cramer-Rao bound, a parameter with no unbiased estimator, and Blyth's method, which works in one dimension and fails in two. Testing gives the UMPU test of equal Poisson rates on Snow's Table IX and local power in the logistic model. The last three sittings prove a bracketing bound, the median's influence function on Newcomb's passage times, Fano's sparse rate, a matrix Bernstein ball for a covariance, the lasso's oracle inequality and a posterior contraction rate. Candidacy goes on the Transcript.

What you need. The whole PhD core, Parts 43 to 54; each problem names the part it draws on.

Hook
the night before
Mathematics
twelve classic qualifying-exam problems, solved on screen
Built
the PhD problem bank

What you will be able to do

Bachelor's

  • State in words what each of the twelve problems claims and which part of the core it comes from.

Master's

  • Check a proof's conclusion by computation: the stopped walk's mean at bounded times, the UMVUE's exact variance against the Cramer-Rao bound, the median's sampling variance against its influence function.

PhD

  • Prove each of the twelve problems unaided, showing every step, and draw its proof map.
  • Say for each proof where it stops working: optional stopping without uniform integrability, Blyth's method in two dimensions, bracketing for classes that are not Donsker.

Practice

  • Compute the exact conditional test and interval for a ratio of two Poisson rates and report its size, as on Snow's Table IX.
  • Report a median with a Wald interval from its influence function and say what the density plug-in assumes.

Contents

Each chapter has a home level. Choose a track to see what to read and watch: Bachelor's 7 min · Master's 7 min · PhD 53 min · Practice 7 min.

  1. 1Hilbert, 1900, and the night beforeBachelor's3 min
  2. 2I. Probability: Problems 1-2PhD8 min
  3. 3II. Estimation: Problems 3-4PhD6 min
  4. 4III. Testing and asymptotics: Problems 5-6PhD8 min
  5. 5IV. Empirical processes and efficiency: Problems 7-8PhD7 min
  6. 6V. Minimax and high-dimensional probability: Problems 9-10PhD8 min
  7. 7VI. The lasso and the posterior: Problems 11-12PhD9 min
  8. 8Candidacy, problems, and the road aheadAll tracks5 min

Also on this page: Lecture · Key results · Try it · Lab · Problems · Notes and sources · Build the film.

Lecture

The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film. A dashed box stands for a number the film computes when it is rendered (hover over it to see what is computed); the README's figures for each chapter, where it lists them, follow the chapter's text.

1Hilbert, 1900, and the night beforeBachelor's3 min

This part closes the PhD core, and like the comprehensive exam of Part forty-two, it introduces no new method. In August 1900, at the International Congress of Mathematicians in Paris, David Hilbert set out twenty-three problems that he hoped would shape the century's mathematics. The sixth concerned axiomatizing physics, including probability. Kolmogorov established the measure-theoretic probability framework in 1933, the starting point of Part forty-three; this did not settle the whole sixth problem. Hilbert's address opened with a sentence every doctoral student should know. As long as a branch of science offers an abundance of problems, so long is it alive.

It is the night before the qualifying exam. The letter on the desk says: your examination is tomorrow at nine. Twelve problems, six hours, drawing on the core, Parts forty-three to fifty-four. And the line that matters: show every step. At this level, a correct answer without its proof earns nothing. The exam asks whether you can prove things, which is what research will ask of you every day.

Each problem is posed on a card like this one. The clock is your time to try it: pause the video, prove it on paper, then watch the proof. The twelve problems: a Borel–Cantelli argument and optional stopping from probability; a UMVUE and Blyth's method from estimation; Neyman structure and local asymptotic normality from testing and asymptotics; a bracketing bound and an influence function from empirical processes and efficiency; Fano's inequality and matrix Bernstein from minimax theory and high-dimensional probability; and the lasso's oracle inequality and a posterior contraction rate. Statistical learning theory, Part fifty-four, appears inside several of them.

This part's instrument is the proof map. After each solution, the proof is drawn as a chain of moves, each box one step of the argument, and beneath it the part of the course whose tool it uses. Some proofs stay inside one part. Most do not: the lasso's oracle inequality needs Part fifty-one's Gaussian maxima, and the contraction rate needs Part fifty's tests. That is what a qualifying exam really tests: whether the tools you learned one at a time connect.

Two promises come due. The comprehensive exam of Part forty-two asked you to compute, fit and interpret, and assumed the methods were correct. This exam asks you to prove that they are. And the PhD core was taught one part at a time. Tomorrow's exam needs all twelve at once.

Sitting: Probability; Numbers: exceedances of c log n in 10⁶ draws: 0 (c = 2), 4, the last at n = 82,878 (1.2), 13 (1), 69 (0.8); M_n/log n 2.83 → 1.013; P(T ≤ 4,001) = 0.987, E[T ∧ 4,001] = 99.9; ruin with a = 3, b = 7: 0.3, E T = 21

2I. Probability: Problems 1-2PhD8 min

Sitting one: probability. Two problems, on Borel–Cantelli and on optional stopping. Problem one. Let X one, X two, and so on be independent exponential random variables with mean one, and let M n be the largest of the first n. Prove that M n divided by log n converges to one, almost surely. The hint: two Borel–Cantelli arguments, one for each side. Pause the video and try it.

The upper side first. The chance that X n exceeds c log n is e to the minus c log n: n to the minus c. For c above one these probabilities are summable, so by the first Borel–Cantelli lemma, only finitely many X n exceed c log n, almost surely. After the last exceedance, at some random N, the maximum is at most the larger of M N and c log n, so the limit superior of M n over log n is at most c. Take c equal to one plus one over k, for each k: a countable intersection of almost-sure events, so the limit superior is at most one.

The lower side. The maximum is at most c log n only if every one of the n variables is, and by independence that has probability one minus n to the minus c, to the n: at most e to the minus n to the one minus c. For c strictly between zero and one, these are summable too, so the first lemma applies again: eventually the maximum exceeds c log n. Letting c rise to one along a sequence, the limit inferior is at least one, and the two sides meet. Notice where independence was used: not at all for the upper bound, which holds for any exponential variables, dependent or not, but essentially for the lower one.

Here are the ratios X n over log n for the first ten thousand draws. Counting exceedances over a million draws: above two log n, none at all. Above one point two log n, , the last at n equal to : the last observed by this finite horizon. The first lemma does not identify the eventual last exceedance from this simulation. Above log n itself, , and above zero point eight log n, , still arriving: for c at most one the sum diverges, and by the second Borel–Cantelli lemma, which needs independence, there are infinitely many. The boundary between finitely and infinitely many is exactly where the series stops converging.

And the theorem itself: the running maximum divided by log n, on a logarithmic axis. It starts at and is at after a million draws. Convergence is slow, because M n minus log n does not shrink at all: it converges in distribution to the Gumbel law of Part forty-three. So the ratio's error is of order one over log n, which explains the crawl.

The proof, mapped. A tail bound for one n, summed over n, Borel–Cantelli to turn a finite sum into almost-sure eventual behaviour, and independence for the other side. Everything here is Part forty-three's.

Problem two. A simple random walk starts at zero and steps up or down by one with equal chances. Let T be the first time it reaches one. Show that T is finite almost surely, and yet the expected value of S at T is one, not zero. Which hypothesis of the optional stopping theorem fails? Then stop the walk instead at minus a or b, and find the probability of reaching b first, and the expected time. Pause and try it.

The walk stopped at T is still a martingale, so its mean at any fixed time n is zero. By the reflection principle, the chance that T exceeds two k minus one is two k choose k over four to the k, about one over the root of pi k: it tends to zero, so T is finite almost surely. At T the walk is at one, so the mean of S T is one. But it is the limit of means that are all zero: the limit and the expectation do not commute. Optional stopping needs a bounded time, or bounded increments with a finite expected time, or uniform integrability. Here the stopped walk is not uniformly integrable, and the expected time is infinite.

Five walks, chosen among those that did not reach one quickly; half of all walks stop at the first step. These took and steps, and had not arrived after four hundred. The hitting time is finite almost surely, but some go very far down first, and those rare, deep excursions carry exactly the missing mean.

The bookkeeping, computed exactly by dynamic programming. In green, the contribution of walks that have stopped: one times the chance of stopping by time m, by step four thousand. In red, the contribution of the walks still going: their mean position times their probability, . They cancel at every m. As m grows, the red mass shrinks in probability but not in mean: it is pushed further and further down, which is what failing uniform integrability looks like. And the expected stopping time, truncated at m, is already and grows like the root of m: E T is infinite.

Now stop at minus a or b instead. The stopped walk never leaves the interval, so it is bounded and uniformly integrable, and optional stopping applies. Zero equals the mean at T: b times p minus a times one minus p, so the chance of reaching b first is a over a plus b. At each bounded time, the squared stopped walk has expectation equal to the truncated stopping time. Bounded convergence on the squared position and monotone convergence on the time then give expected T equal to a times b, without assuming integrability in advance. With a equal to three and b to seven: a chance of three tenths, and twenty-one steps on average. Let a grow, and p tends to one while the expected time blows up: the first problem's walk is the limit, and that is exactly where the theorem stops applying.

The proof, mapped. A stopped martingale, the reflection principle for the hitting time, uniform integrability, the measure-theoretic condition of Part forty-three that decides whether a limit and an expectation commute, and the bounded case, where optional stopping gives the gambler's ruin and Wald's identity.

Sitting: Estimation; Numbers: n = 10, λ = 2: UMVUE variance 0.00406, CR bound 0.00366, MLE MSE 0.00460; Blyth's ratio at τ = 300: 0.0084 (d = 1), → 4π (d = 2)

3II. Estimation: Problems 3-4PhD6 min

Sitting two: estimation. A best unbiased estimator, one that cannot exist, and an admissibility proof.

Problem three. Given n independent Poisson counts with mean lambda, find the uniformly minimum-variance unbiased estimator of the chance of a zero, e to the minus lambda, and its variance. Compare it with the Cramér–Rao bound and with the maximum likelihood estimator. Then show that for a binomial count, no unbiased estimator of one over p exists at all. Pause and try it.

The total count T is sufficient, and complete, because the Poisson is a full-rank exponential family. Start from the crudest unbiased estimator, the indicator that the first count is zero, and Rao–Blackwellize it. Given T, the first count is binomial with T trials and chance one over n, so the conditional probability of a zero is one minus one over n, to the T. By Lehmann and Scheffé, an unbiased function of a complete sufficient statistic is the UMVUE. Its variance, from the Poisson generating function, is e to the minus two lambda times e to the lambda over n, minus one: strictly above the Cramér–Rao bound, lambda e to the minus two lambda over n, for positive lambda. Equality would require an affine function of the score; this exponential function of T does not have that form.

Each estimator's risk divided by the Cramér–Rao bound, for five observations. The UMVUE, in gold, sits above one for every lambda: the bound is not attained. The maximum likelihood estimator, e to the minus the sample mean, is biased. For lambda below about one its mean squared error is below the UMVUE's variance, and even below the bound, which constrains only unbiased estimators; for larger lambda it is worse, three times the bound by lambda five. With ten observations and lambda two: a variance of against a bound of , and an MLE error of . A simulation of two hundred thousand totals confirms the mean and the variance.

The second half. Whatever g is, its expectation under a binomial with n trials is a sum of n plus one terms, a polynomial in p of degree at most n. One over p goes to infinity as p goes to zero, and no polynomial does that on the open interval. So no unbiased estimator of one over p exists, and certainly no best one. Unbiasedness can also be absurd: from a single Poisson count, the only unbiased estimator of e to the minus two lambda is minus one to the X, which says a probability is minus one, as Part forty-five showed.

The proof, mapped. Completeness of the sufficient statistic, Rao–Blackwellization of a crude unbiased start, Lehmann–Scheffé for uniqueness, and a generating function for the exact variance.

Problem four. One observation from a normal with unknown mean theta and variance one, and squared error loss. Using the unnormalized normal priors with scale tau, prove that the estimator X itself is admissible: no other estimator does at least as well for every theta and strictly better for some. Then say where the same argument fails in two dimensions, and what is true there. Pause and try it.

Suppose some estimator delta prime dominates X. X has risk one everywhere, so delta prime's risk is at most one, and since a dominating estimator has bounded finite risk here, and its normal-location risk is continuous, it is below one minus epsilon on some interval. Under the prior with scale tau, the Bayes rule shrinks X by tau squared over one plus tau squared, and the gap between X's Bayes risk and the Bayes rule's, multiplied by the prior's total mass, is the root of two pi times tau over one plus tau squared. Delta prime's advantage over X, integrated against the prior, is at least epsilon times the prior's mass on the interval, and it can be no larger than the Bayes rule's advantage. As tau grows, the left side tends to epsilon times the interval's length, while the right side goes to zero. That is impossible, so X is admissible.

The quantity that must vanish, computed exactly, against the prior scale. In one dimension it falls like one over tau, to at tau three hundred: Blyth's argument goes through. In two it levels off at four pi. In three it grows without bound.

In two dimensions the same priors give a gap of two over one plus tau squared, but the prior's mass grows like two pi tau squared, so the product tends to four pi, not zero, and there is no contradiction. X is nevertheless admissible in the plane, as Charles Stein showed, and Lawrence Brown's 1971 theory explains why, with priors that are flatter than normal. In three or more dimensions it is inadmissible: the James–Stein estimator dominates it. Brown linked the boundary to the recurrence of Brownian motion in one and two dimensions and its transience in three. This Gaussian prior sequence gives a sufficient admissibility argument in one dimension, not a converse criterion: it works when you can find priors whose Bayes-risk gap vanishes faster than their mass grows.

The proof, mapped. Assume a dominating estimator and use continuity, compute Bayes rules for a sequence of flattening priors, show the Bayes-risk gap times the prior mass vanishes, and know the boundary: Stein's dimension three, where Part forty-four's Brownian motion stops returning home.

Sitting: Testing and asymptotics; Numbers: Snow: t = 1,361, expected 824, observed 1,263, z = 24.4, one-sided exact upper-tail P ≈ 10⁻¹⁶³, rate ratio 8.40 (6.84, 10.43); unrandomized size 0.0004 (λ = 1), 0.022 (5), 0.040 (50); local power at h = 3: 0.535, 0.504, 0.442 (simulated 0.526, 0.505, 0.434)

4III. Testing and asymptotics: Problems 5-6PhD8 min

Sitting three: testing and asymptotics. Neyman structure on John Snow's data, and local power.

Problem five. In the first seven weeks of the 1854 epidemic, John Snow counted cholera deaths among houses supplied with water by the Southwark and Vauxhall company, which drew from the Thames below the sewer outfalls, and among supplied by Lambeth, which had moved its intake upstream. Model the deaths as Poisson, with means proportional to the number of houses. Derive the uniformly most powerful unbiased test of equal rates, apply it, and give an exact ninety-five percent interval for the rate ratio. Pause and try it.

Write the joint probability as an exponential family. The parameter of interest is psi, the log of the rate ratio, attached to X, and the nuisance rate attaches to the total, T. Given the total, X is binomial, with a success probability that depends only on the ratio rho, not on the nuisance. Under the null, T is sufficient and complete for the nuisance, so every similar test has level alpha within every slice of T: that is Neyman structure. The UMPU construction also imposes zero derivative of power at the null: each slice has rejection probability alpha and centered first moment zero. These two constraints determine the boundary randomizations of the two-tailed binomial rule.

Snow's slice has deaths in all. Southwark and Vauxhall supplied percent of the houses, so under equal rates about of the deaths should be theirs. They had , ninety-three percent. That is standard errors out: the exact one-sided upper-tail P-value is about ten to the minus . The UMPU test rejects this observation with probability one. For a separate conservative interval, invert equal-tailed unrandomized tests: take the Clopper–Pearson interval for p and map it to the rate ratio, which is increasing in p. The death rate in houses on the polluted supply was times Lambeth's, with a conditional interval of at least nominal coverage from to . Snow called it his grand experiment, because the two companies' pipes ran down the same streets.

What the randomization buys, computed exactly by summing over the slices. The randomized UMPU test has size exactly five percent at every common rate: similar, as Neyman structure requires. The ordinary conditional test, which rejects only when the binomial P-value is below five percent, has size when the rate is one, at five, and creeps toward five percent only as the counts grow. A small example: twelve events against four, with equal exposure, gives a conditional P-value of : not significant, though the ratio is three.

The proof, mapped. Write the family with the parameter of interest separated, condition on the nuisance's sufficient statistic, use completeness for similarity and the first-moment constraint for unbiasedness, and distinguish the UMPU test from the equal-tailed tests used for the reported interval.

Problem six. Observations come from the logistic distribution shifted by theta. Show that the model is locally asymptotically normal with Fisher information one third. Then, at alternatives theta equal to h over root n, find the local power of three one-sided tests at level alpha: the score test, the t-test and the sign test. Which is best, and by how much? Pause and try it.

The score of the logistic location model at zero is two F of x minus one, which is the hyperbolic tangent of x over two. Its variance is the Fisher information: since F of X is uniform, it is the integral of two u minus one squared, one third. The model is smooth, differentiable in quadratic mean, so the log likelihood ratio for theta equal to h over root n is h times the normalized score sum, minus h squared over six, plus a negligible term: local asymptotic normality. Le Cam's third lemma then says that any statistic jointly normal with the score, with covariance c, is shifted by h times c under the local alternative.

For the score test itself, standardized by the root of I, the covariance is the root of I, so its local power is one minus Phi of z alpha minus h over root three. For positive local alternatives, that is the asymptotic power envelope among tests with asymptotic null level at most alpha. The t-test is based on the mean, whose variance for the logistic is pi squared over three, so its slope is root three over pi. The sign test is based on the median, whose slope is two times the density at zero, one half. The asymptotic relative efficiencies, ratios of squared slopes, are nine over pi squared, ninety-one percent, for the t-test, and three quarters for the sign test.

The three local power curves, with simulations at n equal to four hundred. At h equal to three, the score test's limiting power is , and the simulation gives . The t-test: , simulated . The sign test: , simulated . Le Cam's limit is not just a theorem about infinity: at four hundred observations it predicts the power to within a percentage point or two.

Why is the score test the best possible? For a fixed positive h and any sequence of tests with asymptotic null level at most alpha, the upper limiting power at h over root n is at most one minus Phi of z alpha minus h root I. The proof passes to the limit experiment, a single normal observation with mean h and variance one over I, where the Neyman–Pearson lemma decides everything. The same limit gives Hájek's convolution theorem for estimators: any regular estimator's limit law is the efficient normal convolved with extra noise. So the score test, and the maximum likelihood estimator, are locally optimal, which is the whole of Part forty-seven in one sentence.

The proof, mapped. Compute the score, its variance, the information, local asymptotic normality from quadratic-mean differentiability, and Le Cam's third lemma, which turns covariances with the score into local power.

Sitting: Empirical processes and efficiency; Numbers: ceiling-entropy upper integral 1.37; Newcomb: median 27 (25.5, 28.5), SE 0.77; mean 26.21 (23.6, 28.8), SE 1.32; without outliers 27.75; modern value 33

5IV. Empirical processes and efficiency: Problems 7-8PhD7 min

Sitting four: empirical processes and efficiency. A bracketing bound, and an influence function on Newcomb's data.

Problem seven. Take the class of indicators of half-lines, one of x at most t, and a continuous distribution on the line. Show that the number of L two brackets of size epsilon needed to cover the class is at most the ceiling of one over epsilon squared, that the bracketing entropy integral is finite, and conclude that the class is Donsker. Then say which smoothness classes fail the same test. Pause and try it.

Cut the line at quantiles of P, so that each piece has probability at most epsilon squared; by continuity that takes the ceiling of one over epsilon squared pieces. The bracket for the j-th piece runs from the indicator of x at most t j minus one to the indicator of x at most t j. Their difference is the indicator of the piece, whose L two norm is the root of its probability, at most epsilon, and every half-line indicator lies in one of the brackets. So the bracketing entropy is about two log one over epsilon, whose square root is integrable at zero: the numerical integral of the ceiling-based entropy upper bound is about . Ossiander's bracketing central limit theorem from Part forty-eight then says the class is Donsker: the empirical process converges to a Brownian bridge composed with F, which is Donsker's theorem of 1952.

The picture for the uniform distribution. The purple bands are the sixteen brackets for epsilon one quarter: each has probability one sixteenth, so each bracket's width in L two is a quarter. In blue, one empirical process, root n times F n minus F, for four hundred draws. Its largest excursion is ; Kolmogorov's limit law has median about zero point eight three. Small brackets alone do not establish tightness. The finite entropy integral controls fluctuations across all scales, together with finite-dimensional convergence, to prove the Donsker limit.

Other classes. Monotone functions from the unit interval to itself have bracketing entropy of order one over epsilon: its square root is still integrable, so they are Donsker too. For a bounded Hölder ball on the cube under a regular reference law such as uniform measure, entropy is of order epsilon to the minus d over alpha, by Kolmogorov and Tikhomirov, and the integral is finite exactly when alpha exceeds d over two. Lipschitz functions on the square sit right on the boundary, where the integral diverges, and the bracketing test fails. Divergence means this sufficient entropy test fails. It alone does not prove that every such class under every probability law fails a central limit theorem.

The proof, mapped. Cut at quantiles, build brackets of size epsilon, integrate the root of the entropy, the same integral as Dudley's chaining in Part fifty-one, and apply the bracketing central limit theorem.

Problem eight. The median of a distribution with a unique median and a continuous, positive density there. Derive its efficient influence function in the nonparametric model, and its variance. Then apply it to Simon Newcomb's sixty-six measurements of the time light takes to cross the Potomac and back, which include two outliers: give the median, a Wald interval, and compare them with the mean's. Pause and try it.

Start with a bounded mean-zero score g, so one plus t g defines a probability path for small t, and let m t be the median along it, so F t of m t is a half for every t. Differentiate at zero: the derivative of F t at the fixed point m is the expectation of the indicator times g, and the chain rule adds f of m times the derivative of the median. Solving, and subtracting a half times the mean of g, which is zero, writes the derivative as an inner product with g: the gradient is one half minus the indicator, over f of m. In the nonparametric model the tangent space is all of mean-zero L two, by closure of bounded scores, so this gradient is the efficient influence function. Its variance is one over four f of m squared: pi over two for the normal, worse than the mean's one, but one point eight five for a t with three degrees of freedom, much better than the mean's three.

The two influence functions at the standard normal. The mean's is the straight line x minus mu: unbounded. The median's is a step, plus or minus one over two f of zero, . A single wild observation can move the mean as far as it likes, but its first-order effect under contamination of mass one over n is bounded by one over two n f. This is a local asymptotic statement, not a finite-sample displacement bound. Replacing a record can have twice that first-order effect.

Newcomb's sixty-six passage times, in nanoseconds above twenty-four thousand eight hundred, with the two outliers, minus forty-four and minus two, far to the left. The median is . A kernel estimate of the density there is , so the influence-function standard error is , and the Wald interval runs from to . The mean, , is dragged left by the outliers, and its standard error is , nearly twice the median's. Without the two outliers the mean would be . And the modern value of the speed of light corresponds to thirty-three: neither interval covers it. These sampling intervals do not incorporate apparatus bias. They target distributional summaries under a continuous measurement model, applied to rounded historical data, rather than guaranteeing coverage of the physical speed of light.

The proof, mapped. A path through the model, the defining equation differentiated, the gradient read off as an inner product, and its variance, which is Part thirty's robustness seen through Part forty-nine's efficiency theory.

Sitting: Minimax and HDP; Numbers: s = 10, n = 100: rate 0.33 → 1.02, exact soft-thresholding risk, largest of four signal sizes, 0.567 → 1.944, Fano 0.000352 → 0.002908 for d = 10² → 10⁵; d = 50, n = 400: mean error 0.76, 95th percentile 0.84, MP edge 0.83, Bernstein mean bound 1.25, radius 1.72

6V. Minimax and high-dimensional probability: Problems 9-10PhD8 min

Sitting five: minimax theory and high-dimensional probability. Fano's inequality for sparse means, and matrix Bernstein.

Problem nine. Observe a d-dimensional mean with Gaussian noise of variance sigma squared over n, where the mean has at most s nonzero entries. Using a packing of sparse binary vectors and Fano's inequality, prove that no estimator has worst-case squared error below a constant times sigma squared s log of one plus d over two s, over n. Which estimator attains the rate? Pause and try it.

The packing, for one at most s at most d over eight: there are M binary vectors with exactly s ones, any two differing in at least s over two places, with log M at least s over eight times log of one plus d over two s. Scale them by delta. Any two are at squared distance at least s delta squared over two, while the Kullback–Leibler divergence between their data distributions, n over two sigma squared times the squared distance, is at most n s delta squared over sigma squared. Fano's inequality from Part fifty: the minimax risk is at least a quarter of the squared separation, times one minus the divergence plus log two, over log M. If this packing bound is too small, disjoint supports give at least floor d over s alternatives, enough to keep Fano nontrivial. Choose delta to balance the two, and the bound becomes sigma squared times log M minus log two squared, over thirty-two n log M: of order sigma squared s log of d over s, over n.

The numbers, with ten nonzero entries and a hundred observations, as the dimension grows from a hundred to a hundred thousand. Soft thresholding at the sparsity-dependent threshold, evaluated exactly using Gaussian truncated moments, at the largest risk among four signal sizes, has risk growing like log d, about twice the rate s log e d over s, over n. Fano's bound grows like log d too, but its constant is poor, hundreds of times smaller: this elementary Fano argument identifies the rate but not the sharp constant. In a sparse asymptotic regime with s over d tending to zero and the required dimension conditions, the sharp minimax equivalent is two sigma squared s log d over s, over n, attained by thresholding, as David Donoho and Iain Johnstone showed in 1994.

The upper bound, to finish the problem. Soft thresholding at sigma root two log d over n shrinks every coordinate toward zero and kills the small ones. Donoho and Johnstone's oracle inequality bounds its risk by two log d plus one, times the noise level plus the sum over coordinates of the smaller of the squared signal and the noise level: what an oracle choosing to keep or kill each coordinate would pay, times a logarithm. For an s-sparse vector that is at most two log d plus one, times s plus one, times sigma squared over n. This displayed log d bound need not match log d over s uniformly over all sparsity regimes, with the threshold tuned to the known sparsity through log of d over s, the risk has rate sigma squared s log of d over s, over n.

The proof, mapped. A packing of sparse vectors, separated in squared distance but close in Kullback–Leibler divergence, Fano's inequality, and an estimator from Part thirty-two that attains the rate from above.

Problem ten. Independent vectors in d dimensions whose coordinates are independent random signs, so their covariance is the identity and their squared length is exactly d. Use the matrix Bernstein inequality to bound the expected operator-norm error of the sample covariance, and turn the tail bound into a ninety-five percent confidence ball for the covariance matrix. Compare with simulation and with the Marchenko–Pastur edge. Pause and try it.

Write the error as a sum of independent, mean-zero random matrices, each the rank-one deviation divided by n, with operator norm at most d over n. Because x x transpose squared is d times x x transpose, the matrix variance is d minus one over n times the identity. Matrix Bernstein, in Joel Tropp's form, bounds the tail by two d times a Bernstein exponent, and an exponential-moment optimization gives the displayed expected-norm bound: the root of two v log two d, plus L log two d over three. Setting the tail bound to delta and solving the quadratic in t gives the radius of a confidence ball that holds with probability at least ninety-five percent, for every n in the stated Rademacher reference model. This radius uses the variance and norm bounds proved for that model; it is not a universal ball for an arbitrary unknown covariance.

The error against n, with fifty dimensions. In blue, its simulated mean: at four hundred observations; in teal, its ninety-fifth percentile, . The Marchenko–Pastur edge of Part fifty-two, one plus the root of d over n, squared, minus one, gives an asymptotic upper-edge reference, not a finite-sample mean or ninety-fifth percentile: . The matrix Bernstein bound on the mean is , and the ball's radius : about twice the truth, for an argument that knows nothing about this distribution beyond its norm and variance. All of them fall at the same rate, up to the logarithm that the matrix argument pays.

Why the logarithm? Part fifty-one had a second route: cover the sphere with a net of at most nine to the d points, bound each quadratic form by a scalar Bernstein inequality, and take a union bound. For sub-Gaussian vectors like these, that gives a bound of order root d over n plus d over n, without the logarithm. The square-root term dominates when n is at least d. Matrix Bernstein needs no net, but carries a factor of two d in front of the exponential, which costs a root log d. For these vectors the logarithm is not needed, as the Marchenko–Pastur edge showed. For sums of random diagonal matrices, where a few coordinates collect most of the mass by chance, as in the coupon collector's problem, it is. Matrix Bernstein needs only a bound on each summand's norm and the matrix variance, and that generality is what the logarithm buys.

The proof, mapped. Write the error as a sum, compute its matrix variance, apply matrix Bernstein, whose proof rests on Lieb's concavity theorem for the trace exponential, and invert the tail bound into a confidence set, Part forty-six's old move.

Sitting: The lasso and the posterior; Numbers: p = 500, s = 5, n = 200: normalized columns: prediction error 1.978 (conditional reference 35.7), ℓ₁ error 3.146 (conditional reference 76); compatibility φ² ≥ 1/2 is not verified; contraction slopes −0.4995, −0.6628, −0.4227 against −1/2, −2/3, −2/5

7VI. The lasso and the posterior: Problems 11-12PhD9 min

Sitting six, the last: high-dimensional statistics and Bayesian asymptotics. The lasso's oracle inequality, and a posterior contraction rate.

Problem eleven. A linear model with Gaussian noise, columns of the design scaled to have squared norm n, and a true coefficient vector with s nonzero entries, on a set S where the design satisfies the compatibility condition with constant phi. Prove that on the event that every column's correlation with the noise is at most lambda over two, the lasso's prediction error is at most nine s lambda squared over phi squared, and its l one error at most twelve s lambda over phi squared. Then choose lambda so that the event has probability at least one minus delta. Pause and try it.

Start from the basic inequality: the lasso's objective at its minimizer is no larger than at the truth. Expanding the squares leaves the prediction error on the left, and on the right the noise's correlation with the error vector delta, plus lambda times the difference in l one norms. On the event, Hölder's inequality bounds the noise term by lambda over two times the l one norm of delta; splitting delta into its parts on S and off S, and using the triangle inequality, the off-support part is at most three times the on-support part: delta lies in a cone. On that cone, the compatibility condition bounds the on-support l one norm by root s times the prediction norm, over phi. Substituting and dividing by the prediction norm gives the prediction bound, nine s lambda squared over phi squared, and the cone gives the l one bound, twelve s lambda over phi squared.

The event. Each column's correlation with the noise is normal with variance sigma squared over n, and a union bound over the p columns, Part fifty-one's maximal inequality, bounds the chance that any exceeds lambda over two. Taking lambda equal to two sigma times the root of two log two p over delta, over n, makes it at most delta. So the prediction error is of order sigma squared s log p over n: what an oracle that knew S would achieve, sigma squared s over n, times only the logarithm of the number of candidate variables.

The theorem against simulation: five hundred candidate variables, five of them real, and Gaussian designs, with columns normalized to the stated length. The dashed curves are conditional benchmarks for compatibility squared at least a half; that assumption has not been verified for these random designs. The prediction error, solid, is at two hundred observations; the bound, dashed, is . The l one error is , against a bound of . The noise event held in at least percent of the runs. The simulation errors lie below these conditional reference curves, but that does not certify their compatibility assumption. The prediction benchmark scales as one over n; the l one benchmark scales as one over root n. Numerical KKT residuals verify each computed lasso solution.

What the theorem does not say. Compatibility, a condition on the design restricted to the cone, is enough for prediction and l one error; it is weaker than the restricted isometry property of compressed sensing. Standard uniform or asymptotic sign-recovery results require stronger conditions, commonly an irrepresentability margin and control of the active Gram inverse and score noise. This is not a claim that every finite sample violating irrepresentability fails support recovery. A beta-min condition must dominate the actual inverse-Gram-transformed active noise and penalty. Compatibility alone does not supply that sign-recovery requirement. Predicting well is easier than choosing the right variables, which is why inference about the variables a lasso selects is the subject of Part fifty-six.

The proof, mapped. The basic inequality, the noise event, controlled by Part fifty-one's Gaussian maxima, the cone that the error must lie in, and the compatibility condition, which turns the cone into a rate.

Problem twelve, the last. The Gaussian sequence model, with independent normal priors on the coefficients whose variances decay like k to the minus one minus two alpha, and a true sequence in a Sobolev ball of smoothness beta. Show that the posterior contracts around the truth at the rate n to the minus the smaller of alpha and beta, over one plus two alpha. Pause and try it.

The model is conjugate, coordinate by coordinate: the posterior for theta k is normal, centred at w k times Y k, with w k equal to n lambda k over one plus n lambda k. So the posterior's expected squared distance from the truth splits into three sums: the squared bias of the posterior mean, its variance, and the posterior's own spread. Split the coordinates where n lambda k is about one, at N equal to n to the one over one plus two alpha. The variance and the spread are each of order N over n, n to the minus two alpha over one plus two alpha; the bias is at most the Sobolev radius times N to the minus two times the smaller of alpha and beta. Both are bounded by a constant times the squared claimed rate. Under oversmoothing, the variance can decay faster than that bound. Posterior Markov followed by expectation over the data finishes it: expected posterior mass outside the ball is at most a constant over M n squared. An unconditional second moment cannot bound the conditional posterior probability on every dataset.

The posterior's expected squared distance from the truth, evaluated as an infinite-series quantity with certified remainder bounds. The plotted truth is a boundary hyperrectangle sequence of exponent one, in Sobolev classes strictly below one; it is not a member of the Sobolev-one ball in the theorem. A rough prior, alpha one half: the fitted slope is , against the theory's minus one half. A matched prior, alpha one: , against the reference exponent minus two thirds. The boundary truth is an illustration, not a verification of a uniform Sobolev-ball minimax theorem. A prior smoother than the truth, alpha two: , against minus two fifths: the posterior is too sure the function is smooth, and contracts too slowly to the right answer. The prior's smoothness must match the truth's, or be learned from the data, as Part fifty-three's adaptation did.

Without conjugacy, the general theorem of Ghosal, Ghosh and van der Vaart gives the same answer from three conditions. The prior must put mass at least e to the minus C n epsilon squared on a neighbourhood controlling both KL divergence and the second log-likelihood-ratio moment. Outside a sieve whose metric entropy is at most n epsilon squared, it must put exponentially less mass. In a model with suitable tests for the chosen metric, the entropy bound combines local tests to separate the truth from everything farther than M epsilon away, with exponentially small errors, as in Le Cam and Birgé's construction from Part fifty. With compatible constants, n epsilon squared tending to infinity, and a sufficiently large multiplier, these conditions give contraction in probability or in expected posterior mass. For the Gaussian prior, the small-ball probability gives exactly the rate computed here by hand.

The proof, mapped. Conjugacy, a decomposition into bias, variance and spread, the bias–variance split at the critical index, as in Part fifty's Pinsker theory, and Markov's inequality. With that, the exam's twelve proofs are done.

Sitting: Outro

8Candidacy, problems, and the road aheadAll tracks5 min

The exam in twelve lines. The maximum of exponentials over log n tends to one, by Borel–Cantelli on each side. The walk stopped at one has mean one, because the stopped walk is not uniformly integrable. The UMVUE of a Poisson zero is one minus one over n to the total, strictly above the Cramér–Rao bound. X is admissible in one dimension, because the Bayes-risk gap times the prior mass vanishes. Snow's rate ratio is eight point four, with a one-sided exact upper-tail P-value near ten to the minus one hundred and sixty-three. The t and sign tests have relative efficiencies of ninety-one and seventy-five percent in the logistic model. Half-line indicators have a finite bracketing entropy integral and are Donsker. The median's influence function is a bounded step. Fano gives the sparse rate. Matrix Bernstein gives a confidence ball for a covariance. On the noise event and under compatibility, the lasso prediction error has the displayed bound. And a Gaussian prior contracts at a rate set by the smaller of its smoothness and the truth's.

Put the twelve proofs side by side and the core of a statistics PhD appears as a chain of tools: tails and Borel–Cantelli, martingales, sufficiency and Bayes rules, Neyman structure, local asymptotic normality, brackets, pathwise derivatives, Fano's inequality, concentration, cones, posteriors, and the learning bounds of Part fifty-four, which several of the proofs borrowed: the union bound over Gaussian tails in the lasso problem is chapter one of that part. Every one of them has now been used, not just learned.

That completes the fourth stage, the PhD core. Measure-theoretic probability, martingales and Markov chains, the theories of estimation and of testing, and asymptotic statistics; empirical processes, semiparametric efficiency, minimax theory and high-dimensional probability; high-dimensional statistics, Bayesian asymptotics and learning theory. And an exam, twelve problems, every one proved. In most departments, this is the point at which a student becomes a candidate: the courses are over, and the research begins.

A promise for the last stage. Every theorem in the exam was about a model, a method and a sample fixed in advance. It assumed the question was chosen before anyone looked at the data. Real research rarely works that way, and the final stage, the research frontier, begins exactly there: with inference about questions chosen by looking at the data.

Where it comes back. Part fifty-six asks for honest inference after selection. Part fifty-seven, for inference with no model at all. Part fifty-eight returns to problem two: optional stopping, made safe by test martingales and e-values. Part fifty-nine to the lasso and the posterior when p and n grow together. And Part sixty-five is the dissertation.

Six more problems for the PhD problem bank, with full solutions in the README beside the exam's twelve. Almost-sure convergence from summable tails; Wald's second identity, with its hypotheses checked; the randomized one-sided binomial test; Glivenko–Cantelli from a VC bound; Le Cam's two-point lower bound; and the contraction of a Beta posterior. Pause here if you want to try them.

The books behind the exam: Hilbert's problems, and Cox and Hinkley's book of problems and solutions; Durrett on probability; Lehmann with Casella and with Romano on estimation and testing; van der Vaart, van der Vaart and Wellner, and Tsybakov on asymptotics, empirical processes and minimax theory; Vershynin, Bühlmann and van de Geer, Ghosal and van der Vaart, and Rigollet and Hütter for the high-dimensional problems; with the papers from Snow and Newcomb to Knapik, van der Vaart and van Zanten.

Fifty-five parts of sixty-five, and the third milestone. Candidacy. The research stage begins with a question every working scientist meets: selection can make published effects shrink on replication, alongside other sources of bias and variation. How do you give honest uncertainty about a question chosen that way? Part fifty-six: inference after selection.

Where it goes next. Stage V, PhD research, begins: inference after selection in Part 56, where the lasso's chosen variables need honest intervals, distribution-free inference in Part 57, optional stopping made safe by test martingales and e-values in Part 58, the lasso and the posterior when p and n grow together in Part 59, and the dissertation in Part 65.

Key results

The part's results in one place, for revision.

Problem 1: exponential maxima\(\displaystyle X_i\overset{\text{iid}}{\sim}\operatorname{Exp}(1),\ M_n=\max_{i\le n}X_i:\qquad\allowbreak \frac{M_n}{\log n}\to1\ \text{a.s.}\)
Problem 2: the walk stopped at +1\(\displaystyle T=\inf\{n:S_n=1\}:\qquad\allowbreak \operatorname{E}S_{T\wedge m}=0\ \ \forall m,\qquad\allowbreak \operatorname{E}S_T=1,\qquad\allowbreak \operatorname{E}T=\infty\)
Problem 3: a UMVUE above the Cramer-Rao bound\(\displaystyle T=\sum_{i\le n}X_i,\ X_i\sim\operatorname{Poisson}(\lambda):\quad\allowbreak \operatorname{E}\bigl(1-\tfrac1n\bigr)^T=e^{-\lambda},\quad\allowbreak \operatorname{Var}=e^{-2\lambda}\bigl(e^{\lambda/n}-1\bigr)>\frac{\lambda e^{-2\lambda}}{n}\)
Problem 8: the median's influence function\(\displaystyle \varphi(x)=\frac{\tfrac12-\mathbf 1\{x\le m\}}{f(m)},\qquad\allowbreak \sqrt n\,(\hat m-m)\Rightarrow N\Bigl(0,\frac{1}{4f(m)^2}\Bigr)\)
Problem 9: the sparse minimax rate\(\displaystyle \inf_{\hat\theta}\sup_{\|\theta\|_0\le s}\operatorname{E}\|\hat\theta-\theta\|_2^2\ \asymp\ \frac{\sigma^2s\log(d/s)}{n}\)
Problem 12: a contraction rate\(\displaystyle \theta_k\sim N(0,k^{-1-2\alpha}),\ \theta_0\ \text{of }\allowbreak \text{regularity }\beta:\qquad\allowbreak \varepsilon_n=n^{-\frac{\min(\alpha,\beta)}{1+2\alpha}}\)

Try it

Lab 55 · Checking three qualifying-exam proofs with numbers

Problem 2: the walk stopped when it first reaches +1 has E S_T = 1 although E S at every bounded time is 0. Problem 3: (1 - 1/n)^T is unbiased for exp(-lambda) with the exact variance the proof gives, above the Cramer-Rao bound. Problem 8: the median's variance is 1/(4 n f(m)^2), and the Wald interval built on it covers.

Figure produced by Lab 55: Checking three qualifying-exam proofs with numbers
Produced by the lab below, seed 0, in 0.5 s.
python -m videos.stats.labs 55 needs numpy, scipy, matplotlib · download lab55.py · source on GitHub
P(T <= 1,001): simulated, by dynamic programming, by Catalan numbers  0.975, 0.9748, 0.9748
P(T <= 4,001) and E[T ^ 4,001]                                        0.987, 99.9   (E T is infinite)
E[S at T ^ m] = P(T <= m) + E[S_m; T > m] at m = 4,001                0.987 + (-0.987) = 6.7e-16   (and E S_T = 1)
UMVUE of exp(-2), n = 10: simulated mean, variance                    0.13523, 0.00404   exact 0.13534, 0.00406   Cramer-Rao bound 0.00366
MLE exp(-mean): simulated bias, MSE                                   +0.01364, 0.00459   exact +0.01375, 0.00460
median of 66 t3 draws: n Var simulated                                1.906   1/(4 f(0)^2) = 1.851
95% Wald interval from the influence function (KDE plug-in)           covers 96.2%

Each proof leaves a number that can be checked: a stopped mean that is 0 at every bounded time and 1 in the limit, a variance strictly between the Cramer-Rao bound and the MLE's error, and a sampling variance equal to the influence function's.
The code (86 lines; it asserts its own result)
"""Lab 55: three exam answers checked by computation: optional stopping, a UMVUE, and the median's influence function."""

import numpy as np
from scipy import stats

from videos.coursekit import labs
from explainer.stats.kit import qual

TITLE = "Checking three qualifying-exam proofs with numbers"
GOAL = ("Problem 2: the walk stopped when it first reaches +1 has E S_T = 1 although E S at every bounded time is 0. "
        "Problem 3: (1 - 1/n)^T is unbiased for exp(-lambda) with the exact variance the proof gives, above the "
        "Cramer-Rao bound. Problem 8: the median's variance is 1/(4 n f(m)^2), and the Wald interval built on it "
        "covers.")
TASKS = [
    "Stop the walk at -a or +1 instead (qual.ruin(a, 1)). What are E S_T and E T now, and what happens to both as a "
    "grows?",
    "Print qual.poisson_umvue(n, 2) for n = 5, 10, 100. Does the UMVUE's variance approach the Cramer-Rao bound, and "
    "does it ever attain it?",
    "Draw the data for Problem 8 from a Cauchy law. The mean has no influence function with finite variance; does the "
    "median's interval still cover?",
]


def run(seed=0):
    rng = np.random.default_rng(seed)
    lab = labs.Lab()

    # ---- Problem 2: T = first time the simple random walk is at +1
    N = 4001
    fp = qual.first_passage(N)
    walks = np.cumsum(rng.choice(np.array([-1, 1], dtype=np.int16), size=(4000, 1001)), axis=1, dtype=np.int16)
    hit_sim = float(np.mean(walks.max(axis=1) >= 1))
    catalan = sum(qual.first_passage_pmf(k) for k in range(1, 502))  # P(T <= 1001) from the first-passage law
    lab.row("P(T <= 1,001): simulated, by dynamic programming, by Catalan numbers",
            f"{hit_sim:.3f}, {fp['hit'][1001]:.4f}, {catalan:.4f}")
    lab.row("P(T <= 4,001) and E[T ^ 4,001]", f"{fp['hit'][N]:.3f}, {fp['e_min'][N]:.1f}   (E T is infinite)")
    lab.row("E[S at T ^ m] = P(T <= m) + E[S_m; T > m] at m = 4,001",
            f"{fp['hit'][N]:.3f} + ({fp['tail_mean'][N]:.3f}) = {fp['hit'][N] + fp['tail_mean'][N]:.1e}   (and E S_T = 1)")
    assert abs(fp["hit"][1001] - catalan) < 1e-9 and abs(hit_sim - catalan) < 0.01, "the first-passage law"
    assert np.max(np.abs(fp["hit"] + fp["tail_mean"])) < 1e-9, "E S at T ^ m is 0 for every m: optional stopping, bounded"
    assert abs(fp["hit"][N] - 0.987) < 1e-3 and fp["e_min"][N] > 99, "T is finite a.s. but not integrable"

    # ---- Problem 3: the UMVUE of exp(-lambda) from n Poisson counts
    n, lam, reps = 10, 2.0, 400000
    T = rng.poisson(n * lam, reps)
    umvue, mle = (1 - 1 / n) ** T, np.exp(-T / n)
    th = qual.poisson_umvue(n, lam)
    lab.row("UMVUE of exp(-2), n = 10: simulated mean, variance", f"{umvue.mean():.5f}, {umvue.var():.5f}   "
            f"exact {th['target']:.5f}, {th['var_umvue']:.5f}   Cramer-Rao bound {th['crlb']:.5f}")
    lab.row("MLE exp(-mean): simulated bias, MSE", f"{mle.mean() - th['target']:+.5f}, "
            f"{np.mean((mle - th['target']) ** 2):.5f}   exact {th['mle_bias']:+.5f}, {th['mle_mse']:.5f}")
    assert abs(umvue.mean() - th["target"]) < 5e-4 and abs(umvue.var() / th["var_umvue"] - 1) < 0.02, "unbiased, exact variance"
    assert th["crlb"] < th["var_umvue"] < th["mle_mse"], "the bound is not attained, and the UMVUE beats the MLE here"
    assert abs(np.mean((mle - th["target"]) ** 2) / th["mle_mse"] - 1) < 0.02 and th["mle_bias"] > 0.005

    # ---- Problem 8: the median of 66 draws from t with 3 degrees of freedom
    m_n, sims = 66, 4000
    x = rng.standard_t(3, size=(sims, m_n))
    med = np.median(x, axis=1)
    f0 = stats.t.pdf(0, 3)
    covered = np.mean([(w := qual.median_wald(row))["lo"] <= 0 <= w["hi"] for row in x[:1500]])
    lab.row("median of 66 t3 draws: n Var simulated", f"{m_n * med.var():.3f}   1/(4 f(0)^2) = {1 / (4 * f0 ** 2):.3f}")
    lab.row("95% Wald interval from the influence function (KDE plug-in)", f"covers {covered:.1%}")
    assert abs(np.var(qual.median_if(x[0], 0.0, f0)) * 4 * f0 ** 2 - 1) < 0.05, "the influence function's variance"
    assert abs(m_n * med.var() * 4 * f0 ** 2 - 1) < 0.12 and 0.93 < covered < 0.995
    lab.note = ("Each proof leaves a number that can be checked: a stopped mean that is 0 at every bounded time and 1 "
                "in the limit, a variance strictly between the Cramer-Rao bound and the MLE's error, and a sampling "
                "variance equal to the influence function's.")

    fig, ax = labs.figure(2, size=(11, 4.2))
    m = np.arange(1, N + 1)
    ax[0].semilogx(m, fp["hit"][1:], color=labs.GOLD, label="P(T <= m): mass stopped at +1")
    ax[0].semilogx(m, fp["tail_mean"][1:], color=labs.RED, label="E[S_m; T > m]: the walks still out")
    ax[0].semilogx(m, fp["hit"][1:] + fp["tail_mean"][1:], color=labs.INK, ls="--", label="their sum, E[S at T ^ m] = 0")
    ax[0].set(title="Problem 2: the walk stopped at +1", xlabel="time m", ylabel="contribution to the mean", ylim=(-1.1, 1.45))
    ax[0].legend(loc="upper left", ncols=1)
    tt = np.arange(4, 41)
    pmf = stats.poisson.pmf(tt, n * lam)
    ax[1].bar(tt, 0.3 * pmf / pmf.max(), color=labs.GREY, alpha=0.35, width=0.9, label="law of T, Poisson(20) (scaled)")
    ax[1].plot(tt, (1 - 1 / n) ** tt, "o-", ms=3, color=labs.BLUE, label="UMVUE (1 - 1/n)^T: unbiased")
    ax[1].plot(tt, np.exp(-tt / n), "o-", ms=3, color=labs.GOLD, label=f"MLE exp(-T/n): bias {th['mle_bias']:+.4f}")
    ax[1].axhline(th["target"], color=labs.INK, ls="--", label="the target exp(-2)")
    ax[1].set(title="Problem 3: two estimators of exp(-lambda), n = 10", xlabel="T, the total count", ylabel="estimate")
    ax[1].legend()
    lab.fig = fig
    return lab

Now change it

  1. Stop the walk at -a or +1 instead (qual.ruin(a, 1)). What are E S_T and E T now, and what happens to both as a grows?
  2. Print qual.poisson_umvue(n, 2) for n = 5, 10, 100. Does the UMVUE's variance approach the Cramer-Rao bound, and does it ever attain it?
  3. Draw the data for Problem 8 from a Cauchy law. The mean has no influence function with finite variance; does the median's interval still cover?

Problems, with solutions

Try each problem before opening its solution.

Problems, with solutions

The problem bank: the exam's twelve

  1. Exponential maxima. M_n / log n → 1 a.s. for exponential maxima.

    Solution
    • Upper: P(X_n > c log n) = n^{−c}, summable for c > 1, so by Borel–Cantelli I, X_n ≤ c log n for all large n a.s. Then M_n ≤ max(M_N, c log n), so limsup M_n/log n ≤ c. Intersect over c = 1 + 1/k.
    • Lower: P(M_n ≤ c log n) = (1 − n^{−c})ⁿ ≤ exp(−n^{1−c}), summable for c < 1, so M_n > c log n eventually. Intersect over c = 1 − 1/k. (Independence is used only here.)
  2. The walk stopped at +1. The walk stopped at +1 has E S_T = 1; gambler's ruin and Wald's identity.

    Solution
    • S_{T∧n} is a martingale, so E S_{T∧n} = 0. By reflection, P(T > 2k − 1) = C(2k, k)/4^k ~ (πk)^{−1/2} → 0, so T < ∞ a.s. and S_T = 1, E S_T = 1.
    • E S_{T∧n} = P(T ≤ n) + E[S_n; T > n] = 0 forces E[S_n; T > n] → −1: the family is not uniformly integrable, and E T = Σ P(T > n) = ∞.
    • Stopped at −a or b: |S_{T∧n}| ≤ max(a, b), so 0 = E S_T = bp − a(1 − p), p = a/(a + b); and S_n² − n is a martingale with bounded-increment, integrable-time conditions satisfied, so E T = E S_T² = ab.
  3. The Poisson UMVUE. (1 − 1/n)^T for e^{−λ}; no unbiased estimator of 1/p.

    Solution
    • T = ΣX_i is complete sufficient. X₁ | T ~ Bin(T, 1/n), so E[1{X₁ = 0} | T] = (1 − 1/n)^T, unbiased, hence the UMVUE by Lehmann–Scheffé.
    • E s^T = e^{nλ(s−1)} with s = (1 − 1/n)² gives Var = e^{−2λ}(e^{λ/n} − 1) > λe^{−2λ}/n, the CR bound for g(λ) = e^{−λ} with I = n/λ.
    • For Bin(n, p), E g(X) is a polynomial of degree ≤ n in p, and 1/p is not: no unbiased estimator exists.
  4. Blyth's method. X is admissible for a normal mean in one dimension; where the argument fails in two.

    Solution
    • If δ′ dominated X, then R(θ, δ′) ≤ 1 − ε on an interval I, by continuity of risk.
    • Use the unnormalized density q_τ(θ) = e^{−θ²/(2τ²)} and integrated risk r(q,δ) = ∫R(θ,δ)q(θ)dθ. The Bayes rule is δ_τ = τ²X/(1+τ²); its integrated-risk advantage is √(2π)τ/(1+τ²).
    • Then ε∫_I q_τ ≤ r(q_τ,X)−r(q_τ,δ′) ≤ r(q_τ,X)−r(q_τ,δ_τ): the left side tends to ε|I|, the right to 0.
    • In d = 2 the product tends to 4π; X is still admissible there (Stein; Brown, with flatter priors), and inadmissible for d ≥ 3.
  5. Snow's Table IX. The UMPU test of equal Poisson rates, on Snow's Table IX; an exact interval.

    Solution
    • p(x, y) ∝ exp(x log(λ₁/λ₂) + (x + y) log λ₂): given T = t, X ~ Bin(t, ρe₁/(ρe₁ + e₂)).
    • Under H₀, T is complete for the nuisance rate, so similarity implies E₀(φ | T=t)=α. Unbiasedness also gives E₀[(X−tp₀)φ | T=t]=0. The UMPU rule rejects outside two boundaries with randomization chosen to satisfy both constraints, at p₀=e₁/(e₁+e₂). For Snow these boundaries are 788 and 859, with rejection probabilities 0.91136 and 0.40046; the observed X=1263 is rejected with probability one.
    • Snow: 1,263 of 1,361 against 824 expected: z = 24.4. The reported upper-tail probability is one-sided. Separately, inverting equal-tailed unrandomized binomial tests gives Clopper–Pearson; this is not inversion of the randomized UMPU rule. Mapping p ↦ ρ = (p/(1 − p)) e₂/e₁ gives 8.40 (6.84, 10.43).
  6. Local power. The logistic location model; score, t and sign tests; the power envelope.

    Solution
    • ℓ̇ = tanh(x/2) = 2F − 1, I = ∫₀¹(2u − 1)² du = 1/3; the model is DQM, hence LAN.
    • By the third lemma a statistic jointly normal with Δ_n, with covariance c, has limit N(hc, ·) under h/√n.
    • Score: c = √I, power 1 − Φ(z_α − h/√3). t-test: 1 − Φ(z_α − h√3/π). Sign test: 1 − Φ(z_α − h/2). AREs 9/π² and 3/4. The score test attains the envelope (Neyman–Pearson in the limit experiment).
  7. Half-lines. Half-line indicators are Donsker; which smoothness classes are not.

    Solution
    • Brackets [1{x ≤ t_{j−1}}, 1{x ≤ t_j}] at quantiles with P-mass ≤ ε² have L₂(P) size ≤ ε; there are ⌈1/ε²⌉.
    • ∫₀¹ √(log N_{[]}(ε)) dε < ∞, so the class is Donsker (Ossiander).
    • Hölder-α on [0, 1]^d has log N_[] ≍ ε^{−d/α}: the sufficient entropy integral is finite when α>d/2 under a regular reference law such as uniform measure. Divergence of this test alone is not a converse Donsker theorem.
  8. The median. The median's, on Newcomb's passage times.

    Solution
    • Along dP_t = (1 + tg) dP, F_t(m_t) = 1/2. Differentiating: E[1{X ≤ m} g] + f(m) ṁ = 0, so ṁ = E[ψ̃ g] with ψ̃ = (1/2 − 1{x ≤ m})/f(m). For a unique median with a continuous positive density, bounded mean-zero scores define valid local paths, and their closure gives the tangent space L₂⁰(P), so ψ̃ is efficient; Var ψ̃ = 1/(4f(m)²).
    • Newcomb: median 27, f̂ = 0.080, SE 0.77, 95% (25.5, 28.5); the mean 26.21, SE 1.32.
  9. Fano for sparse means. The sparse minimax rate σ² s log(d/s)/n, and soft thresholding's upper bound.

    Solution
    • A packing ω₁, …, ω_M with |ω_j| = s, Hamming ≥ s/2, log M ≥ (s/8) log(1+d/(2s)). Disjoint supports alternatively give M≥⌊d/s⌋; use the larger log-cardinality lower bound to ensure log M>log 2 even for small s, for 1≤s≤d/8. With θ_j = δω_j: separation² ≥ sδ²/2, KL ≤ nsδ²/σ².
    • Fano: risk ≥ (sδ²/8)(1 − (nsδ²/σ² + log 2)/log M); with δ² = σ²(log M − log 2)/(2ns), risk ≥ σ²(log M − log 2)²/(32 n log M).
    • Soft thresholding at σ√(2 log d/n) has risk ≤ (2 log d + 1)(s + 1)σ²/n: this log d upper bound is not uniformly equivalent to log(d/s) over every sparsity regime. A threshold tuned to known s through log(d/s) gives the sparse rate; the sharp constant two requires an appropriate sparse asymptotic regime.
  10. Matrix Bernstein. A confidence ball for a covariance; why the log d.

    Solution
    • Σ̂ − I = ΣZ_i, Z_i = (x_ix_iᵀ − I)/n, ‖Z_i‖ ≤ d/n; (xxᵀ)² = d xxᵀ gives ΣE Z_i² = ((d − 1)/n) I.
    • P(‖ΣZ_i‖ ≥ t) ≤ 2d exp(−(t²/2)/(v + Lt/3)); E‖ΣZ_i‖ ≤ √(2v log 2d) + L log(2d)/3.
    • The ball: t_δ = Lc/3 + √((Lc/3)² + 2vc), c = log(2d/δ).
  11. The lasso. The basic inequality, the cone, compatibility; what it does not give.

    Solution
    • Basic inequality, the event ‖Xᵀε/n‖∞ ≤ λ/2 and the triangle inequality give (1/2n)‖XΔ‖² + (λ/2)‖Δ{Sᶜ}‖₁ ≤ (3λ/2)‖Δ_S‖₁, so Δ is in the cone ‖Δ_{Sᶜ}‖₁ ≤ 3‖Δ_S‖₁.
    • Compatibility: ‖Δ_S‖₁ ≤ √s‖XΔ‖/(√n φ). Hence ‖XΔ‖/√n ≤ 3λ√s/φ, ‖XΔ‖²/n ≤ 9sλ²/φ², ‖Δ‖₁ ≤ 4‖Δ_S‖₁ ≤ 12sλ/φ².
    • P(max_j |X_jᵀε/n| > λ/2) ≤ 2p e^{−nλ²/8σ²} = δ for λ = 2σ√(2 log(2p/δ)/n).
  12. Contraction. Gaussian priors in the sequence model; the general theorem.

    Solution
    • θ_k | Y ~ N(w_kY_k, λ_k/(1 + nλ_k)); E Π(‖θ − θ₀‖² | Y) = Σ(1 − w_k)²θ₀k² + Σw_k²/n + Σλ_k/(1 + nλ_k).
    • Split at N = n^{1/(1+2α)}: variance + spread ≍ N/n; bias² ≲ B N^{−2 min(α, β)}. Both are O(ε_n²); the variance can be smaller when the prior oversmooths.
    • Posterior Markov and then data expectation give E_θ₀Π(‖θ−θ₀‖>M_nε_n | Y) ≤ E_θ₀∫‖θ−θ₀‖²dΠ/(M_n²ε_n²) ≲ M_n⁻² → 0. An unconditional second moment does not provide this bound for each conditional dataset.

Problems, with solutions

The problem bank: six more

  1. Summable tails. Show that if \(\sum_n P(|X_n - X| > \varepsilon) < \infty\) for every \(\varepsilon > 0\), then \(X_n \to X\) almost surely.

    Solution

    For each ε, Borel–Cantelli gives |X_n − X| ≤ ε eventually a.s.; intersect over ε = 1/k.

  2. Wald's second identity. For the walk stopped at \(-a\) or \(b\), show \(E\,T = ab\) from the martingale \(S_n^2 - n\), checking the hypotheses.

    Solution

    M_n = S_{T∧n}² − (T ∧ n) is a martingale, so E S_{T∧n}² = E(T ∧ n). Monotone convergence on the right and bounded convergence on the left (|S_{T∧n}| ≤ max(a, b)) give E T = E S_T² = ab.

  3. The one-sided binomial test. For \(X \sim\) Bin(\(n, p\)), show that the one-sided UMP test of \(p \le p_0\) is randomized at one point, and find it.

    Solution

    By Neyman–Pearson and the monotone likelihood ratio in x, reject for X > c and with probability γ at X = c, with P(X > c) < α ≤ P(X ≥ c) under p₀ and γ = (α − P(X > c))/P(X = c).

  4. Glivenko–Cantelli. Show that \(\{1\{x \le t\}\}\) has VC dimension 1, and deduce Glivenko–Cantelli from the VC bound.

    Solution

    Half-lines pick out at most n + 1 subsets of n points, so the VC dimension is 1 (no two points are shattered: the larger cannot be picked without the smaller). The VC bound gives sup_t |F_n(t) − F(t)| ≲ √(log n/n) → 0 in probability, and Borel–Cantelli on the exponential tail upgrades it to almost surely.

  5. Le Cam's two-point bound. Prove Le Cam's two-point bound: \(\inf_{\hat\theta}\max_{j} E_j|\hat\theta - \theta_j| \ge \frac{|\theta_0 - \theta_1|}{4}(1 - \mathrm{TV}(P_0, P_1))\).

    Solution

    For any θ̂, let ψ = 1{|θ̂ − θ₁| < |θ̂ − θ₀|}. Then E₀|θ̂ − θ₀| + E₁|θ̂ − θ₁| ≥ (|θ₀ − θ₁|/2)(P₀(ψ = 1) + P₁(ψ = 0)) ≥ (|θ₀ − θ₁|/2)(1 − TV(P₀, P₁)); the maximum is at least half the sum.

  6. A Beta posterior. For a Beta(1, 1) prior and \(n\) Bernoulli(\(p_0\)) draws, show the posterior contracts at rate \(n^{-1/2}\).

    Solution

    Beta(1 + k, 1 + n − k) has mean p̂ + O(1/n) and variance p̂(1 − p̂)/n + O(n⁻²); Chebyshev under the posterior and E|p̂ − p₀|² = p₀(1 − p₀)/n give E Π(|p − p₀| > M_n n^{−1/2} | X) ≲ M_n^{−2} → 0.

Notes and sources

Where it comes back

  • Part 56: inference after selection, where the lasso's chosen variables need honest intervals.
  • Part 57: distribution-free inference, where no model at all is assumed.
  • Part 58: optional stopping made safe, with test martingales and e-values.
  • Part 59: the lasso and the posterior when p and n grow together.
  • Part 65: the dissertation.

Glossary

  • Probability. Borel–Cantelli I and II; almost surely; eventually; infinitely often; stopped martingale; optional stopping; uniform integrability; reflection principle; gambler's ruin; Wald's identities.
  • Estimation and testing. Complete sufficient statistic; Rao–Blackwell; Lehmann–Scheffé; UMVUE; Cramér–Rao; admissibility; Blyth's method; Bayes risk; similar test; Neyman structure; UMPU; randomized test; Clopper–Pearson.
  • Asymptotics and empirical processes. DQM; LAN; third lemma; local power; power envelope; Pitman ARE; limit experiment; convolution theorem; bracket; bracketing entropy and integral; Donsker class; Brownian bridge.
  • Efficiency. Path; score; tangent space; pathwise derivative; gradient; efficient influence function.
  • High dimensions. Packing; sparse Varshamov–Gilbert; Fano's inequality; soft thresholding; oracle inequality; matrix Bernstein; matrix variance; ε-net; basic inequality; cone; compatibility; irrepresentability; beta-min; conjugate posterior; contraction rate; prior mass; sieve; tests.
  • The exam. Exam card; proof map; candidacy.

Sources

  • Problems. D. Hilbert, Bull. AMS 8 (1902), the English translation of the 1900 address; D. Cox & D. Hinkley, Problems and Solutions in Theoretical Statistics (1978).
  • Probability. R. Durrett, Probability: Theory and Examples (5th ed. 2019), ch. 2, 4; D. Williams, Probability with Martingales (1991).
  • Estimation and testing. C. Blyth, Ann. Math. Stat. 22 (1951); C. Stein, Proc. Third Berkeley Symp. (1956); L. Brown, Ann. Math. Stat. 42 (1971); E. Lehmann & G. Casella, Theory of Point Estimation (1998); E. Lehmann & J. Romano, Testing Statistical Hypotheses (2005), ch. 4.
  • Asymptotics. L. Le Cam, Univ. Calif. Publ. Stat. 3 (1960); J. Hájek, Z. Wahrsch. 14 (1970); A. van der Vaart, Asymptotic Statistics (1998), ch. 7, 8, 14, 19, 25.
  • Empirical processes. M. Donsker, Ann. Math. Stat. 23 (1952); M. Ossiander, Ann. Probab. 15 (1987); A. Kolmogorov & V. Tikhomirov, Uspekhi 14 (1959); A. van der Vaart & J. Wellner, Weak Convergence and Empirical Processes (2nd ed. 2023).
  • High dimensions. D. Donoho & I. Johnstone, Biometrika 81 (1994); A. Tsybakov, Introduction to Nonparametric Estimation (2009); P. Rigollet & J.-C. Hütter, High-Dimensional Statistics (lecture notes, 2023), Lemma 4.14; J. Tropp, Found. Comput. Math. 12 (2012); R. Vershynin, High-Dimensional Probability (2018); S. van de Geer, Proc. JSM (2007); P. Bickel, Y. Ritov & A. Tsybakov, Ann. Stat. 37 (2009); P. Bühlmann & S. van de Geer, Statistics for High-Dimensional Data (2011), ch. 6.
  • Bayesian asymptotics. S. Ghosal, J. Ghosh & A. van der Vaart, Ann. Stat. 28 (2000); B. Knapik, A. van der Vaart & H. van Zanten, Ann. Stat. 39 (2011).
  • Data. J. Snow, On the Mode of Communication of Cholera (2nd ed. 1855), Table IX; S. Newcomb (1891); S. Stigler, Ann. Stat. 5 (1977).
About this partfrom its README

Part 55 of a sixty-five-part course in statistics, from a first course to a PhD (see the series plan and the syllabus), and the last part of Stage IV, the PhD core. Like Part 42, it adds no new method.

It opens with Hilbert's twenty-three problems (Paris, 1900): "as long as a branch of science offers an abundance of problems, so long is it alive". Then the letter on the desk the night before the qualifying exam: twelve problems, drawing on the core, and "a correct answer without its proof earns nothing". The problems are set in six sittings, each posed on an exam card, paused, proved on screen, and drawn as a proof map:

  1. Borel–Cantelli (43): M_n / log n → 1 a.s. for exponential maxima.
  2. Optional stopping, unbounded (44): the walk stopped at +1 has E S_T = 1; gambler's ruin and Wald's identity.
  3. A UMVUE, and none (45): (1 − 1/n)^T for e^{−λ}; no unbiased estimator of 1/p.
  4. Blyth's method (45): X is admissible for a normal mean in one dimension; where the argument fails in two.
  5. Neyman structure (46): the UMPU test of equal Poisson rates, on Snow's Table IX; an exact interval.
  6. LAN and local power (47): the logistic location model; score, t and sign tests; the power envelope.
  7. Bracketing (48): half-line indicators are Donsker; which smoothness classes are not.
  8. An influence function (49): the median's, on Newcomb's passage times.
  9. Fano (50): the sparse minimax rate σ² s log(d/s)/n, and soft thresholding's upper bound.
  10. Matrix Bernstein (51): a confidence ball for a covariance; why the log d.
  11. The lasso's oracle inequality (52): the basic inequality, the cone, compatibility; what it does not give.
  12. A contraction rate (53): Gaussian priors in the sequence model; the general theorem.

Candidacy goes on the Transcript, and the research stage begins (→ Part 56).

It keeps two promises:

  • Part 42's comprehensive exam asked you to compute, fit and interpret, and assumed the methods were correct. This exam proves them.
  • Parts 43–54 were taught one at a time. The exam needs them together, and the proof maps show where each proof borrows from another part (the lasso from Part 51's Gaussian maxima, the median from Part 30's robustness, the contraction rate from Part 50's bias–variance split).

Built in this part:

  • statkit.qual (explainer/stats/kit/qual.py), tested in tests/test_stats_kit_qual.py: the numbers each problem needs:
    • Borel–Cantelli sums and exceedances; the walk stopped at +1 by exact dynamic programming, its first-passage law, ruin;
    • the Poisson UMVUE's exact variance against the Cramér–Rao bound and the MLE; Blyth's ratio in d dimensions;
    • the conditional test of two Poisson rates, its UMPU form and its unconditional size; local power in the logistic model, theory and simulation;
    • half-line brackets and the bracketing integral; the median's influence function and a Wald interval with a kernel plug-in;
    • Fano's bound with a nontrivial disjoint-support fallback packing; exact Gaussian soft-thresholding risk;
    • matrix Bernstein for a bounded covariance (mean bound, confidence radius, simulation); the lasso by coordinate descent against its oracle inequality; exact posterior contraction in the sequence model.
  • The PhD problem bank: the twelve exam problems and six more, each with a full solution, below.
  • The proof map (ProofMap in explainer/stats/viz.py), the part's instrument: a proof's moves as a chain of boxes joined by arrows, each tagged with the part whose tool it uses. light(k) lights a move, done() seals the chain.

Data.

  • From the Museum: Snow's Table IX (1855) and Newcomb's 66 passage times (1882).
  • The rest is exact arithmetic or seeded simulation.

The Coverage Board gains four rows:

Method Setting Nominal Achieved Verdict
conditional binomial test, unrandomized equal Poisson rates, λ = 5 5% (size) 2.28% conservative
UMPU test (randomized, Neyman structure) equal Poisson rates, λ = 5 5% (size) 5.39% kept
median ± 1.96 IF-based SE (KDE plug-in) t₃ data, n = 66 95% 96.8% conservative
matrix-Bernstein ball for Σ Rademacher vectors, d = 50, n = 400 95% 100% conservative
Chapter notes
# Sitting Numbers
0 Hilbert, and the night before —
1 Probability exceedances of c log n in 10⁶ draws: 0 (c = 2), 4, the last at n = 82,878 (1.2), 13 (1), 69 (0.8); M_n/log n 2.83 → 1.013; P(T ≤ 4,001) = 0.987, E[T ∧ 4,001] = 99.9; ruin with a = 3, b = 7: 0.3, E T = 21
2 Estimation n = 10, λ = 2: UMVUE variance 0.00406, CR bound 0.00366, MLE MSE 0.00460; Blyth's ratio at τ = 300: 0.0084 (d = 1), → 4π (d = 2)
3 Testing and asymptotics Snow: t = 1,361, expected 824, observed 1,263, z = 24.4, one-sided exact upper-tail P ≈ 10⁻¹⁶³, rate ratio 8.40 (6.84, 10.43); unrandomized size 0.0004 (λ = 1), 0.022 (5), 0.040 (50); local power at h = 3: 0.535, 0.504, 0.442 (simulated 0.526, 0.505, 0.434)
4 Empirical processes and efficiency ceiling-entropy upper integral 1.37; Newcomb: median 27 (25.5, 28.5), SE 0.77; mean 26.21 (23.6, 28.8), SE 1.32; without outliers 27.75; modern value 33
5 Minimax and HDP s = 10, n = 100: rate 0.33 → 1.02, exact soft-thresholding risk, largest of four signal sizes, 0.567 → 1.944, Fano 0.000352 → 0.002908 for d = 10² → 10⁵; d = 50, n = 400: mean error 0.76, 95th percentile 0.84, MP edge 0.83, Bernstein mean bound 1.25, radius 1.72
6 The lasso and the posterior p = 500, s = 5, n = 200: normalized columns: prediction error 1.978 (conditional reference 35.7), ℓ₁ error 3.146 (conditional reference 76); compatibility φ² ≥ 1/2 is not verified; contraction slopes −0.4995, −0.6628, −0.4227 against −1/2, −2/3, −2/5
7 Outro —
The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
  1. A Borel–Cantelli argument (43).
  2. Optional stopping with an unbounded time (44).
  3. A UMVUE via completeness, and a case where none exists (45).
  4. Admissibility by Blyth's method (45).
  5. A UMPU test via Neyman structure (46).
  6. LAN and the local power of a test (47).
  7. A bracketing bound for a Donsker class (48).
  8. The efficient influence function of a functional (49).
  9. A Fano lower bound for sparse estimation (50).
  10. A matrix Bernstein bound for covariance estimation (51).
  11. The lasso oracle inequality (52).
  12. A posterior contraction rate (53).

Outro: the Transcript, candidacy. Built: the PhD problem bank, with full solutions in the README.

Build the film

python -m videos.stats.stats55.compute        # the part's numbers, into .cache/stats55
python tools/build.py stats55                  # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py stats55 Hook   # one chapter, silent, with a contact sheet

Scenes: videos/stats/stats55. Setup: see the course page. Source of these notes: the README and the scenes' narration.

Build it
OMP_NUM_THREADS=1 python -m videos.stats.stats55.compute   # once (under a minute)
python tools/build.py stats55 -q l                         # fast 480p preview
python tools/build.py stats55                              # 1080p30 -> renders/stats55.mp4
python tools/qa_scene.py stats55 ExamTesting
python tools/lecture_length.py stats55 --floor 50