Learn R Programming

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

VGAM (version 0.9-3)

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-3

License

GPL-2

Maintainer

Last Published

November 11th, 2013

Functions in VGAM (0.9-3)

Links

Link functions for VGLM/VGAM/etc. families
Coef.rrvglm-class

Class ``Coef.rrvglm''
AICvlm

Akaike's Information Criterion
BICvlm

Bayesian Information Criterion
alaplaceUC

The Laplace Distribution
Binom2.or

Bivariate Binary Regression with an Odds Ratio
Amh

Ali-Mikhail-Haq Bivariate Distribution
aux.posbernoulli.t

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

The G1G2G3 Blood Group System
AB.Ab.aB.ab

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

V1 Flying-Bombs Hits in London
benini

Benini Distribution Family Function
Max

Maxima
Opt

Maxima
AB.Ab.aB.ab2

The AB-Ab-aB-ab2 Blood Group System
calibrate.qrrvglm.control

Control function for CQO/CAO calibration
betabinomial

Beta-binomial Distribution Family Function
Betageom

The Beta-Geometric Distribution
Pareto

The Pareto Distribution
Huggins89.t1

Table 1 of Huggins (1989)
chest.nz

Chest Pain in NZ Adults Data
amlnormal

Asymmetric Least Squares Quantile Regression
acat

Ordinal Regression with Adjacent Categories Probabilities
alaplace

Asymmetric Laplace Distribution Family Functions
Coef

Computes Model Coefficients and Quantities
CommonVGAMffArguments

Common VGAM family function Arguments
betaprime

The Beta-Prime Distribution
MNSs

The MNSs Blood Group System
ABO

The ABO Blood Group System
bisa

Birnbaum-Saunders Distribution Family Function
Qvar

Quasi-variances Preprocessing Function
Betanorm

The Beta-Normal Distribution
calibrate

Model Calibrations
calibrate.qrrvglm

Calibration for CQO and CAO models
brat

Bradley Terry Model
bilogis4

Bivariate Logistic Distribution
amlbinomial

Binomial Logistic Regression by Asymmetric Maximum Likelihood Estimation
cao.control

Control Function for RR-VGAMs (CAO)
VGAM-package

Vector Generalized Linear and Additive Models
cauchy

Cauchy Distribution Family Function
Coef.vlm

Extract Model Coefficients for VLM Objects
double.expbinomial

Double Exponential Binomial Distribution Family Function
bilogistic4

Bivariate Logistic Distribution Family Function
Frank

Frank's Bivariate Distribution
Binormcop

Gaussian Copula (Bivariate) Distribution
Biclaytoncop

Clayton Copula (Bivariate) Distribution
Coef.qrrvglm-class

Class ``Coef.qrrvglm''
Bort

The Borel-Tanner Distribution
binomialff

Binomial Family Function
expgeom

The Exponential Geometric Distribution
SUR

Seemingly Unrelated Regressions
binormal

Bivariate normal distribution family function
df.residual

Residual Degrees-of-Freedom
cao

Fitting Constrained Additive Ordination (CAO)
cennormal

Censored Normal Distribution
depvar

Response variable extracted
Rcim

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

Gaussian Copula (Bivariate) Family Function
gamma2.ab

2-parameter Gamma Distribution
beggs

Bacon and Eggs Data
explogff

Exponential Logarithmic Distribution Family Function
backPain

Data on Back Pain Prognosis, from Anderson (1984)
Inv.gaussian

The Inverse Gaussian Distribution
amlpoisson

Poisson Regression by Asymmetric Maximum Likelihood Estimation
crashes

Crashes on New Zealand Roads in 2009
hspider

Hunting Spider Data
Card

Cardioid Distribution
Coef.rrvglm

Returns Important Matrices etc. of a RR-VGLM Object
dirmul.old

Fitting a Dirichlet-Multinomial Distribution
betaff

The Two-parameter Beta Distribution Family Function
betabinomial.ab

Beta-binomial Distribution Family Function
bistudentt

Bivariate Student-t Family Function
amlexponential

Exponential Regression by Asymmetric Maximum Likelihood Estimation
auuc

Auckland University Undergraduate Counts Data
cgumbel

Censored Gumbel Distribution
calibrate-methods

Calibration for Constrained Regression Models
bigamma.mckay

Bivariate Gamma: McKay's Distribution
borel.tanner

Borel-Tanner Distribution Family Function
Binom2.rho

Bivariate Probit Model
cauchit

Cauchit Link Function
Betabinom

The Beta-Binomial Distribution
betaII

Beta Distribution of the Second Kind
Coef.qrrvglm

Returns Important Matrices etc. of a QO Object
beta.ab

The Two-parameter Beta Distribution Family Function
Dagum

The Dagum Distribution
dirichlet

Fitting a Dirichlet Distribution
gpd

Generalized Pareto Distribution Family Function
hormone

Hormone Assay Data
Expectiles-Normal

Expectiles of the Normal Distribution
AA.Aa.aa

The AA-Aa-aa Blood Group System
golf

Gamma-Ordinal Link Function
SurvS4

Create a Survival Object
bratt

Bradley Terry Model With Ties
Benford

Benford's Distribution
chinese.nz

Chinese Population in New Zealand 1867--2001 Data
concoef

Extract Model Constrained/Canonical Coefficients
SurvS4-class

Class "SurvS4"
chisq

Chi-squared Distribution
expexp1

Exponentiated Exponential Distribution
Binorm

Bivariate normal distribution cumulative distribution function
cloglog

Complementary Log-log Link Function
Tol

Tolerances
Felix

The Felix Distribution
genpoisson

Generalized Poisson distribution
dirmultinomial

Fitting a Dirichlet-Multinomial Distribution
margeff

Marginal effects for the multinomial logit and cumulative models
expexp

Exponentiated Exponential Distribution
genrayleigh

Generalized Rayleigh Distribution Family Function
gev

Generalized Extreme Value Distribution Family Function
get.smart

Retrieve One Component of ``.smart.prediction''
dlogF

log F Distribution
expint

The Exponential Integral and Variants
clo

Redirects the user to rrvglm
enzyme

Enzyme Data
betageometric

Beta-geometric Distribution Family Function
exppoisson

Exponential Poisson Distribution Family Function
concoef-methods

Constrained (Canonical) Coefficients
gevUC

The Generalized Extreme Value Distribution
lambertW

The Lambert W function
bigumbelI

Gumbel's Type I Bivariate Distribution Family Function
lvplot.rrvglm

Latent Variable Plot for RR-VGLMs
finney44

Toxicity trial for insects
geometric

Geometric (Truncated and Untruncated) Distributions
grain.us

Grain Prices Data in USA
iam

Index from Array to Matrix
gammahyp

Gamma Hyperbola Bivariate Distribution
cdf.lmscreg

Cumulative Distribution Function for LMS Quantile Regression
fff

F Distribution Family Function
cgo

Redirects the user to cqo
Maxwell

The Maxwell Distribution
Log

Logarithmic Distribution
bifrankcop

Frank's Bivariate Distribution Family Function
expgeometric

Exponential Geometric Distribution Family Function
nakagami

Nakagami Distribution Family Function
bmi.nz

Body Mass Index of New Zealand Adults Data
erf

Error Function
lgammaff

Log-gamma Distribution Family Function
lognormal

Lognormal Distribution
fill

Creates a Matrix of Appropriate Dimension
logit

Logit Link Function
Fisk

The Fisk Distribution
huber2

Huber's least favourable distribution family function
Kumar

The Kumaraswamy Distribution
double.cennormal

Univariate Normal Distribution with Double Censoring
get.smart.prediction

Retrieves ``.smart.prediction''
moffset

Matrix Offset
mccullagh89

McCullagh (1989) Distribution Family Function
Lindley

The Lindley Distribution
log1pexp

Logarithms with an Unit Offset and Exponential Term
leipnik

Leipnik Distribution Family Function
lerch

Lerch Phi Function
invbinomial

Inverse Binomial Distribution Family Function
erlang

Erlang Distribution
lvplot

Latent Variable Plot
fsqrt

