# Hierarchical Prediction Errors in Sparse Observation Models

> Self-authored sample text, not a published paper. See README.md.

## 2. Assumptions

The conditional independence between states, parameters and hyperparameters is stated in this section and is not restated in Section 3. We treat this assumption as given throughout the analysis.

## 3. Methods

We consider a generative model in which latent causes `u` are sampled from a unit normal density to generate a response `y = g(u) + ε`, with `ε ~ N(0, Σ)`. Under sparse observations, the posterior over `u` is recovered by minimising free energy:

```
F = E_q(u)[ln q(u) - ln p(y, u)]                     (1)
```

We compare two estimators on the same synthetic dataset: ReML, which maximises the marginal likelihood, and DEM, which inverts the generative model directly. Both use the same 24 trials described in Table 1.

| Estimator | Trials | Mean error | Reported variance |
| --- | --- | --- | --- |
| ReML | 24 | 0.42 | 0.08 |
| DEM | 24 | 0.37 | 0.06 |

**Table 1.** Results on the same synthetic dataset. Values are illustrative and are not measurements from any study.

**Figure 3.** Response samples were drawn from a unit normal density; the recovery is shown for the same synthetic data only. This is a computational illustration, not a human empirical result.

## 4. Scope

The response may in principle be recovered under other priors, but this is not demonstrated here. We do not claim results on human participants, and we do not restate the conditional independence assumptions from Section 2 in this section.
