Skip to main content
Advertisement

< Back to Article

Model diagnostics and refinement for phylodynamic models

Fig 3

Systematic deviation revealed by the marked latent residuals.

(a)-(e) correspond to simulation set 1-5 (from Scenario II where s-d-s model M0 is (inappropriately) fitted to data generated from a within-host-diversity model M1). The histograms depicted in the first row are formed by aggregating residuals whose associated marks ζ(k) lie in the top tercile of marks for any posterior sample for which the p-value of the Anderson-Darling test is less than 0.05. The histograms of ζ(k) are shown in the second row. Residuals associated with smaller ζ(k) may exhibit a multiplicity of patterns (see SI: S1 Fig).

Fig 3

doi: https://doi.org/10.1371/journal.pcbi.1006955.g003