Why Sparse Individual Data Matter
A population model can contain many records and still provide little information about some random-effects parameters. The key is not only the total number of observations, but also how those observations are distributed across individuals and across time or covariate conditions. If most individuals contribute one concentration, the data may show between-record variation without revealing whether it arose from differences between individuals or from residual error. If individuals have repeated observations but only over a narrow time range, random slopes may be poorly informed.
This distinction matters during model debugging. A variance estimate near zero, a very large standard error, or a covariance step that fails may reflect weak information in the sampling design. Such symptoms do not by themselves prove that the optimizer or covariance calculation is defective. Conversely, sparse data do not excuse numerical errors: the model and computation still need to be checked.
Model and Information in Repeated Observations
Consider a simple random-intercept model for a response \(Y_{ij}\) from individual \(i\) at observation \(j\):
Here \(\mu\) is the population mean, \(\eta_i\) is an individual random effect, and \(\epsilon_{ij}\) is residual error. The standard assumptions for this illustration are that random effects are independent across individuals, residual errors are independent across observations and individuals, and random effects and residual errors are mutually independent. The model assumes a common random-effect variance \(\omega^2\) and residual variance \(\sigma^2\). Both variances are nonnegative.
For an individual with \(m\) observations, the mean of those observations is \(\bar{Y}_i=\mu+\eta_i+\bar{\epsilon}_i\). Its variance is \(\omega^2+\sigma^2/m\). Repeated observations reduce the residual contribution to the individual mean, while the random-intercept contribution remains. This creates information for separating the two sources of variation. With only one observation, that separation is generally unavailable in this model.
Why One Observation Can Leave Variances Confounded
The limitation can be shown directly. If each individual contributes one observation, the model gives \(Y_i=\mu+\eta_i+\epsilon_i\). Since the two independent terms \(\eta_i\) and \(\epsilon_i\) are normally distributed, their sum is normal with variance equal to the sum of their variances:
Thus, the distribution of the observed data identifies the total variance \(\omega^2+\sigma^2\), not its two components separately. For any two nonnegative variance pairs with the same sum, the implied distribution of \(Y_i\) is identical. The likelihood cannot distinguish those pairs under this model. Additional individuals can estimate the total variance more precisely, but do not by themselves resolve this exact confounding.
With two observations per individual, the marginal covariance matrix is instead:
The shared random intercept contributes to the covariance between observations; independent residual errors do not. This repeated-measures pattern can help distinguish \(\omega^2\) from \(\sigma^2\), provided there are enough independent individuals and the model assumptions are reasonable. The information remains finite-sample and can be weak, especially when there are few individuals or when the observations do not provide a useful contrast.
Worked Example: One Record per Individual
Suppose a hypothetical dataset contains one concentration measurement for each of 30 individuals. Its sample mean is 12 mg/L and its sample variance is 9 (mg/L)\(^2\). Assume, for illustration, that the random-intercept model above applies and that there are no other sources of between-record variation.
The model's marginal variance is \(\omega^2+\sigma^2\). Two possible parameter pairs are \(\omega^2=4\) (mg/L)\(^2\), \(\sigma^2=5\) (mg/L)\(^2\), and \(\omega^2=7\) (mg/L)\(^2\), \(\sigma^2=2\) (mg/L)\(^2\). In each case:
Both pairs therefore imply the same marginal distribution, \(N(12,9)\), for a single measurement. The observed sample variance of 9 (mg/L)\(^2\) is consistent with that total variance, but it does not determine how much belongs to the random intercept and how much to residual error. The arithmetic illustrates the identifiability limit; it is not a claim that the sample variance must equal the fitted population variance.
A fit that returns one particular split between these components may be relying on constraints, fixed values, other model structure, or numerical details. That output should not be interpreted as evidence that these one-record data separately measured both variances.
Repeated Measurements Help, but Do Not Guarantee Stability
For \(m\) repeated measurements in the random-intercept model, a simple moment relationship is \(\operatorname{Var}(\bar{Y}_i)=\omega^2+\sigma^2/m\). Within-individual variation also informs \(\sigma^2\), because the shared \(\eta_i\) cancels when measurements from the same individual are differenced. These facts explain why repeated records can separate the two variance components. They do not mean that any small dataset will estimate them precisely: both the number of individuals and the pattern of their repeated observations matter.
Worked Example: Using Two Measurements per Individual
Consider a hypothetical dataset of eight individuals, each measured twice under conditions where the random-intercept model is plausible. Suppose the sample variance of the eight individual means is 8.0 (mg/L)\(^2\), and the average within-individual sample variance is 3.0 (mg/L)\(^2\). Use the moment relationship to illustrate the information available.
With two observations per individual, \(m=2\), so the variance of an individual mean is \(\omega^2+\sigma^2/2\). Taking the within-individual variance summary as an estimate of \(\sigma^2\), substitute the given summaries:
The corresponding illustrative residual variance estimate is \(\widehat{\sigma^2}=3.0\) (mg/L)\(^2\). The individual means have an estimated variance of \(6.5+3.0/2=8.0\) (mg/L)\(^2\), matching the stated summary. Unlike the one-observation case, this calculation uses separate within- and between-individual information.
These are moment estimates from hypothetical summaries, not a substitute for fitting and checking a likelihood model. With only eight individuals, the variance estimates may be quite uncertain. If the observed variance of individual means had instead been 1.0 (mg/L)\(^2\), the same subtraction would give \(1.0-3.0/2=-0.5\) (mg/L)\(^2\). A negative value is not an admissible random-effect variance; it signals that these noisy summaries do not support a positive estimate by this calculation. A constrained likelihood fit may place the estimate at the boundary of zero, but the boundary result does not establish that the true population variance is exactly zero.
Random Slopes Need Informative Within-Individual Spread
Sparse sampling is especially consequential when a model includes random slopes. For example, let response depend linearly on time, with an individual-specific intercept and slope:
Here \(b_{0i}\) and \(b_{1i}\) are individual deviations, with a population covariance matrix describing their variances and covariance. For a given individual, the design matrix has rows \((1,t_{ij})\). Under independent residual errors with variance \(\sigma^2\), the information matrix for that individual's intercept and slope, conditional on the residual model, is \(X_i^\mathsf{T}X_i/\sigma^2\). The determinant of the unscaled design cross-product is:
To see this, the entries of \(X_i^\mathsf{T}X_i\) are \(m\), \(\sum_j t_{ij}\), and \(\sum_j t_{ij}^2\). Its determinant is \(m\sum_j t_{ij}^2-(\sum_j t_{ij})^2\), which equals \(m\sum_j(t_{ij}-\bar{t}_i)^2\). If all the times are identical, this determinant is zero: the individual intercept and slope cannot be separated from that individual's records. A narrow time range makes the determinant small and slope information weak.
Worked Example: Two Time Points and Slope Information
Compare two hypothetical designs that each give one individual two observations. In Design A the times are 0.9 and 1.1 hours; in Design B they are 0 and 2 hours. Suppose the residual standard deviation is 2 mg/L in both designs, so \(\sigma^2=4\) (mg/L)\(^2\).
For Design A, the mean time is 1.0 hour and the sum of squared deviations is \((0.9-1.0)^2+(1.1-1.0)^2=0.02\) hours\(^2\). The conditional slope information after accounting for the intercept is \(\sum_j(t_{ij}-\bar{t}_i)^2/\sigma^2\), giving \(0.02/4=0.005\) in the corresponding inverse slope-variance units.
For Design B, the mean time is 1.0 hour and the sum of squared deviations is \((0-1)^2+(2-1)^2=2\) hours\(^2\). Its conditional slope information is \(2/4=0.5\) in the same units. The ratio is \(0.5/0.005=100\): Design B provides 100 times the conditional slope information for this individual under the stated linear model and residual variance.
This comparison does not mean that two observations identify a population random-slope distribution reliably. Estimating that distribution also depends on information across independent individuals and on the appropriateness of the model. It shows why observation count alone is inadequate: the time spread can change the information substantially.
Diagnostics and Practical Comparisons
When a random-effects fit is unstable, inspect the design before concluding that a covariance calculation has failed. Useful summaries include the number of observations per individual, the distribution of those counts, the time or covariate range within individuals, and how many individuals contribute information to each part of the design. A large total record count can conceal a large group with only one observation each.
Weak support may appear as a variance estimate at or near zero, a covariance estimate that changes substantially across starts, a correlation near its allowable limit, broad uncertainty, or a likelihood profile that changes little over a range of parameter values. A failed covariance step can also arise when the fitted information matrix is poorly conditioned. The earlier material on covariance eigenstructure explains how to examine that numerical symptom; sparse design is one possible reason the likelihood contains little curvature in a parameter direction.
The main alternatives address different limitations:
- Use a simpler random-effects structure. If the data do not support a random slope or an intercept-slope covariance, a model with fewer random-effects parameters may be more estimable. This changes the model assumptions and should be scientifically justified; it does not prove the omitted variation is absent.
- Improve the sampling design. Additional observations at informative times or covariate values can help distinguish individual effects from residual error. Adding many records at nearly identical conditions may contribute less than adding measurements that broaden within-individual support.
- Use a different residual model only when justified. Changing the residual variance structure can alter how variation is partitioned. It should reflect a plausible observation process, rather than being used solely to force a preferred random-effects estimate.
- Compare population likelihood with individual-level summaries cautiously. Estimating an effect separately for each individual and then treating those estimates as observed random effects can be unreliable when records are sparse. Empirical Bayes estimates are informed by the population distribution and are commonly shrunk toward the population mean; their observed spread is therefore not a direct estimate of the random-effects variance.
No universal observation-per-individual threshold determines whether a variance or covariance is estimable. The answer depends on the model, the number of independent individuals, the sampling schedule, residual error, and the information contributed by covariates and other parts of the design. Even with a structurally identifiable model, a particular dataset can yield imprecise estimates.
Common Mistake
A useful debugging sequence is to summarize individual-level support, connect each random effect to the observations that can inform it, and then examine whether estimates are stable and scientifically plausible. Keep the distinction clear between a parameter that the design cannot separate, one that is technically identifiable but imprecise, and one that is supported but difficult for the numerical procedure to estimate.
Check Your Understanding
Answer each question, then compare with the brief solutions.
- In the one-observation random-intercept model, what combination of \(\omega^2\) and \(\sigma^2\) determines the marginal variance?
- Why can repeated observations help distinguish random-intercept variance from residual variance?
- Two observations for each individual occur at the same time. What does that imply for separating an individual intercept and slope in the linear random-slope model?
- Why should the spread of empirical Bayes random-effect estimates not automatically be used as the population random-effects variance?
- A fit estimates a random-effect variance at zero. Does that alone prove the population variance is zero? State one other possible explanation.
Solutions. (1) The marginal variance is \(\omega^2+\sigma^2\), so one observation per individual does not separate the two components under the stated model. (2) The shared random intercept induces covariance between an individual's observations, while independent residual errors do not; within-individual differences also cancel the intercept. (3) With no time spread, the individual's intercept and slope are not separately informed by those records; the design cross-product determinant is zero. (4) Empirical Bayes estimates are shrunken toward the population mean, particularly when individual data are sparse, so their spread need not equal the population variance. (5) No. Weak information, finite-sample variation, or other model and numerical issues can also produce a boundary estimate.