50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

bayesforecast (version 0.0.1)

laplace: Define a Laplace prior distribution

Description

laplace(mu,sd)

Usage

laplace(mu = 0, sd = 1)

Arguments

mu

the location parameter mu

sd

the standard deviation parameter sigma

Value

a numerical vector interpreted as a prior in Stan

Details

Define a Laplace prior distribution using the hyper parameters mu and sigma, by default a standard Laplace distribution is return.

The laplace distribution is exactly the same as the double exponential distribution