growth.prior.uniform: Growth Priors

Description Usage Arguments Details Value

Description

Priors for growth rates.

Usage

1
2
3
growth.prior.uniform(max.growth)

growth.prior.gamma(mean, sd, shape = (mean/sd)^2, rate = mean/sd^2)

Arguments

max.growth

the maximum possible growth rate

mean

the mean of the Gamma prior for growth

sd

the standard deviation of the Gamma prior for growth

shape

the shape parameter of the Gamma prior for growth

rate

the rate parameter of the Gamma prior for growth

Details

These functions construct functions to evaluate the contribution to the log prior from each segment, for use with metropolisDate.

The growth.prior.uniform creates a uniform prior that assumes growth rates are uniform up to a user specified maximum rate.

The growth.prior.gamma creates a Gamma prior for grwoth rates. The user can specify the either the parameters of the distribution as either the prior mean and standard deviation or the prior shape and rate of the Gamma distribution.

Value

function to evaluate the contribution to the log prior from each segment.


AustralianAntarcticDataCentre/datemoss documentation built on May 5, 2019, 8:14 a.m.