Tutorials › Multivariate Statistics (Graduate) › Deriving Conditional Factor Score Uncertainty

Factor Rotation and Assessment · Tutorial 568 of 975

Deriving Conditional Factor Score Uncertainty

Derive the conditional mean and covariance of Gaussian factors, then use the covariance matrix to assess uncertainty in regression factor scores.

Advanced 12 min read

What You'll Learn

  • State the Gaussian factor-model assumptions needed for conditional scoring.
  • Derive the conditional mean of factors given an observed vector.
  • Compute conditional factor covariance in covariance and precision forms.
  • Interpret the diagonal and off-diagonal entries of score uncertainty.
  • Verify that conditional uncertainty does not depend on the observed score value.
  • Distinguish conditional factor uncertainty from uncertainty in estimated model parameters.

Why a Factor Score Needs an Uncertainty Measure

A regression factor score assigns a value to each latent factor based on the observed variables. But the same observed vector can be compatible with multiple factor values: measurement error and overlap among factor effects leave uncertainty even after the data are observed. A score without that uncertainty measure can look more definitive than the model warrants.

Under a Gaussian factor model, the conditional distribution of the factors given the observations is available in closed form. Its mean is the regression factor score, and its covariance quantifies the remaining uncertainty. The formulas apply to orthogonal and oblique factors, provided the factor covariance is handled consistently.

Gaussian Factor-Model Setup

Let \(X\) be a \(p\)-dimensional observed random vector and \(F\) a \(q\)-dimensional latent factor vector. Assume the model

$$ X=\mu+\Lambda F+\varepsilon, $$

