prior_inv_exponential: Prior Inverse-Exponential

View source: R/prior.R

prior_inv_exponentialR Documentation

Prior Inverse-Exponential

Description

Prior induced by \kappa = 1 / \nu \sim \mathrm{Exp}(\lambda), giving p(\nu) = \lambda \exp(-\lambda / \nu)\nu^{-2} for \nu > 0. Internally this prior is applied to \nu = \mathrm{lower} + \exp(\theta).

Usage

prior_inv_exponential(lambda = 1, lower = 0, target = "coef")

prior_inv_exp(lambda = 1, lower = 0, target = "coef")

Arguments

lambda

exponential rate on \kappa = 1/\nu

lower

lower shift used in \nu = \mathrm{lower} + \exp(\theta)

target

apply prior on coefficient scale ('"coef"') or field scale ('"field"')

Value

prior specification


ngme2 documentation built on May 20, 2026, 9:10 a.m.