There was an issue in OUMA and OUMVA models in OUwie versions from its origin through 2.17. This has now been fixed. Details below:

Timeline

Priscilla Lau reached out to Jeremy Beaulieu in Aug, 2025, at a conference about an issue she and her collaborators (Bjørn Kopperud and Sebastian Höhna) found in how OUwie calculates the variance-covariance matrix under the OU model when there are different α\alpha parameters, as well as an error in one of the equations in the original Beaulieu et al. (2012) paper. She followed up with an email on Sept 3, 2025; after a discussion of how best to handle this, we put a warning on the use of models with different α\alpha in OUwie (on Sept. 6, 2025). A further email from Priscilla and colleagues had additional details on the issues.

Brian spent some time trying to fix the code; Jeremy swooped in and actually fixed the code.

Rendered equation error in original Beaulieu et al. (2012)

In the appendix on page 2383, when it describes the covariation under an OUMVA\mathrm{OU}_{\mathrm{MVA}} model, the right-most calculation in the final term is rendered as (γ=1k(i,j)σγ2e2sij,γe2sij,γ12αγ), \left(\sum_{\gamma=1}^{k(i,j)} \sigma_\gamma^2 \frac{e^{2s_{ij,\gamma}} - e^{2s_{ij,\gamma-1}}}{2\alpha_\gamma}\right), when it should be (γ=1k(i,j)σγ2e2αsij,γe2αsij,γ12αγ), \left(\sum_{\gamma=1}^{k(i,j)} \sigma_\gamma^2 \frac{e^{2 \alpha s_{ij,\gamma}} - e^{2 \alpha s_{ij,\gamma-1}}}{2\alpha_\gamma}\right), as it is correctly written in Eq. A.26. This is unrelated to the issue below but still worth noting.

Variance-covariance matrix calculation error in OUwie

Second, and of great practical significance, the way OUwie calculated the variance-covariance matrix under the OU model with multiple alphas was indeed incorrect. With an Ornstein-Uhlenbeck process, shared variance decays based on the α\alpha parameter: with stronger α\alpha, what matters more is where two tips are being pulled to rather than their shared history. When calculating this up the tree, OUwie versions before 3.01 used a constant α\alpha rather than varying it based on the different regimes. This means that the variance-covariance matrix and weight vectors were calculated incorrectly when there are multiple α\alpha parameters (i.e., OUMVA and OUMA models).

Adopting the corrections proposed by Priscilla Lau and colleagues, we have updated the code in OUwie version 3.01 (released March 6, 2026) to correctly calculate the variance-covariance matrix under the OU model with multiple α\alpha parameters. We thank Priscilla Lau, Bjørn Kopperud, and Sebastian Höhna for their careful work in identifying this issue and proposing a solution.

FAQ

How big of a difference does this make?

The exact impact will depend on the tree, the α\alpha values, and the data. In some cases it could be substantial. There is no predicted effect of whether this makes OUMVA or OUMA models seem to fit better or worse than they should otherwise.

Are the equations in the Beaulieu et al. (2012) paper correct?

Other than the one noted above, yes. So other software that implemented the equations correctly should be fine, this is just an issue with how OUwie implemented the calculations.

Can I verify how this affects my analyses?

Yes, with OUwie() and similar functions we have added a revert.old argument that defaults to FALSE. If you set revert.old=TRUE, it will always use the old, incorrect method for calculating the variance-covariance matrix. You can compare results with revert.old=TRUE and revert.old=FALSE to see how much of a difference it makes for your specific analysis. We wanted to make sure that any problems are transparent and reproducible.

Was hOUwie affected?

Yes, in the same way for the multiple α\alpha models only, and corrected in the same way.