InverseGamma: Create an Inverse-Gamma Prior

View source: R/distributions.R

InverseGammaR Documentation

Create an Inverse-Gamma Prior

Description

Creates and Inverse Gamma prior in Julia using Distributions.jl

Usage

InverseGamma(shape = 2, scale = 2)

Arguments

shape

shape parameter

scale

scale parameter

Value

A list with the following content

  • juliavar - julia variable containing the distribution

  • juliacode - julia code used to create the distribution

See Also

Gamma

Examples

## Not run: 
  ## Needs previous call to `BayesFluxR_setup` which is time
  ## consuming and requires Julia and BayesFlux.jl
  BayesFluxR_setup(installJulia=TRUE, seed=123)
  net <- Chain(Dense(5, 1))
  like <- likelihood.feedforward_normal(net, InverseGamma(2.0, 0.5))

## End(Not run)

enweg/BFluxR documentation built on Jan. 27, 2024, 6:43 p.m.