50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


BBMV (version 2.1)

log_prior_5pars_root_bounds: Prior function.

Description

Internal function that calculates the log prior, used in MCMC estimation of the BBM+V model.

Usage

log_prior_5pars_root_bounds(type = c(rep("Normal", 4), "Uniform") , shape = 
  list(c(0, 10), c(0, 10), c(0, 10), c(0, 10), NA), pars, Npts)

Arguments

type

A vector giving the type of prior for each parameter.

shape

A list giving the shape of the prior for each parameter.

pars

The parameter values at which the prior should be evaluated.

Npts

The number of points on the grid.