Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 224 2 b Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
The test accepts when . Under , the method of types givessoUnder , accepting requires a type in the closed set . ThereforewhereConsequently for . The first exponent is positive when . Because relative entropy vanishes only when its arguments agree, the second is positive exactly while lies outside the constraint set. Thus both are strictly positive for
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 224 2 a Solution by
Codex 0 2026-09-28
For an independent identically distributed source with mass function on a finite alphabet and a fixed compression rate , the optimal probability of decoding error has exponentmeaning that the best fixed-rate codes satisfyat continuity points of the exponent.
For the direct part, let andEncode every sequence whose type satisfies . The method of types bounds the number of such sequences byso they fit into a rate- codebook. The error probability obeysCompactness of the probability simplex and continuity of entropy and relative entropy on the support of givewhich is the direct bound.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 224 1 c Solution by
Codex 0 2026-09-28
Let be the region on which the test chooses . ThenMinimizing over decision regions is therefore equivalent to maximizing the signed difference. Part b givesThe minimizing region is , the equal-prior Neyman-Pearson decision region.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 224 1 b Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Using the paper's full- convention, the total variation distance isLet . Since the signed differences sum to zero,For every , its positive difference is at most the sum over , and its negative difference has the same bound by taking the complement. Therefore
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 224 1 a Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Stein's lemma states that for distinct probability mass functions on a finite alphabet, the best exponential decay rate of the Type II error among tests whose Type I error is eventually at most any fixed is
For the direct part, define the information-density typical regionThe weak law of large numbers under gives , while
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 4 c Solution by
Codex 0 2026-09-28
The coordinatewise median suffers a contamination error of order with constant probability. In contrast, the Tukey median under an isotropic Gaussian model satisfies a high-probability Euclidean error bound of orderwith probability at least , up to universal constants. Its contamination term is dimension-free. Thus coordinatewise estimation loses a factor in its dependence on adversarial contamination.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 4 b Solution by
Codex 0 2026-09-28
Replace the same last vectors by . Applying part a to each independent Gaussian coordinate shows that the probability its contaminated coordinate median exceeds is at least . Independence across coordinates and Bernoulli's inequality giveFor sufficiently large as a function of and , the last expression is at least . On this event,which proves the stated lower bound for the supremum over adversarial perturbations.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 4 a Solution by
Codex 0 2026-09-28
Assume first that , set , and replace the last observations by . Among the remaining observations, letThe contaminated median exceeds wheneverThe right-hand threshold divided by tends toTherefore, for all sufficiently large , it is at most for some . The Hoeffding inequality givesThe supremum over adversarial perturbations is at least this explicit construction, proving the claim. When , replacing at least half the sample makes the conclusion immediate.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 3 c Solution by
Codex 0 2026-09-28
Now letThenSince , this influence function is bounded for both hypotheses. Clipping the log-likelihood contribution prevents one extreme observation from having unbounded effect on the statistic.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 3 b Solution by
Codex 0 2026-09-28
The functional isThe influence function of an expectation functional isBecause is affine with nonzero slope, this is unbounded under both and .
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 3 a Solution by
Codex 0 2026-09-28
Let . For one observation from the unit-variance normal location family,The sample log-likelihood ratio is therefore . By the Neyman-Pearson lemma, the level- most powerful test rejects for a sufficiently large likelihood ratio, equivalently when , with chosen to give null rejection probability .
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 2 c Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
As , the Huber estimating equation approaches the sign equationwhose solution is the sample median. Hence the most B-robust location M-estimator is the median, with minimum gross-error sensitivity
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 2 b Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 2 a Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
The normal location score is . Under a bound on gross-error sensitivity, the variance-minimizing influence curve clips this score. For , define the Huber scoreThe optimal B-robust estimator is the Huber location estimator defined byEquivalently, it has the explicit optimization formwhere the Huber loss isAt its normalized influence function is
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 1 c Solution by
Codex 0 2026-09-28
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 1 b Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Write and assume . If is its median, thenMoreover its density satisfies . Since the standard normal density decreases with , the smallest possible density at the median occurs at either endpoint. PutThe two endpoints are by normal symmetry. The bound is attained by choosing a contaminating density supported strictly to the right of , or symmetrically to the left of , with zero density at the selected median. Therefore
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 1 a Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Let be the unique median. The influence function of the sample median isaway from . Its second moment, equivalently the asymptotic distribution of a sample median, givesNo symmetry assumption is used: the density is evaluated at the actual median of .
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 221 4 iv Solution by
Codex 0 2026-09-28
The stop records estimatebut they cannot estimate the population encounter probabilities and because encounters without a stop are absent. Equivalently, they do not determine the race-specific stop-probability ratio.
The scientist needs a representative denominator for all police-civilian encounters, including those with . Suitable sources could include a carefully designed population or travel survey, systematic street and traffic observation, dispatch or body-camera sampling that records non-stop encounters, or an external administrative source measuring exposure to police by race. Combining its estimate of the population race odds with the estimable stop-data terms identifies the displayed causal risk ratio, provided the external sample targets the same city, period, and encounter population.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





