priors: Student-t and half-t priors

student_tR Documentation

Student-t and half-t priors

Description

Student-t and half-t priors. Note that this can be used to represent an effectively normal distribution prior by setting the first argument (the degrees of freedom parameter) to a large value (roughly 50 or above).

Usage

student_t(df = 3, location = 0, scale = 1)

half_t(df = 3, location = 0, scale = 1)

Arguments

df

Degrees of freedom parameter

location

Location parameter

scale

Scale parameter

Examples

student_t(3, 0, 1)
half_t(3, 0, 1)

glmmfields documentation built on Oct. 21, 2023, 1:06 a.m.