Learn R Programming

SGB (version 1.0.1.1)

Simplicial Generalized Beta Regression

Description

Main properties and regression procedures using a generalization of the Dirichlet distribution called Simplicial Generalized Beta distribution. It is a new distribution on the simplex (i.e. on the space of compositions or positive vectors with sum of components equal to 1). The Dirichlet distribution can be constructed from a random vector of independent Gamma variables divided by their sum. The SGB follows the same construction with generalized Gamma instead of Gamma variables. The Dirichlet exponents are supplemented by an overall shape parameter and a vector of scales. The scale vector is itself a composition and can be modeled with auxiliary variables through a log-ratio transformation. Graf, M. (2017, ISBN: 978-84-947240-0-8). See also the vignette enclosed in the package.

Copy Link

Version

Install

install.packages('SGB')

Monthly Downloads

223

Version

1.0.1.1

License

GPL (>= 2)

Maintainer

Monique Graf

Last Published

December 6th, 2023

Functions in SGB (1.0.1.1)

SGButil

Computation of scales and z-vectors
arc

arc dataset
covest.SGB

Classical and robust asymptotic covariance matrix
SGBLik

SGB log-likelihood and gradient
SGBdistrib

Density and random generator for the SGB distribution
oilr

oilr data set
carseg

carseg dataset
Tabulation

Tabulation of overall SGB regression results with AIC and matrix view of regression coefficients
ocar

ocar data set
regSGB

Regression for compositions following a SGB distribution
summaryA.SGB

Aitchison expectation and mode under the SGB distribution
stepSGB

Stepwise backward elimination for SGB regression
GenGammaDistrib

Generalized Gamma distribution
InequalityConstr

Inequality constraints and jacobian
Imputation

Imputation of missing parts in compositions from a SGB model
InitialParameters

Initial parameters estimates and comparison
EqualityConstr

Equality constraints for overall shape and/or regression parameters and jacobian
B2i

Balances to isometric log-ratio
SGB-package

Package SGB
MarginPlots

Histograms, quantile and probability plots for the z(u)-transforms of parts
EZ.SGB

Expectations of Z under the SGB distribution
GoodnessFit

Goodness of fit tests on the marginal distributions of each part in a SGB model