Learn R Programming

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

VGAM (version 0.8-4.1)

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.8-4.1

License

GPL-2

Maintainer

Last Published

February 18th, 2012

Functions in VGAM (0.8-4.1)

Sinmad

The Singh-Maddala Distribution
Invlomax

The Inverse Lomax Distribution
VGAM-package

Vector Generalized Linear and Additive Models
Brat

Inputting Data to fit a Bradley Terry Model
ParetoIV

The Pareto(IV/III/II) Distributions
Fisk

The Fisk Distribution
Qvar

Quasi-variances Preprocessing Function
Bort

The Borel-Tanner Distribution
ABO

The ABO Blood Group System
Tol

Tolerances
SurvS4-class

Class "SurvS4"
Coef.vlm

Extract Model Coefficients for VLM Objects
Dagum

The Dagum Distribution
bilogistic4

Bivariate Logistic Distribution Family Function
CommonVGAMffArguments

Common VGAM family function Arguments
bminz

Body Mass Index of New Zealand Adults Data
cenpoisson

Censored Poisson Family Function
amlbinomial

Binomial Logistic Regression by Asymmetric Maximum Likelihood Estimation
betabinomial

Beta-binomial Distribution Family Function
AB.Ab.aB.ab

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

The Pareto Distribution
coalminers

Breathlessness and Wheeze Amongst Coalminers Data
Rcam

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

The Laplace Distribution
Bisa

The Birnbaum-Saunders Distribution
Betabinom

The Beta-Binomial Distribution
AA.Aa.aa

The AA-Aa-aa Blood Group System
amlpoisson

Poisson Regression by Asymmetric Maximum Likelihood Estimation
backPain

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

Constrained (Canonical) Coefficients
benini

Benini Distribution Family Function
amlexponential

Exponential Regression by Asymmetric Maximum Likelihood Estimation
ccoef

Extract Model Constrained/Canonical Coefficients
cdf.lmscreg

Cumulative Distribution Function for LMS Quantile Regression
Rayleigh

The Rayleigh Distribution
MNSs

The MNSs Blood Group System
borel.tanner

Borel-Tanner Distribution Family Function
cennormal1

Censored Normal Distribution
amh

Ali-Mikhail-Haq Distribution Distribution Family Function
DeLury

DeLury's Method for Population Size Estimation
Binom2.rho

Bivariate Probit Model
Coef.qrrvglm

Returns Important Matrices etc. of a QO Object
bilogis4

Bivariate Logistic Distribution
dexpbinomial

Double Exponential Binomial Distribution Family Function
Binom2.or

Bivariate Binary Regression with an Odds Ratio
alaplace

Asymmetric Laplace Distribution Family Functions
G1G2G3

The G1G2G3 Blood Group System
chestnz

Chest Pain in NZ Adults Data
betaff

The Two-parameter Beta Distribution Family Function
Paralogistic

The Paralogistic Distribution
amlnormal

Asymmetric Least Squares Quantile Regression
cauchy

Cauchy Distribution Family Function
calibrate

Model Calibrations
cao

Fitting Constrained Additive Ordination (CAO)
Betanorm

The Beta-Normal Distribution
Betageom

The Beta-Geometric Distribution
Invparalogistic

The Inverse Paralogistic Distribution
cardioid

Cardioid Distribution Family Function
deplot.lmscreg

Density Plot for LMS Quantile Regression
Expectiles-Normal

Expectiles of the Normal Distribution
AICvlm

Akaike's Information Criterion
AB.Ab.aB.ab2

The AB-Ab-aB-ab2 Blood Group System
expexp

Exponentiated Exponential Distribution
freund61

Freund's (1961) Bivariate Extension of the Exponential Distribution
dirmul.old

Fitting a Dirichlet-Multinomial Distribution
fff

F Distribution Family Function
Coef.rrvglm

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

Maxima
Felix

The Felix Distribution
constraints

Constraint Matrices
Coef.rrvglm-class

Class ``Coef.rrvglm''
cumulative

Ordinal Regression with Cumulative Probabilities
Coef

Computes Model Coefficients and Quantities
auuc

Auckland University Undergraduate Counts Data
frechet

Frechet Distribution Family Function
betabinomial.ab

Beta-binomial Distribution Family Function
Lomax

The Lomax Distribution
genpoisson

Generalized Poisson distribution
genbetaII

Generalized Beta Distribution of the Second Kind
cgumbel

Censored Gumbel Distribution
acat

Ordinal Regression with Adjacent Categories Probabilities
Benford

Benford's Distribution
calibrate.qrrvglm

Calibration for CQO, UQO and CAO models
lms.bcg

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

Maxima
Coef.qrrvglm-class

Class ``Coef.qrrvglm''
fnormal1

Folded Normal Distribution Family Function
cloglog

Complementary Log-log Link Function
cgo

Redirects the user to cqo
Expectiles-Uniform

Expectiles of the Uniform Distribution
Inv.gaussian

The Inverse Gaussian Distribution
SurvS4

Create a Survival Object
explogarithmic

Exponential Logarithmic Distribution Family Function
biplot-methods

Biplot of Constrained Regression Models
get.smart.prediction

Retrieves ``.smart.prediction''
betageometric

Beta-geometric Distribution Family Function
Fnorm

The Folded-Normal Distribution
dcennormal1

Univariate Normal Distribution with Double Censoring
betaprime

The Beta-Prime Distribution
erf

Error Function
enzyme

Enzyme Data
exppoisson

Exponential Poisson Distribution Family Function
exppois

The Exponential Poisson Distribution
Fgm

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

The Two-parameter Beta Distribution Family Function
fittedvlm

Fitted Values of a VLM object
calibrate-methods

Calibration for Constrained Regression Models
lgammaUC

The Log-Gamma Distribution
explink

Exponential Link Function
expexp1

Exponentiated Exponential Distribution
Hzeta

Haight's Zeta Function
finney44

Toxicity trial for insects
dirichlet

Fitting a Dirichlet Distribution
plotqtplot.lmscreg

Quantile Plot for LMS Quantile Regression
pospoisson

Positive Poisson Distribution Family Function
expgeometric

Exponential Geometric Distribution Family Function
gamma2

2-parameter Gamma Distribution
calibrate.qrrvglm.control

Control function for CQO/UQO/CAO calibration
chisq

Chi-squared Distribution
guplot

Gumbel Plot
frank

Frank's Bivariate Distribution Family Function
get.smart

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

1-parameter Gamma Distribution
identity

Identity Link Function
fsqrt

Folded Square Root Link Function
inv.gaussianff

Inverse Gaussian Distribution Family Function
cqo

Fitting Constrained Quadratic Ordination (CQO)
loge

Log link function
gengamma

Generalized Gamma distribution family function
loglinb2

Loglinear Model for Two Binary Responses
erlang

Erlang Distribution
cratio

Ordinal Regression with Continuation Ratios
seq2binomial

The Two-stage Sequential Binomial Distribution Family Function
Card

Cardioid Distribution
laplaceUC

The Laplace Distribution
exponential

Exponential Distribution
gaussianff

Gaussian (normal) Family Function
lms.yjn

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

Matrix Offset
hued

Harvard University Degrees Conferred by Student Ethnicity
laplace

Laplace Distribution
lqnorm

Minimizing the L-q norm Family Function
oxtemp

Oxford Temperature Data
expgeom

The Exponential Geometric Distribution
Nakagami

Nakagami Distribution
lambertW

The Lambert W function
gevUC

The Generalized Extreme Value Distribution
grc

Row-Column Association Models including Goodman's RC Association Model
gew

General Electric and Westinghouse Data
cao.control

Control Function for RR-VGAMs (CAO)
kumar

Kumaraswamy Distribution Family Function
binomialff

Binomial Family Function
genrayleigh

Generalized Rayleigh Distribution Family Function
fisherz

Fisher's Z Link Function
huse

Harvard University Numbers of Ladder Faculty by School and Ethnicity
gumbel

Gumbel Distribution Family Function
huie

Harvard University International Enrollments
Lino

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

Creates a Matrix of Appropriate Dimension
mix2poisson

Mixture of Two Poisson Distributions
loglog

Log-log Link Function
betaII

Beta Distribution of the Second Kind
posnegbinomial

Positive Negative Binomial Distribution Family Function
leukemia

Acute Myelogenous Leukemia Survival Data
logff

Logarithmic Distribution
logistic

Logistic Distribution Family Function
hyperg

Hypergeometric Family Function
leipnik

Leipnik Distribution Family Function
invbinomial

Inverse Binomial Distribution Family Function
dirmultinomial

Fitting a Dirichlet-Multinomial Distribution
lgammaff

Log-gamma Distribution Family Function
gpd

Generalized Pareto Distribution Family Function
pneumo

Pneumoconiosis in Coalminers Data
logit

Logit Link Function
morgenstern

Morgenstern's Bivariate Distribution Family Function
Expectiles-Exponential

Expectiles of the Exponential Distribution
explog

