log_prior_5pars_root_bounds {BBMV}R Documentation

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.

Author(s)

F. C. Boucher


[Package BBMV version 2.1 Index]