inverse.chisq: Define an inverse gamma prior distribution

Description Usage Arguments Details Value

View source: R/prior.R

Description

inverse.chisq(df)

Usage

1

Arguments

df

the degree freedom parameter df

Details

Define a inverse chi square prior distribution using the hyper parameter df, by default an inverse.chisq(df = 2) distribution is return.

If sigma has a chi square distribution then 1/sigma has n inverse chi square distribution.

Value

a numerical vector interpreted as a prior in Stan


bayesforecast documentation built on June 17, 2021, 5:14 p.m.