Learn R Programming

⚠️There's a newer version (1.1-12) of this package.Take me there.

VGAM (version 0.9-2)

Vector Generalized Linear and Additive Models

Description

Vector generalized linear and additive models, and associated models (Reduced-Rank VGLMs, Quadratic RR-VGLMs, Reduced-Rank VGAMs). This package fits many models and distribution by maximum likelihood estimation (MLE) or penalized MLE. Also fits constrained ordination models in ecology.

Copy Link

Version

Install

install.packages('VGAM')

Monthly Downloads

42,087

Version

0.9-2

License

GPL-2

Maintainer

Last Published

September 20th, 2013

Functions in VGAM (0.9-2)

Binom2.rho

Bivariate Probit Model
brat

Bradley Terry Model
betageometric

Beta-geometric Distribution Family Function
Coef

Computes Model Coefficients and Quantities
Coef.rrvglm-class

Class ``Coef.rrvglm''
AB.Ab.aB.ab

The AB-Ab-aB-ab Blood Group System
clo

Redirects the user to rrvglm
AA.Aa.aa

The AA-Aa-aa Blood Group System
binormal

Bivariate normal distribution family function
BICvlm

Bayesian Information Criterion
Max

Maxima
VGAM-package

Vector Generalized Linear and Additive Models
G1G2G3

The G1G2G3 Blood Group System
amlnormal

Asymmetric Least Squares Quantile Regression
exponential

Exponential Distribution
hormone

Hormone Assay Data
biclaytoncop

Clayton Copula (Bivariate) Family Function
Card

Cardioid Distribution
Tol

Tolerances
bigamma.mckay

Bivariate Gamma: McKay's Distribution
Betanorm

The Beta-Normal Distribution
calibrate.qrrvglm.control

Control function for CQO/UQO/CAO calibration
betaff

The Two-parameter Beta Distribution Family Function
cgumbel

Censored Gumbel Distribution
cao

Fitting Constrained Additive Ordination (CAO)
acat

Ordinal Regression with Adjacent Categories Probabilities
chinese.nz

Chinese Population in New Zealand 1867--2001 Data
nbcanlink

Negative binomial canonical link function
fittedvlm

Fitted Values of a VLM object
amlbinomial

Binomial Logistic Regression by Asymmetric Maximum Likelihood Estimation
borel.tanner

Borel-Tanner Distribution Family Function
explogff

Exponential Logarithmic Distribution Family Function
cardioid

Cardioid Distribution Family Function
Polono

The Poisson Lognormal Distribution
golf

Gamma-Ordinal Link Function
binomialff

Binomial Family Function
double.cennormal

Univariate Normal Distribution with Double Censoring
betaprime

The Beta-Prime Distribution
cloglog

Complementary Log-log Link Function
Posnorm

The Positive-Normal Distribution
invparalogistic

Inverse Paralogistic Distribution Family Function
cratio

Ordinal Regression with Continuation Ratios
expint

The Exponential Integral and Variants
dagum

Dagum Distribution Family Function
exppois

The Exponential Poisson Distribution
erf

Error Function
fisk

Fisk Distribution family function
fgm

Farlie-Gumbel-Morgenstern's Bivariate Distribution Family Function
beta.ab

The Two-parameter Beta Distribution Family Function
corbet

Corbet's Butterfly Data
Coef.rrvglm

Returns Important Matrices etc. of a RR-VGLM Object
bilogis4

Bivariate Logistic Distribution
gompertz

Gompertz Distribution Family Function
Log

Logarithmic Distribution
logit

Logit Link Function
Bisa

The Birnbaum-Saunders Distribution
Bort

The Borel-Tanner Distribution
Inv.gaussian

The Inverse Gaussian Distribution
Qvar

Quasi-variances Preprocessing Function
Betabinom

The Beta-Binomial Distribution
depvar

Response variable extracted
alaplace

Asymmetric Laplace Distribution Family Functions
invlomax

Inverse Lomax Distribution Family Function
Bistudentt

Bivariate Student-t distribution cumulative distribution function
concoef

Extract Model Constrained/Canonical Coefficients
simplex

Simplex Distribution Family Function
skewnorm

Skew-Normal Distribution
calibrate.qrrvglm

Calibration for CQO, UQO and CAO models
Binorm

Bivariate normal distribution cumulative distribution function
ABO

The ABO Blood Group System
bigumbelI

