gev_norm: Trivariate normal prior for GEV parameters (mu, log sigma,...

View source: R/priors.R

gev_normR Documentation

Trivariate normal prior for GEV parameters (\mu, log \sigma, \xi)

Description

For information about this and other priors see set_prior.

Usage

gev_norm(pars, mean, icov, min_xi = -Inf, max_xi = Inf, trendsd = 0)

Arguments

pars

A numeric vector of length 3. GEV parameters (\mu, \sigma, \xi).

mean

A numeric vector of length 3. Prior mean.

icov

A 3x3 numeric matrix. The inverse of the prior covariance matrix.

min_xi

A numeric scalar. Prior lower bound on \xi.

max_xi

A numeric scalar. Prior upper bound on \xi.

trendsd

Has no function other than to achieve compatibility with function in the evdbayes package.

Value

The log of the prior density.


paulnorthrop/revdbayes documentation built on March 20, 2024, 1:01 a.m.