Generate an overparameterized starting point for the MCMC

Share:

Description

This function takes a prior function and generates a starting point that can be entered for startpar in the function bayou.mcmc

Usage

1

Arguments

prior

A prior function

tree

A phylogenetic tree of class 'phylo'

dat

A named data vector

Details

This function creates an "overparameterized" starting point for running the mcmc. It gives n-1 tips a unique optimum close to the actual data value. This is useful if you expect steep likelihood peaks that may be hard to find, as these often will be easier to access from this overparameterized model. Generally, the overparameterization will have a very high likelihood and a very low prior.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.