The Exponential Logarithmic Distribution
gamma2.ab

2-parameter Gamma Distribution
lvplot

Latent Variable Plot
gumbelUC

The Gumbel Distribution
ordpoisson

Ordinal Poisson Family Function
triangle

Triangle Distribution Family Function
bratt

Bradley Terry Model With Ties
gev

Generalized Extreme Value Distribution Family Function
poissonp

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

The Generalized Rayleigh Distribution
crashes

Crashes on New Zealand Roads in 2009
garma

GARMA (Generalized Autoregressive Moving-Average) Models
gumbelIbiv

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

Latent Variable Plot for RR-VGLMs
clo

Redirects the user to rrvglm
plackett

Plackett's Bivariate Distribution Family Function
geometric

Geometric Distribution
Posbinom

Positive-Binomial Distribution
loglapUC

The Log-Laplace Distribution
predictvglm

Predict Method for a VGLM fit
lerch

Lerch Phi Function
hspider

Hunting Spider Data
reciprocal

Reciprocal link function
dhuber

Huber's least favourable distribution
propodds

Proportional Odds Model for Ordinal Regression
mbinomial

The Matched Binomial Distribution Family Function
golf

Gamma-Ordinal Link Function
nzc

Chinese Population in New Zealand 1867--2001 Data
model.matrixvlm

Construct the Design Matrix of a VLM Object
huber

Huber's least favourable distribution family function
logoff

Log link function with an offset
gammahyp

Gamma Hyperbola Bivariate Distribution
posnormal1

Positive Normal Distribution Family Function
loglaplace

Log-Laplace and Logit-Laplace Distribution Family Functions
quasibinomialff

Quasi-Binomial Family Function
yip88

Zero-Inflated Poisson Distribution (Yip (1988) algorithm)
smart.mode.is

Determine What Mode the Smart Prediction is In
Pospois

Positive-Poisson Distribution
nbolf

Negative Binomial-Ordinal Link Function
rrvglm-class

Class ``rrvglm''
Skellam

The Skellam Distribution
gpdUC

The Generalized Pareto Distribution
put.smart

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

S Expression for Smart Functions
Expectiles-Koenker

Expectiles/Quantiles of the Koenker Distribution
lognormal

Lognormal Distribution
recexp1

Upper Record Values from a 1-parameter Exponential Distribution
riceff

Rice Distribution Family Function
gengammaUC

The Generalized Gamma Distribution
lv

Latent Variables
qtplot.lmscreg

Quantile Plot for LMS Quantile Regression
iam

Index from Array to Matrix
lms.bcn

LMS Quantile/Expectile Regression with a Box-Cox Transformation to Normality
Log

Logarithmic Distribution
recnormal1

Upper Record Values from a Univariate Normal Distribution
weibull

Weibull Distribution Family Function
powl

Power Link Function
maxwell

Maxwell Distribution Family Function
zipoisson

Zero-Inflated Poisson Distribution Family Function
model.framevlm

Construct the Model Frame of a VLM Object
vgam

Fitting Vector Generalized Additive Models
mix2normal1

Mixture of Two Univariate Normal Distributions
posbinomial

Positive Binomial Distribution Family Function
Zinegbin

Zero-Inflated Negative Binomial Distribution
levy

Levy Distribution Family Function
zigeometric

Zero-Inflated Geometric Distribution Family Function
simplex

Simplex Distribution Family Function
wffc

2008 World Fly Fishing Championships Data
mix2exp

Mixture of Two Exponential Distributions
plotdeplot.lmscreg

Density Plot for LMS Quantile Regression
poissonff

Poisson Family Function
normal1

Univariate Normal Distribution
vglm-class

Class ``vglm''
quasipoissonff

Quasi-Poisson Family Function
uscrime

Estimated Crime in 2009 in USA
lvplot.qrrvglm

Latent Variable Plot for QO models
plotrcam0

Main effects plot for a Row-Column Association Model (RCAM)
snorm

Skew-Normal Distribution
Zibinom

Zero-Inflated Binomial Distribution
polf

Poisson-Ordinal Link Function
zanegbinomial

Zero-Altered Negative Binomial Distribution
micmen

Michaelis-Menten Model
multinomial

Multinomial Logit Model
usgrain

Grain Prices Data in USA
trplot.qrrvglm

Trajectory plot for QRR-VGLMs
nzmarital

New Zealand Marital Data.
predictqrrvglm

Predict Method for a CQO fit
pareto1

Pareto and Truncated Pareto Distribution Family Functions
yulesimon

Yule-Simon Family Function
notdocumentedyet

