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 2003 iii Paper 41 5 i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
For , the probability integral transform makes iid uniform on . Continuity of is enough; strict increase is unnecessary. Their extreme order statistics have joint densitychoose the observations giving the two extremes and put the remaining between them. Transform to and integrate from zero to . The uniformized sample range therefore hasEquivalently . For , the range is identically zero instead.
The exact failure probability isThus the exact integer sample size is the least making this quantity at most . For with , it tends to . This function decreases strictly from one to zero on positive , because its derivative is . For there is therefore exactly one positive solution ofThis gives the extreme-order-statistic tolerance interval sample-size ruleWhen is small, , so a useful first refinement is . This is an approximation, not an exact integer guarantee; use the preceding exact failure probability to check rounding and very stringent tail requirements. The interval here encloses population content, rather than estimating a fixed distribution parameter.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 41 1 ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Use the Probabilists' Hermite polynomials, rather than the differently scaled physicists' convention:Thus , , and . The cumulant-generating function of an exponential variable of mean is near zero, so its th cumulant is . Hence the standardized third and fourth cumulants are and ; the fourth is a cumulant, not the fourth raw central moment.
Write for the cumulative distribution function of the pivot in part (i). Its Edgeworth expansion, valid here because the exponential law is smooth, nonlattice and has exponential moments, isat the fixed endpoints . The coverage is exactly . Since and are even, the terms cancel; the two odd Hermite terms double. Consequently the symmetric Edgeworth coverage cancellation givesIn particular its coverage probability error is . This is a fixed-confidence-level expansion; it is not a uniform statement for normal cutoffs increasing with .
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 41 1 i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
For the mean parameter , the log-likelihood is . Its derivative is , positive below and negative above it. Therefore is the unique maximum-likelihood estimator.
The exponential distribution has mean and variance . The central limit theorem gives the pivotLet for fixed . For , the event is exactlyBoth denominators are then positive, so the algebra neither reverses the ordering nor changes the parameter domain. Taking probabilities and using continuity of the limiting normal distribution proves the exponential-mean confidence interval by pivot inversion has coverage probability tending to . This is inversion of the pivot with the true mean in its denominator; it is not the ordinary symmetric Wald interval centered at . For a small sample with , the displayed finite positive upper endpoint is not valid, although the large-sample claim is unaffected.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 6 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Use the prespecified excess-sharing alternative: affected full siblings linked to a disease genetic locus are expected to share more marker copies identical by descent. The total sharing count is , so . Under the no-linkage null, independent sibling pairs have and , giving the mean allele-sharing test for affected siblingsThe upper 5% standard normal critical value is approximately , so there is evidence of excess sharing, and hence linkage, at the one-sided 5% level. The normal approximation gives upper-tail p-value .
The conclusion depends on the intended directional test. A two-sided test of the sharing mean uses , so it would not reject at 5%. An omnibus Pearson chi-squared goodness-of-fit test of the three counts against gives with two degrees of freedom and also would not reject. The directional mean-sharing test targets the scientifically specified excess-sharing alternative; these different tests should not be selected after seeing which rejects. Independence of the 200 pairs is assumed: if pairs overlap within families, the standard error needs adjustment.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 6 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
For the usual no-linkage reference model with unrelated, noninbred parents, define as the number of homologous allele copies shared identical by descent by two full siblings at the marker. The two siblings receive the same paternal copy with probability , and independently receive the same maternal copy with probability . Therefore Mendelian IBD sharing of full siblings givesHenceFor affected siblings, absence of genetic linkage makes the marker transmissions independent of selection by disease, so these are the relevant null moments. This is a fresh outbred reference calculation, not an application of these sharing probabilities to the inbred siblings in part (b). Without the outbred-parent assumption the three ordinary sharing probabilities require modification.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 6 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The kinship coefficient is the probability that one allele copy sampled uniformly from each of individuals , independently conditional on their copies, is identical by descent. The inbreeding coefficient is the probability that the two homologous allele copies within are identical by descent. For distinct offspring and older individual, Mendelian segregation givesFor the last identity, two independent selections choose the same copy with probability , and choose distinct copies with probability , in which case identity has probability . An unrelated, noninbred founder has and self-kinship , while distinct such founders have zero mutual kinship coefficient. The source's statement of zero founder kinship must be read as zero kinship between distinct founders; zero self-kinship would contradict the definition.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 5 v Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Using cases as disease haplotypes and controls as control haplotypes in the model requested here, the chromosome counts estimateThese are conditional marker allele frequencies, not the reverse conditional probabilities . Under independent founder chromosomes, conditional on the father's genotype, the phase has weight proportional to , and has weight proportional to . Their normalized weights are and . This conditions on the model's observed parental genotypes; the omitted disease-allele frequencies cancel in the phase-weight ratio.
Using the two phase-specific pedigree likelihoods already derived,The normalizing factor is independent of , so maximize . Its derivative gives exactlyOnly the smaller root lies in :On this interval , so this stationary point is the unique maximum. The maximum LOD score, retaining the same linkage disequilibrium frequencies in numerator and denominator, isThis is only a likelihood ratio of about against , hence very weak evidence. The population frequencies are treated as fixed plug-in estimates, as requested; uncertainty in those estimates and possible disease-model differences between controls and normal-allele chromosomes would matter in a fuller analysis.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 5 iv Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Each diploid individual contributes two marker alleles. Count copies as twice the count plus the count, and count copies analogously. The observed chromosome-level contingency table, followed by its null expected table, isThere are 200 chromosomes in each group; pooled totals are 140 and 260 . The usual allelic Pearson chi-squared test of independence givesWith the ordinary independent-chromosome null model, use one degree of freedom; its p-value is about , providing very strong evidence of genetic association.
The two alleles from the same person are not automatically two independent observations. The usual one-degree-of-freedom calibration is justified, for example, for unrelated individuals with Hardy-Weinberg equilibrium under the null. If that assumption is not suitable, retain individuals as the sampling units and test their allele dosages using an appropriate variance or permutation of case-control labels, or use the genotype-level test from part (iii). No Hardy-Weinberg equilibrium assumption was needed for that genotype-level test.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 5 iii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Arrange rows by marker genotype, with cases and controls as the two columns. Both column totals are 100, and the three row totals are 100, 60 and 40. Under the null of no genetic association, estimate each common row probability from its pooled proportion. The expected count is row total times column total divided by the grand total. Thus the expected contingency table isThe Pearson chi-squared test of independence usesUnder independent sampled individuals and the no-association null, its reference chi-squared distribution has degrees of freedom. All expected cells are well above five. The null is overwhelmingly rejected: the approximate p-value is . This establishes association in the sampling model, not by itself a causal role for the marker.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 5 ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Distinguish the disease alleles (normal) and (recessive disease) from the marker alleles . The affected mother and two affected children are . The unaffected father must be , since he has affected children; the unaffected child is , since the mother always transmits . The mother is at the marker, so the marker genotypes identify the father's transmissions to the three children as . Their disease transmissions from the father are .
The father's unphased double heterozygosity has two possible pairs of haplotypes:Under , the three paternal transmissions are respectively nonrecombinant, recombinant and nonrecombinant. Under , they are recombinant, nonrecombinant and recombinant. Each particular gamete has probability or , giving the conditional pedigree likelihoodsAssuming linkage equilibrium among founder haplotypes, the two phases have equal prior weights conditional on the observed paternal genotype. Phase averaging in a linkage likelihood therefore givesAny factors for the parental genotypes omitted by this conditioning are constant in . The derivative is , so the maximum likelihood estimate is and there is no evidence for linkage: the maximum LOD score is zero. Choosing the best phase after observing the offspring would give a different and inappropriate calculation; the unknown phase must be averaged. The linkage-equilibrium assumption is modified explicitly in part (v).
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 5 i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Genetic linkage analysis asks whether a genetic marker and a disease genetic locus cosegregate within families more often than would be expected under independent assortment. It uses pedigrees and Mendelian segregation to estimate the recombination fraction , with evidence for linkage arising when the data favor . Even when founders are in linkage equilibrium, linked loci can show familial cosegregation.
Genetic association analysis instead asks whether observed allele or genotype frequencies differ with disease status in a sampled population, often comparing cases with controls. It can detect a causal variant or a correlated genetic marker through linkage disequilibrium; population structure and selection can also create association. Linkage is about familial transmission; association is about population dependence. Neither an association alone nor a low family recombination estimate establishes that the marker itself causes disease.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 4 e Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Two useful questions separate intervention retention from actual opportunities to use it.
- What happened to the intervention after release? Ask when it was obtained, whether it was carried during the first two weeks, and whether it was sold, lost, given away or replaced. This measures adherence and possible treatment contamination.
- Was it used during an overdose, and for whom? Ask whether an overdose was witnessed or experienced, whether the intervention was available and administered, who administered it, whether it was used on the respondent or someone else, and the recorded outcome. This distinguishes nonuse despite availability from lack of an opportunity, and detects spillover to other individuals.
Responses can explain implementation, but cannot replace the randomized intention-to-treat analysis. Reincarcerated survivors are a selected subgroup, and recall errors and missing follow-up may affect their reports.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 4 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
For equal allocation, let be the required sample size per arm, , and . In the standard sample size for comparing two proportions calculation, a two-sided test at 5% with 80% statistical power requiresUsing and gives , which is rounded upward for actual recruitment. ThusSince the risks are small, dropping the corrections and using gives , conventionally about 52.3 thousand. These are slightly different approximations to the same planning requirement. Add an allowance if outcome ascertainment is incomplete or the allocation is clustered. A prespecified one-sided test would need a different, smaller sample size; the calculation here uses the conventional two-sided interpretation consistently with part (b).
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 4 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Assume individuals who immediately sell the intervention retain the untreated risk , while those who keep it have the posited halved risk . The law of total expectation gives the expected count per thousand assigned to treatment:The assignment risk is therefore . This is an intention-to-treat mixture under the stated adherence-specific risks, not an assertion that receipt or sale is randomized. It also assumes that selling does not itself change the seller's baseline risk and that effects on recipients outside this group do not alter this calculation.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 4 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Use a conventional two-sided test at significance level . Let per arm, , and . Under the specified alternative, the normal approximation to the difference of independent binomial proportions has standard deviationFor planning the pooled null standard error, use , giving . The rejection threshold is approximately , exceeding the mean alternative difference. With the standard normal distribution function, the approximate statistical power isNo: the usual two-sided 5% calculation gives about 45% power, below 50%. The expected death counts are only 20 and 10, so an exact discrete design calculation could refine this approximation.
The question does not specify the tail convention. If a beneficial direction is prespecified and a one-sided test at 5% is justified, replace by approximately ; the resulting statistical power is about , and the answer is then yes. This change of testing convention must be declared.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 4 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Use individual stratified randomization within each prison, with concealed centrally generated permuted-block randomization and varying block sizes. Prison can affect both baseline risk and intervention delivery, so balancing assignments within prison protects against imbalance in that important covariate. Varying block sizes and allocation concealment prevent staff from predicting the next allocation and selecting participants accordingly. Prespecify how incomplete final blocks are treated. To enforce the overall 4000:4000 allocation exactly, coordinate the stratum totals centrally, allocating odd final places through a concealed random rule; exact half allocation within every prison is impossible if some prison totals are odd.
Individual randomization stratified by prison is preferable to randomizing only twenty whole prisons for this design. A cluster-randomized trial would have few independent units and could lose substantial precision through intraclass correlation. Sharing or selling the intervention can cause treatment contamination, so record it and retain an intention-to-treat analysis; substantial spillover might justify a separately powered cluster design rather than being ignored.
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





