cauchy: Define a Cauchy prior distribution

Description Usage Arguments Details Value

View source: R/prior.R

Description

cauchy(mu,sd)

Usage

1
cauchy(mu = 0, sd = 1)

Arguments

mu

the location parameter mu

sd

the standard deviation parameter sigma

Details

Define a Cauchy prior distribution using the hyper parameters mu and sigma, by default a standard Cauchy(0,1) distribution is return.

Value

a numerical vector interpreted as a prior in Stan


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