Learn R Programming

VGAM (version 0.7-1)

simplex: Simplex distribution

Description

The two parameters of the univariate simplex distribution are estimated.

Usage

simplex(lmu = "logit", lsigma = "loge", imu = NULL, isigma = NULL)

Arguments

Value

  • An object of class "vglmff" (see vglmff-class). The object is used by modelling functions such as vglm, and vgam.

Details

See Jorgensen (1997) for details.

References

Jorgensen, B. (1997) The Theory of Dispersion Models. London: Chapman & Hall

See Also

rig.

Examples

Run this code
x = runif(n <- 100)
y = rbeta(n, shape1=3+x, shape2=4-x)
fit = vglm(y ~ 1, simplex, trace=TRUE, eps=1e-9, cri="c")
coef(fit, matrix=TRUE)
Coef(fit)
fit
summary(fit)

Run the code above in your browser using DataLab