two_gamma: 'two_gamma' class

two_gammaR Documentation

two_gamma class

Description

two_gamma class that describes

g() = pi0 gamma(shape1, scale1) + (1-pi0) gamma(shape2, scale2)

Usage

two_gamma(pi0, shape1, scale1, shape2, scale2)

Arguments

pi0

A scalar specifying the weight on point mass at 0

shape1,

A scalar specifying the shape of gamma in first component

scale1,

A scalar specifying the scale of gamma in first component

shape2,

A scalar specifying the shape of gamma in second component

scale2,

A scalar specifying the scale of gamma in second component


stephenslab/ebpm documentation built on Oct. 19, 2023, 1 p.m.