Skip to content

Setting priors for snapper in BEAUti #5

@bmichanderson

Description

@bmichanderson

Hi,

I'm fairly inexperienced setting priors in BEAUti, and I was confused trying to interpret what is stated in the SNAPPER paper (Stoltz et al. 2021) and in the SPEEDEMON paper (Douglas & Bouckaert 2022) with the options available in BEAUti for the SNAPPER template and YSC.

  1. In Stoltz et al. (2021), they model theta with a "CIR" prior in SNAPP and SNAPPER. I can see this as an option in SNAPP, but not in the SNAPPER template in BEAUti. I don't understand exactly what the prior is doing (linking adjacent pop sizes?), nor what settings would make the most sense, but I can't seem to use it in SNAPPER.

  2. Under the Yule Skyline Collapse prior, the birth rate appears to be drawn from a gamma distribution with a set shape and a rate that is sampled during the run. I want to set this sensibly for realistic values of lambda (calculated from my own data based on substitutions per site and a range of expected species numbers). In Douglas & Bouckaert 2022, it seems they set the birth rate to come from a gamma with alpha = 2 and beta from a Log-normal of mean = 1.59 and sd = 0.2. Since the two values are described as "shape" and "rate" in the BEAUti form, I assume that means the mean of the gamma distribution is 2 / 5 = 0.4 (assuming the mean of the log-normal is in log space, so real space = 5?). But comparing that to typical lambda values in the delimitation tutorial, it seems too low. My own data suggest a lambda from about 6 to 30. On the other hand, if the "rate" is instead "scale", then mean would be 2 * 5 = 10, which seems more sensible to me. Or maybe I'm just not understanding what is going on. I guess I would like to know how to set the prior for these to match a lambda I infer from my data.

I realize that SPEEDEMON has just come out, so it may be a bit before there is a tutorial or some hints about setting priors properly (e.g. how many groups, whether to check equal epochs and linked means and what that means biologically). Thanks for any help clearing this up!

Cheers,

Ben

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions