rgammadf: Generate gamma distribution with vector degrees of freedom

Description Usage Arguments Details Value Examples

Description

Generate gamma distribution with vector degrees of freedom

Usage

1
rgammadf(n = 1, a = rep(1, 2), A = diag(length(a)))

Arguments

n

number of draws from matrix gamma distribution with vector degrees of freedom

a

vector of degrees of freedom (r x 1)

A

scale matrix (r x r)

Details

Generate gamma distribution with vector degrees of freedom. The distribution is described in Shvedov Algorithm by Alexey Balaev

Value

array of generated matrix gamma (n x r x r)

Examples

1
2
X <- rgammadf(n = 5, a = c(1, 2, 3))
X

bdemeshev/vectordf documentation built on May 12, 2019, 9:40 a.m.