Learn R Programming

bayesforecast (version 1.0.1)

student: Define a t student prior distribution

Description

student(mu,sd)

Usage

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

Value

a numerical vector interpreted as a prior in Stan

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.