Learn R Programming

bayesforecast (version 1.0.5)

normal: Define a normal prior distribution

Description

normal(mu,sd)

Usage

normal(mu = 0, sd = 1)

Value

a numerical vector interpreted as a prior in Stan

Arguments

mu

the location parameter mu

sd

the standard deviation parameter sigma

Details

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