Folded Square Root Link Function
meplot

Mean Excess Plot
put.smart

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

Construct the Design Matrix of a VLM Object
Lino

The Generalized Beta Distribution (Libby and Novick, 1982)
Plackett

Plackett's Bivariate Distribution
micmen

Michaelis-Menten Model
poissonff

Poisson Family Function
cardioid

Cardioid Distribution Family Function
pospoisson

Positive Poisson Distribution Family Function
quasipoissonff

Quasi-Poisson Family Function
biplot-methods

Biplot of Constrained Regression Models
Frechet

The Frechet Distribution
gengammaUC

The Generalized Gamma Distribution
explink

Exponential Link Function
Hzeta

Haight's Zeta Distribution
constraints

Constraint Matrices
Fgm

Farlie-Gumbel-Morgenstern's Bivariate Distribution
hyperg

Hypergeometric Family Function
coalminers

Breathlessness and Wheeze Amongst Coalminers Data
logistic

Logistic Distribution Family Function
cenpoisson

Censored Poisson Family Function
gompertz

Gompertz Distribution Family Function
latvar

Latent Variables
pgamma.deriv.unscaled

Derivatives of the Incomplete Gamma Integral (Unscaled Version)
exponential

Exponential Distribution
lgammaUC

The Log-Gamma Distribution
loglinb2

Loglinear Model for Two Binary Responses
loglog

Log-log Link Function
gpdUC

The Generalized Pareto Distribution
cumulative

Ordinal Regression with Cumulative Probabilities
Paralogistic

The Paralogistic Distribution
guplot

Gumbel Plot
deermice

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

Fisher's Z Link Function
garma

GARMA (Generalized Autoregressive Moving-Average) Models
lrtest

Likelihood Ratio Test of Nested Models
corbet

Corbet's Butterfly Data
cqo

Fitting Constrained Quadratic Ordination (CQO)
logoff

Log link function with an offset
paretoIV

Pareto(IV/III/II) Distribution Family Functions
fittedvlm

Fitted Values of a VLM object
grc

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

The Lomax Distribution
foldnormal

Folded Normal Distribution Family Function
gaussianff

Gaussian (normal) Family Function
gamma1

1-parameter Gamma Distribution
inv.gaussianff

Inverse Gaussian Distribution Family Function
posbernoulli.tb

Positive Bernoulli Family Function with Time and Behavioural Effects
lvplot.qrrvglm

Latent Variable Plot for QO models
hatvalues

Hat Values and Regression Deletion Diagnostics
Expectiles-Uniform

Expectiles of the Uniform Distribution
negbinomial

Negative Binomial Distribution Family Function
exppois

The Exponential Poisson Distribution
pgamma.deriv

Derivatives of the Incomplete Gamma Integral
quasibinomialff

Quasi-Binomial Family Function
mix2poisson

Mixture of Two Poisson Distributions
Invparalogistic

The Inverse Paralogistic Distribution
Truncpareto

The Truncated Pareto Distribution
polf

Poisson-Ordinal Link Function
vgam.control

Control function for vgam
gamma2

2-parameter Gamma Distribution
gew

General Electric and Westinghouse Data
Polono

The Poisson Lognormal Distribution
posnegbinomial

Positive Negative Binomial Distribution Family Function
cratio

Ordinal Regression with Continuation Ratios
model.framevlm

Construct the Model Frame of a VLM Object
lirat

Low-iron Rat Teratology Data
genbetaII

Generalized Beta Distribution of the Second Kind
lqnorm

Minimizing the L-q norm Family Function
Posbinom

Positive-Binomial Distribution
gumbelII

Gumbel-II Distribution Family Function
is.parallel

Parallelism Constraint Matrices
deplot.lmscreg

Density Plot for LMS Quantile Regression
perks

Perks Distribution Family Function
loglinb3

Loglinear Model for Three Binary Responses
gengamma

Generalized Gamma distribution family function
posbinomial

Positive Binomial Distribution Family Function
prentice74

Prentice (1974) Log-gamma Distribution
genray

The Generalized Rayleigh Distribution
vgam-class

Class ``vgam''
qrrvglm.control