Gumbel's Type I Bivariate Distribution Family Function
df.residual

Residual Degrees-of-Freedom
genbetaII

Generalized Beta Distribution of the Second Kind
bifrankcop

Frank's Bivariate Distribution Family Function
amlpoisson

Poisson Regression by Asymmetric Maximum Likelihood Estimation
SUR

Seemingly Unrelated Regressions
expgeometric

Exponential Geometric Distribution Family Function
binormalcop

Gaussian Copula (Bivariate) Family Function
betabinomial

Beta-binomial Distribution Family Function
loglinb2

Loglinear Model for Two Binary Responses
bratt

Bradley Terry Model With Ties
is.smart

Test For a Smart Object
cennormal

Censored Normal Distribution
chest.nz

Chest Pain in NZ Adults Data
bmi.nz

Body Mass Index of New Zealand Adults Data
laplaceUC

The Laplace Distribution
freund61

Freund's (1961) Bivariate Extension of the Exponential Distribution
lomax

Lomax Distribution Family Function
enzyme

Enzyme Data
genpoisson

Generalized Poisson distribution
coalminers

Breathlessness and Wheeze Amongst Coalminers Data
mix2normal

Mixture of Two Univariate Normal Distributions
double.expbinomial

Double Exponential Binomial Distribution Family Function
Hzeta

Haight's Zeta Distribution
Paralogistic

The Paralogistic Distribution
felix

Felix Distribution Family Function
leipnik

Leipnik Distribution Family Function
gumbelII

Gumbel-II Distribution Family Function
Nakagami

Nakagami Distribution
uqo

Fitting Unconstrained Quadratic Ordination (UQO)
exppoisson

Exponential Poisson Distribution Family Function
koenker

Koenker's Distribution Family Function
margeff

Marginal effects for the multinomial logit and cumulative models
betaII

Beta Distribution of the Second Kind
venice

Venice Maximum Sea Levels Data
quasipoissonff

Quasi-Poisson Family Function
gengamma

Generalized Gamma distribution family function
nbolf

Negative Binomial-Ordinal Link Function
identity

Identity Link Function
Kumar

The Kumaraswamy Distribution
frechet

Frechet Distribution Family Function
rrvglm.control

Control function for rrvglm
betabinomial.ab

Beta-binomial Distribution Family Function
ParetoIV

The Pareto(IV/III/II) Distributions
Posbinom

Positive-Binomial Distribution
grain.us

Grain Prices Data in USA
Frank

Frank's Bivariate Distribution
CommonVGAMffArguments

Common VGAM family function Arguments
chisq

Chi-squared Distribution
MNSs

The MNSs Blood Group System
Coef.qrrvglm-class

Class ``Coef.qrrvglm''
hypersecant

Hyperbolic Secant Distribution Family Function
predictqrrvglm

Predict Method for a CQO fit
Links

Link functions for VGLM/VGAM/etc. families
kendall.tau

Kendall's Tau Statistic
gamma2.ab

2-parameter Gamma Distribution
Pareto

The Pareto Distribution
lms.yjn

LMS Quantile Regression with a Yeo-Johnson Transformation to Normality
SurvS4

Create a Survival Object
Perom

Captures of Peromyscus maniculatus, also known as deer mice.
Rcim

Mark the Baseline of Row and Column on a Matrix data
alaplaceUC

The Laplace Distribution
logff

Logarithmic Distribution
hatvalues

Hat Values and Regression Deletion Diagnostics
Benini

The Benini Distribution
moffset

Matrix Offset
binom2.or

Bivariate Binary Regression with an Odds Ratio (Family Function)
amh

Ali-Mikhail-Haq Distribution Distribution Family Function
rcqo

Constrained Quadratic Ordination
beggs

Bacon and Eggs Data
notdocumentedyet

Undocumented and Internally Used Functions and Classes
predictvglm

Predict Method for a VGLM fit
gammahyp

Gamma Hyperbola Bivariate Distribution
biplot-methods

Biplot of Constrained Regression Models
constraints

Constraint Matrices
AB.Ab.aB.ab2

The AB-Ab-aB-ab2 Blood Group System
aux.posbernoulli.t

Auxiliary Function for the Positive Bernoulli Family Function with Time Effects
prplot

Probability Plots for Categorical Data Analysis
Gumbel-II

The Gumbel-II Distribution
get.smart