Undocumented and Internally Used Functions and Classes
mccullagh89

McCullagh (1989) Distribution Family Function
toxop

Toxoplasmosis Data
Zeta

The Zeta Distribution
vglmff-class

Class ``vglmff''
tikuv

Short-tailed Symmetric Distribution Family Function
Tpareto

The Truncated Pareto Distribution
undocumented-methods

Undocumented Methods Functions
zinegbinomial

Zero-Inflated Negative Binomial Distribution Family Function
hunua

Hunua Ranges Data
trplot

Trajectory Plot
wffc.teams

2008 World Fly Fishing Championships (Team results) Data
rrvglm.optim.control

Control function for rrvglm() calling optim()
zetaff

Zeta Distribution Family Function
plotvgam

Default VGAM Plotting
Polono

The Poisson Lognormal Distribution
probit

Probit Link Function
sratio

Ordinal Regression with Stopping Ratios
meplot

Mean Excess Plot
uqo

Fitting Unconstrained Quadratic Ordination (UQO)
is.smart

Test For a Smart Object
qrrvglm.control

Control function for QRR-VGLMs (CQO)
vonmises

von Mises Distribution Family Function
rrvglm.control

Control function for rrvglm
tobit

Tobit Model
wffc.points

Point System for the 2008 World Fly Fishing Championships
ugss

Undergraduate Statistics Students Lifestyle Questionnaire
Slash

Slash Distribution
Zipf

The Zipf Distribution
Posnegbin

Positive-Negative Binomial Distribution
negbinomial

Negative Binomial Distribution Family Function
zibinomial

Zero-Inflated Binomial Distribution Family Function
prplot

Probability Plots for Categorical Data Analysis
Posnorm

The Positive-Normal Distribution
wffc.nc

2008 World Fly Fishing Championships (Number of captures) Data
prentice74

Prentice (1974) Log-gamma Distribution
venice

Venice Maximum Sea Levels Data
uqo.control

Control Function for UQO models
huggins91

Huggins (1991) Capture-recapture Model Family Function (approximation only)
Zanegbin

Zero-Altered Negative Binomial Distribution
rcqo

Constrained Quadratic Ordination
skewnormal1

Univariate Skew-Normal Distribution Family Function
zipebcom

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

Low-iron Rat Teratology Data
plotvgam.control

Control Function for plotvgam()
loglinb3

Loglinear Model for Three Binary Responses
Zapois

Zero-Altered Poisson Distribution
s

Defining smooths in VGAM formulae
vglm.control

Control function for vglm
vgam-class

Class ``vgam''
vgam.control

Control function for vgam
rig

Reciprocal Inverse Gaussian distribution
rrvglm

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

Prior and Working Weights of a VGLM fit
studentt

Student t Distribution
plotqrrvglm

Model Diagnostic Plots for QRR-VGLMs
setup.smart

Smart Prediction Setup
rhobit

Rhobit Link Function
cauchit

Cauchit Link Function
rdiric

The Dirichlet distribution
smartpred

Smart Prediction
Yules

Yule-Simon Distribution
wffc.indiv

2008 World Fly Fishing Championships (Individual results) Data
vsmooth.spline

Vector cubic smoothing spline
zero

The zero Argument in VGAM Family Functions
Zipois

Zero-Inflated Poisson Distribution
Rice

The Rice Distribution
rlplot.egev

Return Level Plot for GEV Fits
zapoisson

Zero-Altered Poisson Distribution
waitakere

Waitakere Ranges Data
wrapup.smart

Cleans Up After Smart Prediction
vglm

Fitting Vector Generalized Linear Models
bivgamma.mckay

Bivariate Gamma: McKay's Distribution
yeo.johnson

Yeo-Johnson Transformation
qtplot.gumbel

Quantile Plot for Gumbel Regression
Links

Link functions for VGLM/VGAM/etc. families
binormal

Bivariate normal distribution
depvar

Response variable extracted
huggins91UC

Huggins (1991) Capture-recapture Model
hypersecant

Hyperbolic Secant Distribution Family Function
koenker

Koenker's Distribution Family Function
logc

Complementary-log Link Function
margeff

Marginal effects for the multinomial logit and cumulative models
olympic

2008 Summer Olympic Final Medal Count Data
perspqrrvglm

Perspective plot for QRR-VGLMs
rrar

Nested reduced-rank autoregressive models for multiple time series
ruge

Rutherford-Geiger Polonium Data
wald

Wald Distribution Family Function
Zigeom

Zero-Inflated Geometric Distribution