beta: Define a beta prior distribution

Description Usage Arguments Details Value

View source: R/prior.R

Description

beta(shape1,shape2)

Usage

1
beta(shape1 = 2, shape2 = 2)

Arguments

shape1

the first form parameter

shape2

the second form parameter

Details

Define a beta prior distribution using the hyper parameters shape1 and shape2, by default a beta(2,2) distribution is return.

Value

a numerical vector interpreted as a prior in Stan


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