Retrieve One Component of ``.smart.prediction''
Expectiles-Uniform

Expectiles of the Uniform Distribution
rdiric

The Dirichlet distribution
explog

The Exponential Logarithmic Distribution
slash

Slash Distribution Family Function
grc

Row-Column Interaction Models including Goodman's RC Association Model
fsqrt

Folded Square Root Link Function
recnormal

Upper Record Values from a Univariate Normal Distribution
genrayleigh

Generalized Rayleigh Distribution Family Function
cdf.lmscreg

Cumulative Distribution Function for LMS Quantile Regression
pgamma.deriv.unscaled

Derivatives of the Incomplete Gamma Integral (Unscaled Version)
gev

Generalized Extreme Value Distribution Family Function
gumbel

Gumbel Distribution Family Function
cgo

Redirects the user to cqo
cauchy

Cauchy Distribution Family Function
Tobit

The Tobit Distribution
invbinomial

Inverse Binomial Distribution Family Function
deplot.lmscreg

Density Plot for LMS Quantile Regression
latvar

Latent Variables
lgammaff

Log-gamma Distribution Family Function
polf

Poisson-Ordinal Link Function
is.parallel

Parallelism Constraint Matrices
recexp1

Upper Record Values from a 1-parameter Exponential Distribution
Foldnorm

The Folded-Normal Distribution
Lindley

The Lindley Distribution
gaussianff

Gaussian (normal) Family Function
AICvlm

Akaike's Information Criterion
lino

Generalized Beta Distribution Family Function
vgam

Fitting Vector Generalized Additive Models
paretoff

Pareto and Truncated Pareto Distribution Family Functions
Zabinom

Zero-Altered Binomial Distribution
Perks

The Perks Distribution
SurvS4-class

Class "SurvS4"
vgam-class

Class ``vgam''
V1

V1 Flying-Bombs Hits in London
dhuber

Huber's least favourable distribution
inv.gaussianff

Inverse Gaussian Distribution Family Function
logc

Complementary-log Link Function
weibull

Weibull Distribution Family Function
lerch

Lerch Phi Function
qtplot.gumbel

Quantile Plot for Gumbel Regression
qrrvglm.control

Control function for QRR-VGLMs (CQO)
lognormal

Lognormal Distribution
plotqrrvglm

Model Diagnostic Plots for QRR-VGLMs
poisson.points

Poisson-points-on-a-plane/volume Distances Distribution
zeta

Riemann's Zeta Function
cauchit

Cauchit Link Function
rayleigh

Rayleigh Distribution Family Function
zipf

Zipf Distribution Family Function
explink

Exponential Link Function
loglapUC

The Log-Laplace Distribution
truncweibull

Truncated Weibull Distribution Family Function
Skellam

The Skellam Distribution
Zibinom

Zero-Inflated Binomial Distribution
gevUC

The Generalized Extreme Value Distribution
Expectiles-Exponential

Expectiles of the Exponential Distribution
quasibinomialff

Quasi-Binomial Family Function
Expectiles-Normal

Expectiles of the Normal Distribution
zetaff

Zeta Distribution Family Function
crashes

Crashes on New Zealand Roads in 2009
gamma2

2-parameter Gamma Distribution
lms.bcg

LMS Quantile Regression with a Box-Cox transformation to a Gamma Distribution
genray

The Generalized Rayleigh Distribution
reciprocal

Reciprocal link function
Opt

Maxima
gumbelUC

The Gumbel Distribution
guplot

Gumbel Plot
lms.bcn

LMS Quantile Regression with a Box-Cox Transformation to Normality
marital.nz

New Zealand Marital Data.
hyperg

Hypergeometric Family Function
iam

Index from Array to Matrix
makeham

Makeham Distribution Family Function
normal.vcm

Univariate Normal Distribution as a Varying-Coefficient Model
vglmff-class

Class ``vglmff''
backPain

Data on Back Pain Prognosis, from Anderson (1984)
calibrate-methods

Calibration for Constrained Regression Models
vgam.control

Control function for vgam
gpdUC

The Generalized Pareto Distribution
gengammaUC

The Generalized Gamma Distribution
pgamma.deriv

Derivatives of the Incomplete Gamma Integral
dlogF

log F Distribution
lambertW

The Lambert W function
lgammaUC

The Log-Gamma Distribution
plotvgam.control

Control Function for plotvgam()
get.smart.prediction

