Cluster-resampled wringing allocation 2026-11-05
Cluster-resampled wringing allocation uses pilot contacts as the resampling units when assessing how uncertain wringing and readout variability affect a planned gauge block study. Readings from one prepared contact stay grouped. Resampling them as unrelated observations would remove the dependence that motivates nested contact-study allocation.
Write the pilot as vectors from independently prepared contacts. A cluster bootstrap draws of these vectors with replacement, copies every reading in each selected vector, recomputes the variance-component estimates and then reevaluates candidate allocations. For an original five-contact illustration, drawn indices copy contact2 twice and omit contact3. Each draw is a separate bootstrap occurrence; neither duplication nor omission creates a new physical contact. The empirical-with-replacement construction is the general bootstrap procedure, applied here to contact vectors.[ref]
Lecture 12: The Bootstrap. “The Bootstrap”, resampling and recomputing the statistic; “High level idea”, conditional empirical law
For a balanced random-intercept linear mixed model, each resample can yield planning estimatesWith preparation/read costs , a finite candidate has cost and modeled mean variance . Comparing candidates within each resample reveals how often the preferred allocation changes, instead of treating one pilot ratio as known exactly.
For an original180-minute budget with and minute, consider . With and , their mean variances are approximately0.6222,0.5556 and0.5778nm², favoring12 contacts with6 readings. Changing only the planning between-contact variance to1nm² gives0.4222,0.3056 and0.2778nm², favoring10 contacts with9 readings. A resampling distribution of planning inputs can therefore matter to the design decision.
The cost of flattening the data is visible analytically. Under the same model, the true mean variance is , while an independence calculation over all readings gives . Their ratio isusing intraclass correlation . For and , the variance ratio is2.5, a design effect that an independence-based analysis misses.
This nonparametric analysis inherits the limited empirical contact distribution and any boundary estimate . More bootstrap draws do not provide more independent wrings. Drift, shared standards or an unbalanced pilot need an appropriate model or resampling design. NIST documents physical wringing films and their dependence on preparation and elapsed time, which is why contact preparation belongs in the experimental record.[ref]
Gaussian linear mixed model Created 2026-10-06 Updated 2026-10-14
A Gaussian linear mixed model combines fixed effects, random effects with a normal distribution, and independent Gaussian noise. For and independently, its marginal distribution is with . The random effects induce dependence among observations sharing their design columns. A random-intercept linear mixed model and a random-slope linear mixed model are special cases.
Longitudinal study Created 2026-10-14 Updated 2026-11-05
A longitudinal study observes the same individuals repeatedly. Within-person changes distinguish temporal development from persistent differences between people, although calendar-period changes, selective dropout and measurement error still require attention. A random-intercept linear mixed model can represent persistent individual differences and correlated repeated measurements.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 44 1 a Solution Created 2026-10-03 Updated 2026-10-14
Use a longitudinal study with repeated measurements of the same individuals. Recruit people across several starting ages and measure the same ear, with a standardized anatomical definition and instrument, at baseline and subsequent visits over several years. Repeat measurements at each visit to estimate measurement error; where practical, conceal previous measurements from the observer. Record sex, body size, birth cohort and observer, and document reasons for loss to follow-up.
A simple random-intercept linear mixed model for ear length at elapsed follow-up time isThe individual intercept absorbs persistent differences between people. Alternatively, differences remove that intercept directly. Estimate the within-person regression coefficient and its confidence interval, accounting for the correlation of repeated measurements. Compare it with the cross-sectional slope rather than treating the two slopes as automatically identical.
This longitudinal study directly checks whether an individual's ears tend to lengthen as time passes. Several entry-age cohorts help assess whether the change varies with starting age. Calendar-period changes and selective dropout can still affect interpretation, so repeated observation alone does not eliminate every possible source of confounding or selection bias.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 30 4 b Solution Created 2026-10-03 Updated 2026-10-07
For subject and , the random-intercept linear mixed model isAll subject random effects and measurement errors are mutually independent. The fixed effects describe the population mean baseline and weekly gain. Conditional on , a person's observations have independent normal distributions; after integrating out , their covariance is at distinct weeks and their common variance is . Therefore their correlation is .
This Gaussian linear mixed model permits correlated repeated readings while keeping different subjects independent. The fitted standard deviations are kg and kg, giving within-person correlation about . All persons still have the same latent weekly slope in this model.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 218 1 b Solution Created 2026-10-03 Updated 2026-10-05
Write for rats and for repeated observations. With diet 1 as the reference level in a regression factor, the random-intercept linear mixed model iswith the two families of normal distributions independent and the covariates treated as fixed. The reported estimates areThe corresponding estimated standard deviations are and grams. Individual realized random intercepts are not parameters in this marginal model, and their predictions are not supplied by this summary. For distinct measurements on the same rat, , while the marginal variance is ; different rats are independent.
The estimated mean weight rises by grams per day, adjusting for diet and the rat's random intercept. This common slope is imposed across all diets: there is no time-by-diet interaction term, so these estimates do not compare diet-specific growth slopes. The intercept refers to time zero for diet 1 and a zero rat effect.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 5J Solution Created 2026-09-24 Updated 2026-10-03
With Control as the reference group, the fitted normal linear model has meanThus the control-group rate is , while the treatment-group rate is . The estimates areandweight units per day. The control slope has and , so there is no statistically significant evidence of weight loss over time in the control group at conventional significance levels.
The plotted regression residuals for each mouse form smooth time patterns rather than an unstructured cloud: nearby observations on the same mouse have similar residuals, and the mice also show persistent individual offsets. This is strong evidence of autocorrelation and omitted mouse-level variation. The ordinary linear model treats all 400 measurements as independent after accounting for cage, so it commits pseudoreplication and will generally underestimate the coefficient standard errors. The reported -tests and -values should therefore not be trusted. A random-intercept linear mixed model with a within-mouse correlation structure would respect the repeated-measures design.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 218 4 a Solution 2026-09-28
For student in school , "lme1" is the random-intercept linear mixed modelwhereindependently. The estimates areThe fixed intercept is the population-average expected post-study score for an untreated reference student with PTHK zero. The random intercept is school 's deviation from that population intercept.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 218 5 a Solution Created 2026-09-24 Updated 2026-09-25
Model1 is the simple linear regressionModel2 is a random-intercept linear mixed modelwith the random intercepts and errors mutually independent.
Wringing-allocation pilot uncertainty 2026-11-05
Wringing-allocation pilot uncertainty is uncertainty in the noise components used to choose how many gauge block contacts to prepare and how many readings to take per contact. The optimum in nested contact-study allocation depends on estimated between-contact and within-contact variability; a short pilot does not determine their ratio exactly.
For a balanced pilot with independent wrings and readings per wring, use the random-intercept linear mixed modelwith all random effects independent. The within-wring mean square has expected value ; the between-wring mean square has expected value . Thus method-of-moments planning estimates areTruncating a negative estimate is a boundary convention, not proof that true between-wring variance vanishes. The expectations follow by decomposing the independent within-wring residuals and wring means in this stated model.
An original pilot has , and . The estimates are nm and nm. If another short pilot gives with the same , truncation instead gives . Substituting that boundary value into the continuous planning rule drives the preferred readings per wring toward infinity, revealing a fragile design decision rather than an experimentally established absence of contact variability.
With independent normal residuals, has relative standard deviation , where . Five wrings with two readings each give and approximately 63% relative scatter in this variance estimate. The between-component estimate subtracts two noisy mean squares and can be still less stable. More readings of the same contact do not substitute for observing more independent contacts.
A useful planning sensitivity analysis holds readout standard deviation at a stipulated 6 nm while testing plausible from 1 to 4 nm. With preparation cost 9 minutes and reading cost 1 minute, the continuous optimumranges from 18 to 4.5 readings per wring. Under a 180-minute budget, feasible allocations give mean variances approximately when nm, but when nm. The best choice among these candidates changes with the pilot assumption; no one set of counts is universally optimal.
Cluster-resampled wringing allocation can retain the pilot's contact grouping when assessing planning sensitivity; treating all readings as independent destroys the nesting. Any resampling still inherits the pilot's limited contact population. Physically, record fresh preparation, waiting time and handling: NIST documents changes in wringing films with conditions and elapsed time.[ref] Drift and common reference errors require their own model terms rather than being silently absorbed into independent readout noise.