What the Fixed-Effects Covariance Matrix Describes
An NLME fit produces estimates of population fixed effects, such as typical parameter values and covariate effects. Those estimates are uncertain because they were obtained from finite, variable data. The estimated covariance matrix of the fixed-effects estimates summarizes that uncertainty locally: its diagonal entries describe the estimated variances of individual estimates, while its off-diagonal entries describe how pairs of estimates vary together.
This matrix is not the random-effects covariance matrix. The latter describes between-subject variation in individual parameters. The fixed-effects covariance matrix instead describes uncertainty in the estimated population parameters. Keeping these two sources separate matters when assessing how much confidence to place in a fitted value or derived quantity.
For a single estimate, the estimated standard error is \(SE(\hat{\theta}_j)=\sqrt{V_{jj}}\). The covariance is not itself a standard error: it has squared parameter units on the diagonal, and the units of the two parameters combined off the diagonal. A correlation can be calculated as \(V_{jk}/\sqrt{V_{jj}V_{kk}}\), which puts the association between estimates on a scale from \(-1\) to \(1\).
The covariance matrix is commonly obtained from the curvature of the fitted likelihood, or an equivalent estimation criterion, near its optimum. It therefore supports a local uncertainty approximation. It does not by itself establish that the fitted model is correct, that the likelihood is well behaved far from the optimum, or that a normal approximation is adequate.
Why the Normal Approximation Appears
Under regularity conditions, an estimator based on a sufficiently informative sample is approximately multivariate normal near the true parameter. In practical terms, this approximation is most credible when the parameters are identifiable, the optimum is well inside the allowed parameter space, the likelihood is reasonably quadratic near the optimum, and the covariance estimate is stable. In that setting, a marginal estimate can be summarized approximately as \(\hat{\theta}_j\) plus or minus a normal quantile times its standard error.
The local justification comes from approximating the log likelihood around its maximum. Let \(\ell(\theta)\) be the log likelihood and let \(\hat{\theta}\) maximize it. A second-order Taylor expansion around \(\hat{\theta}\), where the first derivative is zero, gives
where \(J(\hat{\theta})\) is the observed information matrix, the negative Hessian of the log likelihood at the estimate. If this curvature matrix is nonsingular and the quadratic approximation is adequate nearby, the likelihood has an approximately normal shape, with covariance approximately \(J(\hat{\theta})^{-1}\). An estimator's covariance matrix may be calculated using this or a related curvature-based method. The argument explains both the appeal and the limitation: the approximation describes local curvature, not the full likelihood shape.
For a marginal 95% Wald interval, the usual calculation is \(\hat{\theta}_j\pm1.96SE(\hat{\theta}_j)\). Its frequentist interpretation is that, under the model and repeated-sampling conditions supporting the approximation, intervals constructed this way would cover the fixed parameter about 95% of the time. It is not a statement that the particular interval has a 95% probability of containing the parameter.
Worked Example: Marginal Uncertainty for Two Fixed Effects
Suppose a hypothetical NLME fit estimates \(\theta_1\), a population intercept on a log-parameter scale, as 1.61, and \(\theta_2\), a covariate effect on the same scale, as 0.20. The estimated covariance matrix is
The marginal standard errors are the square roots of the diagonal elements:
For \(\theta_1\), the approximate 95% Wald interval is \(1.61\pm1.96(0.200)\), or \(1.61\pm0.392=[1.218,2.002]\). For \(\theta_2\), it is \(0.20\pm1.96(0.100)\), or \(0.20\pm0.196=[0.004,0.396]\). These intervals are on the fitted log-parameter scale; interpreting them on another scale would require an explicit transformation.
The estimated correlation between the two estimates is \(-0.0060/(\sqrt{0.0400}\sqrt{0.0100})=-0.30\). Thus, locally, higher estimates of one tend to accompany lower estimates of the other. This correlation concerns uncertainty in the fitted fixed effects; it is not a correlation between subjects' random effects.
Uncertainty for a Linear Combination
Many quantities of interest combine several fixed effects. For a fixed vector \(a\), the linear combination is \(a^\mathsf{T}\theta\), estimated by \(a^\mathsf{T}\hat{\theta}\). Its estimated variance is not generally the sum of marginal variances alone. It is
This expression includes the covariance terms. If two estimates move together, their covariance increases the uncertainty of some combinations and decreases the uncertainty of others. Omitting the off-diagonal terms can therefore produce an incorrect standard error even when every marginal standard error is correct.
The variance formula follows directly from the definition of covariance. Write \(a^\mathsf{T}\hat{\theta}=\sum_j a_j\hat{\theta}_j\). Expanding the variance of this sum gives \(\sum_j a_j^2\operatorname{Var}(\hat{\theta}_j)+2\sum_{j<k}a_ja_k\operatorname{Cov}(\hat{\theta}_j,\hat{\theta}_k)\), which is exactly the matrix product \(a^\mathsf{T}Va\). This also shows why every covariance term must be retained.
Worked Example: Uncertainty for a Predicted Linear Predictor
Consider a hypothetical fixed-effects predictor \(\eta(x)=\theta_1+x\theta_2\), with \(x=2\). Suppose \(\hat{\theta}_1=0.50\), \(\hat{\theta}_2=0.30\), and
The estimated predictor is \(\hat{\eta}(2)=0.50+2(0.30)=1.10\). Here \(a=(1,2)^\mathsf{T}\), so its variance is
Thus \(SE(\hat{\eta}(2))=\sqrt{0.0445}=0.2110\), and the approximate 95% interval is \(1.10\pm1.96(0.2110)=1.10\pm0.4136=[0.6864,1.514]\). The negative covariance reduces the uncertainty of this particular sum. Using only the diagonal entries would give variance \(0.0625\) and an unnecessarily large standard error of \(0.250\); that calculation would ignore the fitted dependence between estimates.
When Is a Normal Approximation Plausible?
A covariance matrix gives a scale for local uncertainty, but it does not diagnose all aspects of the likelihood. Plausibility should be judged using the estimation context as well as the numerical matrix. Useful checks include:
- Interior estimates: the estimate should not sit at, or very close to, a parameter boundary. A symmetric normal approximation can assign substantial mass to impossible values near a boundary.
- Identifiability and curvature: estimates should not be supported by an almost flat likelihood direction. Very large standard errors, near-singular covariance matrices, or strong parameter correlations can signal weak identification.
- Optimization and matrix validity: the fit should have converged appropriately, and the covariance matrix should be symmetric and positive semidefinite up to numerical tolerance. A materially negative diagonal variance is not interpretable as uncertainty and requires investigation.
- Likelihood shape: strong skewness or asymmetry around the optimum weakens a symmetric Wald interval, even if the optimizer reports a covariance matrix.
- Scale and parameterization: interpret standard errors on the scale used for estimation. A normal approximation on one scale need not remain normal after a nonlinear transformation.
These checks are warnings and evidence, not a mechanical pass/fail test. A positive-definite matrix is necessary for a nondegenerate multivariate normal approximation, but it does not prove that the likelihood is quadratic or that the model is well specified. Conversely, high correlation alone does not establish failure; it may reflect a real trade-off between parameters, although a value near \(1\) or \(-1\) can indicate that the data distinguish their effects poorly.
Worked Example: A Boundary Warning
Suppose a hypothetical model estimates a fraction parameter \(\theta\), constrained to the interval \([0,1]\), as \(\hat{\theta}=0.030\), with estimated variance \(0.0025\). The marginal standard error is \(\sqrt{0.0025}=0.050\). A nominal 95% Wald interval is
The lower endpoint is outside the parameter space, and the estimate is close to the lower boundary relative to its standard error. This is evidence that a symmetric normal approximation may be poor, not evidence that negative fractions are scientifically meaningful. The covariance-based calculation is arithmetically correct, but its inferential interpretation is questionable unless the local normal approximation is credible. The boundary and the likelihood shape should be examined before using this interval as a reliable summary.
Choosing and Interpreting an Uncertainty Summary
Covariance-based standard errors are compact and efficient when the likelihood is approximately quadratic and the fit is well identified. They provide marginal summaries and uncertainty for linear combinations without requiring a new model fit. The principal alternative summaries answer the same broad uncertainty question in different ways: profile-likelihood intervals use likelihood behavior away from the optimum and can reveal asymmetry; bootstrap intervals use variation across resampled data sets; Bayesian posterior summaries describe uncertainty conditional on a prior and likelihood. These approaches have their own assumptions and costs. They are not interchangeable by default, and none repairs a misspecified model automatically.
A common mistake is to treat the reported standard errors as independent simply because they are listed separately. For example, calculating uncertainty for \(\theta_1+\theta_2\) using only \(V_{11}+V_{22}\) silently assumes the covariance is zero. The correction is to use the complete matrix and calculate \(a^\mathsf{T}Va\). Another mistake is to interpret a narrow covariance-based interval as proof of certainty: it quantifies local estimation uncertainty under the fitted model and approximation, not uncertainty from every modeling choice or source of variability.
Confirm that the matrix is the estimated covariance of fixed-effects estimates, not the random-effects covariance matrix.
Take square roots of diagonal entries for marginal standard errors, and preserve the parameterization and units.
For a linear combination, calculate \(a^\mathsf{T}Va\), retaining every off-diagonal covariance contribution.
Check convergence, boundaries, identifiability, matrix validity, and whether a symmetric local approximation is credible.
Check Your Understanding
Answer each question using the definitions and calculations in this tutorial.
- A fitted coefficient has estimated variance \(0.0144\). What is its estimated standard error?
- For a two-parameter estimate, \(V_{11}=0.09\), \(V_{22}=0.04\), and \(V_{12}=0.03\). Calculate the estimated variance and standard error of \(\hat{\theta}_1-\hat{\theta}_2\).
- Why is a normal approximation concerning for a parameter estimated near its lower boundary?
- Does a positive-definite estimated covariance matrix prove that a Wald interval is reliable? Explain.
Solutions. (1) \(SE=\sqrt{0.0144}=0.120\), in the coefficient's units. (2) For \(a=(1,-1)^\mathsf{T}\), the variance is \(V_{11}+V_{22}-2V_{12}=0.09+0.04-2(0.03)=0.07\), so the standard error is \(\sqrt{0.07}=0.2646\). (3) A symmetric normal approximation can extend into values prohibited by the parameter space, and proximity to a boundary can accompany an asymmetric likelihood. (4) No. Positive definiteness supports a nondegenerate local covariance calculation, but does not establish a quadratic likelihood, adequate identifiability, absence of boundary effects, or correct model specification.