Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-x4r87 Total loading time: 0 Render date: 2024-04-26T19:52:18.934Z Has data issue: false hasContentIssue false

10 - Posterior analysis and post-processing

from Part II - Practice

Published online by Cambridge University Press:  05 October 2015

Alexei J. Drummond
Affiliation:
University of Auckland
Remco R. Bouckaert
Affiliation:
University of Auckland
Get access

Summary

In this chapter we will have a look at interpreting the output of an MCMC analysis. At the end of a BEAST run, information is printed to the screen, and saved in trace log and tree log files. This chapter considers how to interpret the screen and trace log, while the next chapter deals with tree logs. We have a look at how to use the trace log to compare different models, and diagnose problems when a chain does not converge. As you will see, we emphasise comparing posterior samples with samples from the prior, since you want to be aware whether the outcome of your analysis is due to the data or a result of the priors used in the analysis.

Interpreting BEAST screen log output: At the end of a BEAST run, some information is printed to screen (see listing on page 88) detailing how well the operators performed. Next to each operator in the analysis, the performance summary shows the number of times an operator was selected, accepted and rejected. If the acceptance probability is low (<0.1) or very low (<0.01) this may be an indication that either the chain did not mix very well, or that the tuning parameters for the operator were not appropriate for this analysis. BEAST provides some suggestions to help with the latter case. Note that a low acceptance rate does not necessarily mean that the operator is not appropriately parameterised. For example, when the sequence alignment data strongly support one particular topology, operators that make large changes to the topology (like the wide exchange operator) will almost always be rejected. So, some common sense is required in interpreting low acceptance rates.

If the acceptance rate is high (>0.5), this indicates that the operator is probably making jumps that are too small, and BEAST may produce a suggestion to change a parameter setting for the operator. The exception to this are operators that use the Gibbs distribution (Geman and Geman 1984), which are generally efficient and always accepted.

For relaxed clock models, if the uniform operator on the branch-rate categories parameter has a good acceptance probability (say >0.1) then you do not need the random walk integer operator on branch-rate categories. You could just remove it completely and increase the weight on the uniform operator on branch-rate categories.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2015

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×