student: Define a t student prior distribution

Description Usage Arguments Details Value

View source: R/prior.R

Description

student(mu,sd)

Usage

1
student(mu = 0, sd = 1, df = 5)

Arguments

mu

the location parameter mu

sd

the standard deviation parameter sigma

df

the degree freedom parameter df

Details

Define a t student prior distribution using the hyper parameters mu, sigma and df as degree freedom, by default a standard t-student(0,1,5) distribution with 5 degree freedom is return.

Value

a numerical vector interpreted as a prior in Stan


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