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]
For a balanced random-intercept linear mixed model, each resample can yield planning estimates
With 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 is
using 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.
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 is
The 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.
For subject and , the random-intercept linear mixed model is
All 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.
Write for rats and for repeated observations. With diet 1 as the reference level in a regression factor, the random-intercept linear mixed model is
with the two families of normal distributions independent and the covariates treated as fixed. The reported estimates are
The 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.
With Control as the reference group, the fitted normal linear model has mean
Thus the control-group rate is , while the treatment-group rate is . The estimates are
and
weight 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.
For student in school , "lme1" is the random-intercept linear mixed model
where
independently. The estimates are
The 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.
Model1 is the simple linear regression
Model2 is a random-intercept linear mixed model
with the random intercepts and errors mutually independent.
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 model
with 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 are
Truncating 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 optimum
ranges 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.