Retrieves ``.smart.prediction''
bilogistic4

Bivariate Logistic Distribution Family Function
dirmultinomial

Fitting a Dirichlet-Multinomial Distribution
loglaplace

Log-Laplace and Logit-Laplace Distribution Family Functions
calibrate

Model Calibrations
matched.binomial

The Matched Binomial Distribution Family Function
machinists

Machinists Accidents
huber2

Huber's least favourable distribution family function
oxtemp

Oxford Temperature Data
gpd

Generalized Pareto Distribution Family Function
posbernoulli.tb

Positive Bernoulli Family Function with Time and Behavioural Effects
probit

Probit Link Function
rrar

Nested reduced-rank autoregressive models for multiple time series
poissonff

Poisson Family Function
qtplot.lmscreg

Quantile Plot for LMS Quantile Regression
rigff

Reciprocal Inverse Gaussian distribution
rrvglm.optim.control

Control function for rrvglm() calling optim()
foldnormal

Folded Normal Distribution Family Function
Posgeom

Positive-geometric Distribution
concoef-methods

Constrained (Canonical) Coefficients
cenpoisson

Censored Poisson Family Function
garma

GARMA (Generalized Autoregressive Moving-Average) Models
skewnormal

Univariate Skew-Normal Distribution Family Function
Sinmad

The Singh-Maddala Distribution
cumulative

Ordinal Regression with Cumulative Probabilities
gew

General Electric and Westinghouse Data
wrapup.smart

Cleans Up After Smart Prediction
dirmul.old

Fitting a Dirichlet-Multinomial Distribution
maxwell

Maxwell Distribution Family Function
weightsvglm

Prior and Working Weights of a VGLM fit
expexp1

Exponentiated Exponential Distribution
morgenstern

Morgenstern's Bivariate Distribution Family Function
hunua

Hunua Ranges Data
logF

Natural Exponential Family Generalized Hyperbolic Secant Distribution Family Function
mccullagh89

McCullagh (1989) Distribution Family Function
lvplot.rrvglm

Latent Variable Plot for RR-VGLMs
sratio

Ordinal Regression with Stopping Ratios
pneumo

Pneumoconiosis in Coalminers Data
negbinomial

Negative Binomial Distribution Family Function
posnegbinomial

Positive Negative Binomial Distribution Family Function
leukemia

Acute Myelogenous Leukemia Survival Data
dirichlet

Fitting a Dirichlet Distribution
vsmooth.spline

Vector cubic smoothing spline
zero

The zero Argument in VGAM Family Functions
levy

Levy Distribution Family Function
model.framevlm

Construct the Model Frame of a VLM Object
erlang

Erlang Distribution
loge

Log link function, and variants
zanegbinomial

Zero-Altered Negative Binomial Distribution
prentice74

Prentice (1974) Log-gamma Distribution
propodds

Proportional Odds Model for Ordinal Regression
powerlink

Power Link Function
smartpred

Smart Prediction
Zigeom

Zero-Inflated Geometric Distribution
Expectiles-Koenker

Expectiles/Quantiles of the Koenker Distribution
gamma1

1-parameter Gamma Distribution
fisherz

Fisher's Z Link Function
lirat

Low-iron Rat Teratology Data
riceff

Rice Distribution Family Function
model.matrixvlm

Construct the Design Matrix of a VLM Object
logistic

Logistic Distribution Family Function
plotvgam

Default VGAM Plotting
rhobit

Rhobit Link Function
ruge

Rutherford-Geiger Polonium Data
vglm-class

Class ``vglm''
Triangle

The Triangle Distribution
PoissonPoints

Poisson Points Distribution
logoff

Log link function with an offset
vglm.control

Control function for vglm
loglinb3

Loglinear Model for Three Binary Responses
rrvglm-class

Class ``rrvglm''
prats

Pregnant Rats Toxological Experiment Data
Coef.vlm

Extract Model Coefficients for VLM Objects
hspider

Hunting Spider Data
setup.smart

Smart Prediction Setup
uqo.control

Control Function for UQO models
smart.expression

S Expression for Smart Functions
Zanegbin

Zero-Altered Negative Binomial Distribution
vonmises

von Mises Distribution Family Function
Pospois

Positive-Poisson Distribution
tikuv

Short-tailed Symmetric Distribution Family Function
uninormal

Univariate Normal Distribution
expexp

Exponentiated Exponential Distribution
Plackett

