Why the Joint Covariate Distribution Matters
A population design can include many subjects and still provide weak information about covariate effects. The issue is not only how many subjects have each covariate value, but also how the covariates occur together. If two covariates tend to move together, their effects may be difficult to distinguish. If their joint distribution is well spread, the design can provide more distinct information about each effect.
This tutorial studies that issue with two covariates coded as \(-1\) or \(+1\). A deliberately simple local model makes the allocation effect visible without requiring a full pharmacometric model. The calculations concern information for a typical value and two covariate effects; they do not imply that covariate balance alone guarantees a good design for every population parameter.
The example model assumes that the mean is linear in the coded covariates, the residual variance is the same for all subjects, and subject responses are independent. The covariates are treated as fixed design values. For the numerical examples, take \(\sigma^2=4\), so each subject contributes one quarter of the outer product of its design row to the information matrix. This is a transparent special case of a local information calculation: in a more general model, subject-level contributions can differ, but the same design question remains—how do their covariate sensitivities combine?
Balanced Allocation: An Orthogonal Reference
Suppose 40 hypothetical subjects are allocated equally to the four possible covariate patterns. With 10 subjects in each cell, both covariates have mean zero, and their cross-product sum is zero. Their squared-value sums are each 40 because every coded value has square 1.
Worked Example: Equal Allocation to All Four Covariate Patterns
For 10 subjects in each of \((+1,+1)\), \((+1,-1)\), \((-1,+1)\), and \((-1,-1)\), the design cross-product matrix is
Dividing by the assumed residual variance gives
The inverse information matrix is \(\operatorname{Var}(\hat{\theta}_0,\hat{\beta}_1,\hat{\beta}_2)=I^{-1}=\operatorname{diag}(0.1,0.1,0.1)\) under this model. Thus each coefficient has standard error \(\sqrt{0.1}=0.3162\) response units. The zero off-diagonal entries mean that the estimated typical value and the two estimated effects have zero covariance in this particular model and allocation.
This reference design is balanced both marginally and jointly. Each covariate has equal numbers at its two levels, and every combination occurs equally often. The resulting columns of \(X\) are orthogonal: no column can be represented by a linear combination of the others. That property explains the diagonal information matrix, rather than balance being a guarantee that every possible model parameter is estimated precisely.
Centering Separates the Typical Value From the Effects
When covariate means are not zero, the intercept \(\theta_0\) refers to the response at covariate values zero, which may not describe a typical subject. Define the sample covariate means as \(\bar{x}_1\) and \(\bar{x}_2\), and center each covariate by subtracting its mean. The corresponding typical value is \(\alpha=\theta_0+\beta_1\bar{x}_1+\beta_2\bar{x}_2\). The slopes are unchanged; the intercept is now the mean-model value at the observed covariate means.
The centered information matrix has a useful form. Write \(S_{jk}=\sum_i(x_{ij}-\bar{x}_j)(x_{ik}-\bar{x}_k)\). The intercept column of the centered design matrix is a column of ones, while each centered covariate column sums to zero. Therefore its cross-product with the intercept column is zero, and
This is a reparameterization of the same model, not a change to the observations or an increase in information. It makes the typical value orthogonal to the effects in this parameterization. The two effects can still be correlated with each other if \(S_{12}\ne 0\). In addition, the information for the effects after accounting for the typical value is determined by the centered cross-products, not simply by the uncentered covariate sums of squares.
Imbalance Can Couple the Covariate Effects
Consider another hypothetical allocation: 20 subjects have pattern \((+1,+1)\), 10 have \((+1,-1)\), and 10 have \((-1,+1)\); there are no subjects with \((-1,-1)\). Each covariate has mean \(0.5\). The covariates are not independent in this allocation, even though their uncentered cross-product sum happens to be zero. Centering is essential for assessing their association around the observed means.
Worked Example: An Imbalanced Three-Cell Allocation
The covariate sums are \(\sum_i x_{i1}=20+10-10=20\) and \(\sum_i x_{i2}=20-10+10=20\), so \(\bar{x}_1=\bar{x}_2=20/40=0.5\). Each squared-value sum is 40. The uncentered cross-product sum is \(20-10-10=0\), because the three groups contribute \(+1,-1,-1\), respectively, per subject. Thus
For the centered covariates, the cross-product is
Likewise, \(S_{11}=S_{22}=40-40(0.5)^2=30\). The information in the centered parameterization is therefore
The centered covariate correlation is \(S_{12}/\sqrt{S_{11}S_{22}}=-10/30=-1/3\). The inverse of the centered effect-information block is
Each effect estimate consequently has standard error \(\sqrt{0.15}=0.3873\) response units, compared with \(0.3162\) in the equally allocated design. The effect estimates have positive covariance \(0.05\) response-units squared in this parameterization. A negative correlation between the covariates does not imply a negative covariance between their coefficient estimates: the inverse information matrix determines the latter. Here, centering shows that the typical value is separated from the effects, while the two effects remain statistically coupled.
The arithmetic also illustrates why it is unsafe to infer balance from an uncentered cross-product alone. In this allocation the raw cross-product is zero, but both covariate means are nonzero. Subtracting \(n\bar{x}_1\bar{x}_2=10\) gives a negative centered cross-product. The centered quantities describe variation around the actual population represented by the design.
Marginal Balance Does Not Ensure Joint Balance
Equal numbers at each level of each covariate are not sufficient to ensure that the effects are distinguishable. A design can be perfectly balanced on both margins but place subjects only in two diagonal cells. In that case the covariates move together exactly: observing one reveals the other. The model can then estimate only a combination of the two effects.
Worked Example: Balanced Margins With a Non-Identifiable Contrast
Suppose 20 hypothetical subjects have pattern \((+1,+1)\) and 20 have pattern \((-1,-1)\). Both covariate means are zero, and both covariates have 20 observations at each level. However, their cross-product sum is 40 because every subject has \(x_{i1}x_{i2}=1\). The information matrix is
The effect block has determinant \(10(10)-10(10)=0\). In fact, \(x_{i1}=x_{i2}\) for every subject, so the mean response depends on \(\beta_1+\beta_2\), not on the two effects separately. The direction \((1,-1)\) has zero information: changing \(\beta_1\) and \(\beta_2\) by opposite amounts leaves every fitted mean unchanged. Marginal balance has not prevented a joint-distribution failure.
Diagnostics, Alternatives, and Limits
For a two-covariate design, inspect the joint cell counts as well as the marginal counts. In a local information calculation, also inspect the centered cross-products and the associated correlation. A large absolute correlation indicates that the two covariate columns point in similar or opposite directions, so separating their effects may be difficult. A zero or nearly zero determinant of the effect-information block signals non-identifiability or weak information in at least one direction. These checks should be performed after confirming that covariates were coded and centered as intended.
There are several useful design alternatives, each answering a different question:
- Marginal balancing makes the individual covariate distributions comparable across levels, but it does not control dependence between covariates. The diagonal-cell example shows its limitation.
- Balanced factorial allocation spreads subjects across all joint patterns. In the equal-weight, two-level example, equal allocation makes the covariate columns orthogonal and gives equal information for the two effects.
- Model-based allocation comparison evaluates the information matrix under the intended model and compares the precision or other chosen design criterion. This can accommodate unequal subject contributions, but the result depends on those modeled contributions and assumptions.
Balanced allocation is not automatically optimal when covariate patterns have different costs, are rare in the target population, or yield different response sensitivities. In a pharmacometric setting, a subject's contribution may depend on the covariate values through the model and may also depend on their planned observations. The equal-\(\sigma^2\) calculation here isolates the geometry of the covariates; it is not a substitute for evaluating the relevant population information under the planned model and sampling design.
A common mistake is to reason, “Both covariates have half their subjects at each level, so both effects must be well estimated.” That conclusion uses marginal counts but ignores the joint patterns. If only \((+1,+1)\) and \((-1,-1)\) occur, the effects are inseparable despite perfectly balanced margins. Check whether all relevant directions in the design are supported; centering changes the meaning of the intercept but cannot create information absent from the joint allocation.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions below.
- In the equal four-cell design with 40 subjects and residual variance 4, what is the information for each covariate effect, and what is its standard error?
- For the 20 \((+1,+1)\), 10 \((+1,-1)\), 10 \((-1,+1)\) allocation, calculate the centered cross-product and covariate correlation.
- Why does centering separate the typical value from the covariate effects but fail to remove dependence between the two effects?
- In the allocation containing only \((+1,+1)\) and \((-1,-1)\), which combination of effects is informed by the data, and which contrast is not identifiable?
Solutions. (1) Each effect has information \(40/4=10\), so its standard error is \(\sqrt{1/10}=0.3162\) response units. (2) The means are both \(0.5\), the raw cross-product is \(0\), and \(S_{12}=0-40(0.5)(0.5)=-10\). Since each centered sum of squares is 30, the correlation is \(-10/\sqrt{30\cdot30}=-1/3\). (3) Centered covariate columns sum to zero, making their cross-products with the intercept column zero; their own cross-product \(S_{12}\) need not be zero. (4) Since \(x_{i1}=x_{i2}\) for every subject, fitted means contain \(\beta_1+\beta_2\); the contrast \(\beta_1-\beta_2\) is not identifiable.