where \(\mu\) is a \(p\)-vector, \(\Lambda\) is a \(p\times q\) loading matrix, \(F\sim N(0,\Phi)\), and \(\varepsilon\sim N(0,\Psi)\). Assume \(F\) and \(\varepsilon\) are independent, and that \(\Phi\) and \(\Psi\) are positive definite. In the usual factor model, \(\Psi\) is diagonal with positive uniqueness variances. These assumptions make the observed covariance \(\Sigma=\Lambda\Phi\Lambda'+\Psi\) positive definite as well. Throughout, model parameters are treated as known.

Definition: For an observed value \(x\), the conditional factor distribution is the distribution of \(F\) given \(X=x\). Its conditional mean \(E[F\mid X=x]\) is the regression factor score. Its conditional covariance \(\operatorname{Cov}(F\mid X=x)\) describes uncertainty about the factor vector after observing \(x\), conditional on the specified model and its parameters.

The positive-definiteness assumptions are useful both mathematically and practically: they ensure the inverses in the formulas below exist. The derivation uses the full covariance \(\Phi\); setting \(\Phi=I\) is appropriate only for an orthogonal, unit-variance factor parameterization.

Conditional Mean and Covariance

Write \(y=x-\mu\) for the centered observed vector. The joint distribution of \(F\) and \(X\) is Gaussian, with \(E[F]=0\), \(E[X]=\mu\), \(\operatorname{Cov}(X)=\Sigma\), and \(\operatorname{Cov}(F,X)=\Phi\Lambda'\). Conditioning a jointly Gaussian vector therefore gives the following result.

Theorem: Under the stated Gaussian factor-model assumptions,
$$ F\mid X=x\sim N\!\left( \Phi\Lambda'\Sigma^{-1}(x-\mu),\ \Phi-\Phi\Lambda'\Sigma^{-1}\Lambda\Phi \right), \qquad \Sigma=\Lambda\Phi\Lambda'+\Psi. $$

The same conditional covariance has a useful precision-form expression:

$$ C=\operatorname{Cov}(F\mid X=x) =(\Phi^{-1}+\Lambda'\Psi^{-1}\Lambda)^{-1}, \qquad E[F\mid X=x]=C\Lambda'\Psi^{-1}(x-\mu). $$

Here \(C\) does not depend on \(x\). Different observations can produce different conditional means, but under a fixed model they share the same conditional covariance.

Deriving the Conditional Distribution

A direct derivation makes clear why the precision form involves both the prior factor covariance and the measurement error covariance. For a realized factor vector \(f\), the density of \(F\) is proportional to \(\exp(-\tfrac12 f'\Phi^{-1}f)\). Given \(F=f\), the observed centered vector \(y\) has density proportional to \(\exp(-\tfrac12(y-\Lambda f)'\Psi^{-1}(y-\Lambda f))\). Independence and Bayes’ rule imply that the conditional density of \(F\) given \(X=x\), as a function of \(f\), is proportional to their product.

1
Collect the terms involving \(f\).
Expand the measurement-error quadratic and add the prior quadratic. The terms that depend on \(f\) are \(f'(\Phi^{-1}+\Lambda'\Psi^{-1}\Lambda)f-2f'\Lambda'\Psi^{-1}y\). The remaining term \(y'\Psi^{-1}y\) is constant in \(f\).
2
Identify the precision and mean.
Set \(A=\Phi^{-1}+\Lambda'\Psi^{-1}\Lambda\) and \(b=\Lambda'\Psi^{-1}y\). Both summands in \(A\) are positive definite or positive semidefinite, and \(\Phi^{-1}\) is positive definite, so \(A\) is positive definite. Completing the square gives \(f'Af-2f'b=(f-A^{-1}b)'A(f-A^{-1}b)-b'A^{-1}b\).
3
Read off the conditional Gaussian law.
The resulting density is proportional to a Gaussian density with mean \(A^{-1}b\) and covariance \(A^{-1}\). Thus \(C=A^{-1}\) and \(E[F\mid X=x]=C\Lambda'\Psi^{-1}y\).

For completeness, these precision-form expressions equal the covariance-form expressions in the theorem. The matrix identity \((\Phi^{-1}+\Lambda'\Psi^{-1}\Lambda)\Phi\Lambda' =\Lambda'\Psi^{-1}(\Psi+\Lambda\Phi\Lambda')\) shows, after multiplying by the appropriate inverses, that \(C\Lambda'\Psi^{-1}=\Phi\Lambda'\Sigma^{-1}\). Also, \(C=\Phi-\Phi\Lambda'\Sigma^{-1}\Lambda\Phi\): multiplying the right-hand side by \(A\) gives \(I\), using \(\Sigma=\Psi+\Lambda\Phi\Lambda'\), so it is \(A^{-1}\). This proves both expressions for the conditional mean and covariance. \(\square\)

Worked Calculations

Worked Example: One Factor Measured by Two Variables

Let \(q=1\), \(\Phi=1\), \(\Lambda=(1,1)'\), and \(\Psi=I_2\), with \(\mu=0\). Then \(\Sigma=\Lambda\Lambda'+I_2=\begin{pmatrix}2&1\\1&2\end{pmatrix}\), whose inverse is \(\frac13\begin{pmatrix}2&-1\\-1&2\end{pmatrix}\). For the observation \(x=(2,0)'\), the regression score is

$$ E[F\mid X=x] =\Lambda'\Sigma^{-1}x =(1,1)\frac13 \begin{pmatrix}2&-1\\-1&2\end{pmatrix} \begin{pmatrix}2\\0\end{pmatrix} =\frac23. $$

The conditional variance is \[ 1-\Lambda'\Sigma^{-1}\Lambda =1-(1,1)\frac13\begin{pmatrix}1\\1\end{pmatrix} =1-\frac23=\frac13. \] Thus \(F\mid X=x\sim N(2/3,1/3)\). The variance is positive: the score is an estimate, not a perfectly observed factor value.

Worked Example: Correlated Factors and Oblique Scores

Take \(\Lambda=I_2\), \(\Psi=I_2\), \(\mu=0\), and \(\Phi=\begin{pmatrix}1&1/2\\1/2&1\end{pmatrix}\). This is positive definite because its eigenvalues are \(3/2\) and \(1/2\). Its inverse is \(\Phi^{-1}=\begin{pmatrix}4/3&-2/3\\-2/3&4/3\end{pmatrix}\). The posterior precision and its inverse are

$$ \Phi^{-1}+\Lambda'\Psi^{-1}\Lambda = \begin{pmatrix}7/3&-2/3\\-2/3&7/3\end{pmatrix}, \qquad C= \begin{pmatrix}7/15&2/15\\2/15&7/15\end{pmatrix}. $$

For \(x=(1,0)'\), the precision-form mean is \(C\Lambda'\Psi^{-1}x=C(1,0)'=(7/15,2/15)'\). The conditional distribution is therefore \(N((7/15,2/15)',C)\). The nonzero off-diagonal entry \(2/15\) records conditional association between the two factors; ignoring \(\Phi\) would give a different, incorrect score and uncertainty matrix for this oblique model.

Worked Example: Several Indicators Reduce Uncertainty

Let \(q=2\), \(\Phi=I_2\), \(\Psi=I_3\), \(\mu=0\), and \(\Lambda=\begin{pmatrix}1&0\\0&1\\1&1\end{pmatrix}\). Then \(\Lambda'\Lambda=\begin{pmatrix}2&1\\1&2\end{pmatrix}\), so the posterior precision is \(\begin{pmatrix}3&1\\1&3\end{pmatrix}\). Its determinant is \(9-1=8\), hence

$$ C=(I_2+\Lambda'\Lambda)^{-1} =\frac18\begin{pmatrix}3&-1\\-1&3\end{pmatrix}. $$

For \(x=(1,2,0)'\), \(\Lambda'x=(1,2)'\), and the conditional mean is

$$ E[F\mid X=x] =C\Lambda'x =\frac18\begin{pmatrix}3&-1\\-1&3\end{pmatrix} \begin{pmatrix}1\\2\end{pmatrix} = \begin{pmatrix}1/8\\5/8\end{pmatrix}. $$

The diagonal conditional variances are both \(3/8\), below the prior variances of 1. The off-diagonal conditional covariance is \(-1/8\). It is not contradictory that initially independent factors become conditionally dependent: conditioning on measurements that involve both factors can induce dependence.

Why Conditional Uncertainty Cannot Exceed Prior Uncertainty

The conditional covariance has a precise comparison with the prior covariance. For symmetric matrices, \(B\) is positive semidefinite if \(v'Bv\geq 0\) for every vector \(v\). Write \(C\preceq\Phi\) when \(\Phi-C\) is positive semidefinite.

Theorem: Under the Gaussian factor-model assumptions, \(C\preceq\Phi\). In particular, conditioning on the observed variables cannot increase the variance of any linear combination of the factors.

Proof. From the covariance form,

$$ \Phi-C=\Phi\Lambda'\Sigma^{-1}\Lambda\Phi. $$

For any \(q\)-vector \(v\), \(v'(\Phi-C)v=(\Lambda\Phi v)'\Sigma^{-1}(\Lambda\Phi v)\geq 0\), because \(\Sigma\) is positive definite. Thus \(\Phi-C\) is positive semidefinite. Equivalently, \(\operatorname{Var}(v'F\mid X=x)=v'Cv\leq v'\Phi v=\operatorname{Var}(v'F)\). \(\square\)

This inequality does not say that every factor’s uncertainty must decrease strictly. If some factor direction is not informed by the observed variables, the reduction in that direction can be zero. The theorem also does not include uncertainty from estimating \(\mu\), \(\Lambda\), \(\Phi\), or \(\Psi\): those quantities were treated as fixed.

Reading and Reporting the Uncertainty

The diagonal entry \(C_{jj}\) is the conditional variance of factor \(j\); \(\sqrt{C_{jj}}\) is its conditional standard deviation. An off-diagonal entry \(C_{jk}\) is the conditional covariance between factors \(j\) and \(k\). It can matter when interpreting a joint score or a linear combination of factors, even when the marginal standard deviations are the main reporting focus.

A common mistake is to report the regression score as if it were the known value of the latent factor. The correction is to distinguish its conditional mean from the factor itself and, when uncertainty matters, report the corresponding conditional variance or covariance. A second mistake is to assume that the conditional covariance changes with the observed vector: in this fixed-parameter Gaussian model, the data value changes the conditional mean but not \(C\). A third is to use \(\Phi=I\) automatically; oblique solutions require the actual factor covariance matrix.

Key takeaway: For a Gaussian factor model with known parameters, the regression score is \(E[F\mid X=x]\), while \((\Phi^{-1}+\Lambda'\Psi^{-1}\Lambda)^{-1}\) is the associated conditional uncertainty. The mean gives the best conditional point prediction; the covariance describes what remains unresolved.

Check Your Understanding

Use the assumptions and formulas in this tutorial to answer the following.

  1. Which model assumptions make the conditional factor distribution Gaussian?
  2. In the precision-form expression, what role does each of \(\Phi^{-1}\) and \(\Lambda'\Psi^{-1}\Lambda\) play?
  3. Why is the conditional covariance the same for two different observed vectors under a fixed Gaussian factor model?
  4. What does a nonzero off-diagonal entry of \(C\) describe?
  5. Does \(C\preceq\Phi\) imply that every factor’s conditional variance is strictly smaller than its prior variance? Explain.
  6. Which source of uncertainty is excluded when model parameters are treated as known?
Clinical Biostats