make.mv.gamma.dist: Create a distribution object for a set of uncorrelated Gamma...

Description Usage Arguments Details Value See Also

View source: R/distributions.R

Description

Create a distribution object for a set of uncorrelated Gamma distributions

Usage

1
make.mv.gamma.dist(shape, scale=rep(1, length(shape)))

Arguments

shape

A vector of shape parameters.

scale

A vector of scale parameters. Must have the same length as shape

Details

Defines a distribution object for a multivariate distribution where each marginal density is Gamma and uncorrelated with the other coordinates. The log density is therefore equivalent to sum(dgamma(x, shape, scale=scale, log=TRUE)).

This is included as a test case for comparing how MCMC methods perform on asymmetric distributions.

Value

A scdist object. For convenience, the shape and scale elements are filled in with the parameters passed to make.mv.gamma.dist.

See Also

make.gaussian, compare.samplers


SamplerCompare documentation built on Oct. 22, 2021, 9:14 a.m.