Control function for QRR-VGLMs (CQO)
tikuv

Short-tailed Symmetric Distribution Family Function
triangle

Triangle Distribution Family Function
matched.binomial

The Matched Binomial Distribution Family Function
powerlink

Power Link Function
trplot.qrrvglm

Trajectory plot for QRR-VGLMs
yip88

Zero-Inflated Poisson Distribution (Yip (1988) algorithm)
logc

Complementary-log Link Function
lms.bcg

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

Proportional Odds Model for Ordinal Regression
logff

Logarithmic Distribution
truncweibull

Truncated Weibull Distribution Family Function
venice

Venice Maximum Sea Levels Data
plotvgam

Default VGAM Plotting
vglm.control

Control function for vglm
skewnormal

Univariate Skew-Normal Distribution Family Function
uninormal

Univariate Normal Distribution
identity

Identity Link Function
Expectiles-Exponential

Expectiles of the Exponential Distribution
negbinomial.size

Negative Binomial Distribution Family Function With Known Size
posbernoulli.b

Positive Bernoulli Family Function with Behavioural Effects
waldff

Wald Distribution Family Function
wrapup.smart

Cleans Up After Smart Prediction
yeo.johnson

Yeo-Johnson Transformation
laplaceUC

The Laplace Distribution
predictqrrvglm

Predict Method for a CQO fit
prinia

Yellow-bellied Prinia
normal.vcm

Univariate Normal Distribution as a Varying-Coefficient Model
zipoisson

Zero-Inflated Poisson Distribution Family Function
Zipois

Zero-Inflated Poisson Distribution
Gumbel-II

The Gumbel-II Distribution
loglaplace

Log-Laplace and Logit-Laplace Distribution Family Functions
Invlomax

The Inverse Lomax Distribution
tobit

Tobit Model
poisson.points

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

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

Singh-Maddala Distribution Family Function
zageometric

Zero-Altered Geometric Distribution
plotdeplot.lmscreg

Density Plot for LMS Quantile Regression
mmt

mmt daily maximum temperatures
pneumo

Pneumoconiosis in Coalminers Data
levy

Levy Distribution Family Function
predictvglm

Predict Method for a VGLM fit
gumbel

Gumbel Distribution Family Function
rhobit

Rhobit Link Function
Posgeom

Positive-geometric Distribution
is.zero

Zero Constraint Matrices
rdiric

The Dirichlet distribution
mix2exp

Mixture of Two Exponential Distributions
simplex

Simplex Distribution Family Function
rrvglm.optim.control

Control function for rrvglm() calling optim()
koenker

Koenker's Distribution Family Function
rrvglm

Fitting Reduced-Rank Vector Generalized Linear Models (RR-VGLMs)
paretoff

Pareto and Truncated Pareto Distribution Family Functions
PoissonPoints

Poisson Points Distribution
Rayleigh

The Rayleigh Distribution
machinists

Machinists Accidents
Skellam

The Skellam Distribution
zero

The zero Argument in VGAM Family Functions
Posnegbin

Positive-Negative Binomial Distribution
Foldnorm

The Folded-Normal Distribution
prats

Pregnant Rats Toxological Experiment Data
gumbelUC

The Gumbel Distribution
ordpoisson

Ordinal Poisson Family Function
Expectiles-Koenker

Expectiles/Quantiles of the Koenker Distribution
skewnorm

Skew-Normal Distribution
dhuber

Huber's least favourable distribution
lms.bcn

LMS Quantile Regression with a Box-Cox Transformation to Normality
hunua

Hunua Ranges Data
nbolf

Negative Binomial-Ordinal Link Function
trplot

Trajectory Plot
olympics

2008 and 2012 Summer Olympic Final Medal Count Data
plotvglm

Plots for VGLMs
zabinomial

Zero-Altered Binomial Distribution
Zanegbin

Zero-Altered Negative Binomial Distribution
posbernUC

Positive Bernoulli Sequence Model
laplace

Laplace Distribution
posnormal

Positive Normal Distribution Family Function
mix2normal

Mixture of Two Univariate Normal Distributions
Zinegbin