Plackett's Bivariate Distribution
Zipois

Zero-Inflated Poisson Distribution
mlogit

Multi-logit Link Function
Huggins89.t1

Table 1 of Huggins (1989)
rlplot.egev

Return Level Plot for GEV Fits
lvplot.qrrvglm

Latent Variable Plot for QO models
lrtest

Likelihood Ratio Test of Nested Models
lvplot

Latent Variable Plot
plotrcim0

Main effects plot for a Row-Column Interaction Model (RCIM)
negbinomial.size

Negative Binomial Distribution Family Function With Known Size
micmen

Michaelis-Menten Model
meplot

Mean Excess Plot
loglog

Log-log Link Function
posbinomial

Positive Binomial Distribution Family Function
zigeometric

Zero-Inflated Geometric Distribution Family Function
Binormcop

Gaussian Copula (Bivariate) Distribution
smart.mode.is

Determine What Mode the Smart Prediction is In
zabinomial

Zero-Altered Binomial Distribution
trplot

Trajectory Plot
cao.control

Control Function for RR-VGAMs (CAO)
posbernUC

Positive Bernoulli Sequence Model
ordpoisson

Ordinal Poisson Family Function
Zapois

Zero-Altered Poisson Distribution
lqnorm

Minimizing the L-q norm Family Function
Truncpareto

The Truncated Pareto Distribution
mix2poisson

Mixture of Two Poisson Distributions
multinomial

Multinomial Logit Model
zapoisson

Zero-Altered Poisson Distribution
rrvglm

Fitting Reduced-Rank Vector Generalized Linear Models (RR-VGLMs)
yeo.johnson

Yeo-Johnson Transformation
studentt

Student t Distribution
plotdeplot.lmscreg

Density Plot for LMS Quantile Regression
olympics

2008 and 2012 Summer Olympic Final Medal Count Data
ucberk

University California Berkeley Graduate Admissions
waldff

Wald Distribution Family Function
plotqtplot.lmscreg

Quantile Plot for LMS Quantile Regression
zibinomial

Zero-Inflated Binomial Distribution Family Function
posbernoulli.t

Positive Bernoulli Family Function with Time Effects
plotvglm

Plots for VGLMs
undocumented-methods

Undocumented Methods Functions
waitakere

Waitakere Ranges Data
posnormal

Positive Normal Distribution Family Function
expgeom

The Exponential Geometric Distribution
Coef.qrrvglm

Returns Important Matrices etc. of a QO Object
finney44

Toxicity trial for insects
zageometric

Zero-Altered Geometric Distribution
s

Defining smooths in VGAM formulae
amlexponential

Exponential Regression by Asymmetric Maximum Likelihood Estimation
Benford

Benford's Distribution
vglm

Fitting Vector Generalized Linear Models
zipebcom

Exchangeable bivariate cloglog odds-ratio model from a zero-inflated Poisson distribution
log1pexp

Logarithms with an Unit Offset and Exponential Term
Yules

Yule-Simon Distribution
Zageom

Zero-Altered Geometric Distribution
Betageom

The Beta-Geometric Distribution
mix2exp

Mixture of Two Exponential Distributions
Zinegbin

Zero-Inflated Negative Binomial Distribution
perspqrrvglm

Perspective plot for QRR-VGLMs
posbernoulli.b

Positive Bernoulli Family Function with Behavioural Effects
Posnegbin

Positive-Negative Binomial Distribution
Rice

The Rice Distribution
auuc

Auckland University Undergraduate Counts Data
cqo

Fitting Constrained Quadratic Ordination (CQO)
fff

F Distribution Family Function
fill

Creates a Matrix of Appropriate Dimension
geometric

Geometric (Truncated and Untruncated) Distributions
yulesimon

Yule-Simon Family Function
is.zero

Zero Constraint Matrices
toxop

Toxoplasmosis Data
laplace

Laplace Distribution
pospoisson

Positive Poisson Distribution Family Function
put.smart

Adds a List to the End of the List ``.smart.prediction''
seq2binomial

The Two-stage Sequential Binomial Distribution Family Function
zipoisson

Zero-Inflated Poisson Distribution Family Function
yip88

Zero-Inflated Poisson Distribution (Yip (1988) algorithm)
trplot.qrrvglm

Trajectory plot for QRR-VGLMs
zinegbinomial

Zero-Inflated Negative Binomial Distribution Family Function