Zero-Inflated Negative Binomial Distribution
Pospois

Positive-Poisson Distribution
is.smart

Test For a Smart Object
Zipf

The Zipf Distribution
loglapUC

The Log-Laplace Distribution
zipebcom

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

Reciprocal link function
logF

Natural Exponential Family Generalized Hyperbolic Secant Distribution Family Function
smart.mode.is

Determine What Mode the Smart Prediction is In
hypersecant

Hyperbolic Secant Distribution Family Function
rrvglm-class

Class ``rrvglm''
toxop

Toxoplasmosis Data
leukemia

Acute Myelogenous Leukemia Survival Data
morgenstern

Morgenstern's Bivariate Distribution Family Function
rcqo

Constrained Quadratic Ordination
perspqrrvglm

Perspective plot for QRR-VGLMs
kendall.tau

Kendall's Tau Statistic
rrar

Nested reduced-rank autoregressive models for multiple time series
seq2binomial

The Two-stage Sequential Binomial Distribution Family Function
slash

Slash Distribution Family Function
makeham

Makeham Distribution Family Function
vonmises

von Mises Distribution Family Function
vsmooth.spline

Vector cubic smoothing spline
vglmff-class

Class ``vglmff''
plotqrrvglm

Model Diagnostic Plots for QRR-VGLMs
vgam

Fitting Vector Generalized Additive Models
waitakere

Waitakere Ranges Data
weibull

Weibull Distribution Family Function
Zabinom

Zero-Altered Binomial Distribution
ruge

Rutherford-Geiger Polonium Data
Zeta

The Zeta Distribution
zetaff

Zeta Distribution Family Function
oxtemp

Oxford Temperature Data
marital.nz

New Zealand Marital Data.
yulesimon

Yule-Simon Family Function
zinegbinomial

Zero-Inflated Negative Binomial Distribution Family Function
Yules

Yule-Simon Distribution
lms.yjn

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

Undocumented and Internally Used Functions and Classes
loge

Log link function, and variants
zanegbinomial

Zero-Altered Negative Binomial Distribution
smartpred

Smart Prediction
ucberk

University California Berkeley Graduate Admissions
Zigeom

Zero-Inflated Geometric Distribution
plotrcim0

Main effects plot for a Row-Column Interaction Model (RCIM)
zibinomial

Zero-Inflated Binomial Distribution Family Function
posbernoulli.t

Positive Bernoulli Family Function with Time Effects
nbcanlink

Negative binomial canonical link function
undocumented-methods

Undocumented Methods Functions
prplot

Probability Plots for Categorical Data Analysis
multinomial

Multinomial Logit Model
weightsvglm

Prior and Working Weights of a VGLM fit
zapoisson

Zero-Altered Poisson Distribution
qtplot.gumbel

Quantile Plot for Gumbel Regression
mlogit

Multi-logit Link Function
plotqtplot.lmscreg

Quantile Plot for LMS Quantile Regression
recnormal

Upper Record Values from a Univariate Normal Distribution
Zageom

Zero-Altered Geometric Distribution
rrvglm.control

Control function for rrvglm
rlplot.egev

Return Level Plot for GEV Fits
recexp1

Upper Record Values from a 1-parameter Exponential Distribution
Posnorm

The Positive-Normal Distribution
riceff

Rice Distribution Family Function
probit

Probit Link Function
studentt

Student t Distribution
vglm-class

Class ``vglm''
sratio

Ordinal Regression with Stopping Ratios
plotvgam.control

Control Function for plotvgam()
zigeometric

Zero-Inflated Geometric Distribution Family Function
Rice

The Rice Distribution
rigff

Reciprocal Inverse Gaussian distribution
Zapois

Zero-Altered Poisson Distribution
s

Defining smooths in VGAM formulae
explog

The Exponential Logarithmic Distribution
setup.smart

Smart Prediction Setup
qtplot.lmscreg

Quantile Plot for LMS Quantile Regression
smart.expression

S Expression for Smart Functions
vglm

Fitting Vector Generalized Linear Models
Zibinom

Zero-Inflated Binomial Distribution