Learn R Programming

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

VGAM (version 0.8-7)

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

License

GPL-2

Maintainer

Last Published

April 13th, 2012

Functions in VGAM (0.8-7)

AA.Aa.aa

The AA-Aa-aa Blood Group System
G1G2G3

The G1G2G3 Blood Group System
Benini

The Benini Distribution
Coef.rrvglm

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

Computes Model Coefficients and Quantities
Opt

Maxima
betabinomial.ab

Beta-binomial Distribution Family Function
Coef.vlm

Extract Model Coefficients for VLM Objects
Pareto

The Pareto Distribution
VGAM-package

Vector Generalized Linear and Additive Models
beta.ab

The Two-parameter Beta Distribution Family Function
AB.Ab.aB.ab2

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

Data on Back Pain Prognosis, from Anderson (1984)
bivgamma.mckay

Bivariate Gamma: McKay's Distribution
Betabinom

The Beta-Binomial Distribution
AICvlm

Akaike's Information Criterion
Links

Link functions for VGLM/VGAM/etc. families
binomialff

Binomial Family Function
Coef.qrrvglm

Returns Important Matrices etc. of a QO Object
gengamma

Generalized Gamma distribution family function
DeLury

DeLury's Method for Population Size Estimation
betaff

The Two-parameter Beta Distribution Family Function
SurvS4

Create a Survival Object
cgo

Redirects the user to cqo
Inv.gaussian

The Inverse Gaussian Distribution
Dagum

The Dagum Distribution
amlbinomial

Binomial Logistic Regression by Asymmetric Maximum Likelihood Estimation
auuc

Auckland University Undergraduate Counts Data
explink

Exponential Link Function
amlexponential

Exponential Regression by Asymmetric Maximum Likelihood Estimation
expgeom

The Exponential Geometric Distribution
binom2.rho

Bivariate Probit Model (Family Function)
SurvS4-class

Class "SurvS4"
biplot-methods

Biplot of Constrained Regression Models
Benford

Benford's Distribution
crashes

Crashes on New Zealand Roads in 2009
alaplaceUC

The Laplace Distribution
Qvar

Quasi-variances Preprocessing Function
amlnormal

Asymmetric Least Squares Quantile Regression
bilogistic4

Bivariate Logistic Distribution Family Function
Bort

The Borel-Tanner Distribution
betageometric

Beta-geometric Distribution Family Function
Betageom

The Beta-Geometric Distribution
Max

Maxima
Bisa

The Birnbaum-Saunders Distribution
betaII

Beta Distribution of the Second Kind
Binom2.or

Bivariate Binary Regression with an Odds Ratio
ABO

The ABO Blood Group System
betaprime

The Beta-Prime Distribution
bilogis4

Bivariate Logistic Distribution
calibrate

Model Calibrations
alaplace

Asymmetric Laplace Distribution Family Functions
Card

Cardioid Distribution
acat

Ordinal Regression with Adjacent Categories Probabilities
Coef.rrvglm-class

Class ``Coef.rrvglm''
Coef.qrrvglm-class

Class ``Coef.qrrvglm''
Brat

Inputting Data to fit a Bradley Terry Model
AB.Ab.aB.ab

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

The MNSs Blood Group System
CommonVGAMffArguments

Common VGAM family function Arguments
Rcam

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

The Beta-Normal Distribution
cao

Fitting Constrained Additive Ordination (CAO)
Tol

Tolerances
chisq

Chi-squared Distribution
koenker

Koenker's Distribution Family Function
laplace

Laplace Distribution
betabinomial

Beta-binomial Distribution Family Function
calibrate-methods

Calibration for Constrained Regression Models
bratt

Bradley Terry Model With Ties
felix

Felix Distribution Family Function
fsqrt

Folded Square Root Link Function
loglinb2

Loglinear Model for Two Binary Responses
depvar

Response variable extracted
cauchit

Cauchit Link Function
chinese.nz

Chinese Population in New Zealand 1867--2001 Data
expgeometric

Exponential Geometric Distribution Family Function
ccoef

Extract Model Constrained/Canonical Coefficients
freund61

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

Fitting a Dirichlet-Multinomial Distribution
bmi.nz

Body Mass Index of New Zealand Adults Data
calibrate.qrrvglm

Calibration for CQO, UQO and CAO models
amh

Ali-Mikhail-Haq Distribution Distribution Family Function
calibrate.qrrvglm.control

Control function for CQO/UQO/CAO calibration
coalminers

Breathlessness and Wheeze Amongst Coalminers Data
amlpoisson

Poisson Regression by Asymmetric Maximum Likelihood Estimation
borel.tanner

Borel-Tanner Distribution Family Function
fff

F Distribution Family Function
binormal

Bivariate normal distribution
cloglog

Complementary Log-log Link Function
chest.nz

Chest Pain in NZ Adults Data
genray

The Generalized Rayleigh Distribution
garma

GARMA (Generalized Autoregressive Moving-Average) Models
cardioid

Cardioid Distribution Family Function
fgm

Farlie-Gumbel-Morgenstern's Bivariate Distribution Family Function
exppoisson

Exponential Poisson Distribution Family Function
frank

Frank's Bivariate Distribution Family Function
dexpbinomial

Double Exponential Binomial Distribution Family Function
erf

Error Function
constraints

Constraint Matrices
cao.control

Control Function for RR-VGAMs (CAO)
lirat

Low-iron Rat Teratology Data
get.smart.prediction

Retrieves ``.smart.prediction''
cratio

Ordinal Regression with Continuation Ratios
deplot.lmscreg

Density Plot for LMS Quantile Regression
cauchy

Cauchy Distribution Family Function
enzyme

Enzyme Data
Expectiles-Exponential

Expectiles of the Exponential Distribution
laplaceUC

The Laplace Distribution
lerch

Lerch Phi Function
Fisk

The Fisk Distribution
huie

Harvard University International Enrollments
fisherz

Fisher's Z Link Function
Frechet

The Frechet Distribution
Invparalogistic

The Inverse Paralogistic Distribution
df.residual

Residual Degrees-of-Freedom
cumulative

Ordinal Regression with Cumulative Probabilities
lino

Generalized Beta Distribution Family Function
genbetaII

Generalized Beta Distribution of the Second Kind
exppois

The Exponential Poisson Distribution
Expectiles-Uniform

Expectiles of the Uniform Distribution
dirichlet

Fitting a Dirichlet Distribution
logistic

Logistic Distribution Family Function
logff

Logarithmic Distribution
crime.us

Estimated Crime in 2009 in USA
Expectiles-Normal

Expectiles of the Normal Distribution
predictqrrvglm

Predict Method for a CQO fit
gumbel

Gumbel Distribution Family Function
hzeta

Haight's Zeta Family Function
hued

Harvard University Degrees Conferred by Student Ethnicity
fnormal1

Folded Normal Distribution Family Function
nbcanlink

Negative binomial canonical link function
negbinomial.size

Negative Binomial Distribution Family Function With Known Size
lvplot

Latent Variable Plot
is.smart

Test For a Smart Object
logit

Logit Link Function
cenpoisson

Censored Poisson Family Function
paralogistic

Paralogistic Distribution Family Function
get.smart

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

Huber's least favourable distribution family function
cennormal1

Censored Normal Distribution
Fnorm

The Folded-Normal Distribution
cqo

Fitting Constrained Quadratic Ordination (CQO)
gamma2.ab

2-parameter Gamma Distribution
cdf.lmscreg

Cumulative Distribution Function for LMS Quantile Regression
gevUC

The Generalized Extreme Value Distribution
grc

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

Exponential Logarithmic Distribution Family Function
genrayleigh

Generalized Rayleigh Distribution Family Function
qtplot.gumbel

Quantile Plot for Gumbel Regression
clo

Redirects the user to rrvglm
margeff

Marginal effects for the multinomial logit and cumulative models
erlang

Erlang Distribution
levy

Levy Distribution Family Function
fittedvlm

Fitted Values of a VLM object
loglinb3

Loglinear Model for Three Binary Responses
multinomial

Multinomial Logit Model
leipnik

Leipnik Distribution Family Function
gumbelUC

The Gumbel Distribution
huggins91UC

Huggins (1991) Capture-recapture Model
fill

Creates a Matrix of Appropriate Dimension
normal1

Univariate Normal Distribution
dcennormal1

Univariate Normal Distribution with Double Censoring
inv.gaussianff

Inverse Gaussian Distribution Family Function
Maxwell

The Maxwell Distribution
gpdUC

The Generalized Pareto Distribution
huggins91

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

Gamma Hyperbola Bivariate Distribution
Pospois

Positive-Poisson Distribution
gamma2

2-parameter Gamma Distribution
golf

Gamma-Ordinal Link Function
gpd

Generalized Pareto Distribution Family Function
mccullagh89

McCullagh (1989) Distribution Family Function
expexp

Exponentiated Exponential Distribution
gengammaUC

The Generalized Gamma Distribution
dirmultinomial

Fitting a Dirichlet-Multinomial Distribution
expexp1

Exponentiated Exponential Distribution
meplot

Mean Excess Plot
guplot

Gumbel Plot
posbinomial

Positive Binomial Distribution Family Function
invbinomial

Inverse Binomial Distribution Family Function
finney44

Toxicity trial for insects
identity

Identity Link Function
genpoisson

Generalized Poisson distribution
Rice

The Rice Distribution
mbinomial

The Matched Binomial Distribution Family Function
lms.bcg

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

The Inverse Lomax Distribution
geometric

Geometric Distribution
lgammaUC

The Log-Gamma Distribution
prplot

Probability Plots for Categorical Data Analysis
gamma1

1-parameter Gamma Distribution
gumbelIbiv

Gumbel's Type I Bivariate Distribution Family Function
Log

Logarithmic Distribution
hypersecant

Hyperbolic Secant Distribution Family Function
mix2poisson

Mixture of Two Poisson Distributions
ordpoisson

Ordinal Poisson Family Function
rdiric

The Dirichlet distribution
rhobit

Rhobit Link Function
olympic

2008 Summer Olympic Final Medal Count Data
oxtemp

Oxford Temperature Data
kumar

Kumaraswamy Distribution Family Function
dhuber

Huber's least favourable distribution
qrrvglm.control

Control function for QRR-VGLMs (CQO)
lambertW

The Lambert W function
huse

Harvard University Numbers of Ladder Faculty by School and Ethnicity
gev

Generalized Extreme Value Distribution Family Function
hatvalues

Hat Values and Regression Deletion Diagnostics
logoff

Log link function with an offset
leukemia

Acute Myelogenous Leukemia Survival Data
Expectiles-Koenker

Expectiles/Quantiles of the Koenker Distribution
iam

Index from Array to Matrix
loglog

Log-log Link Function
slash

Slash Distribution Family Function
reciprocal

Reciprocal link function
rcqo

Constrained Quadratic Ordination
Sinmad

The Singh-Maddala Distribution
Nakagami

Nakagami Distribution
studentt

Student t Distribution
waitakere

Waitakere Ranges Data
logc

Complementary-log Link Function
gaussianff

Gaussian (normal) Family Function
lomax

Lomax Distribution Family Function
rlplot.egev

Return Level Plot for GEV Fits
poissonff

Poisson Family Function
riceff

Rice Distribution Family Function
trplot

Trajectory Plot
wffc.nc

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

The Log-Laplace Distribution
perspqrrvglm

Perspective plot for QRR-VGLMs
vgam.control

Control function for vgam
gew

General Electric and Westinghouse Data
polf

Poisson-Ordinal Link Function
ParetoIV

The Pareto(IV/III/II) Distributions
lvplot.qrrvglm

Latent Variable Plot for QO models
model.framevlm

Construct the Model Frame of a VLM Object
poissonp

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

Hunting Spider Data
Plackett

Plackett's Bivariate Distribution
quasipoissonff

Quasi-Poisson Family Function
vglm-class

Class ``vglm''
lqnorm

Minimizing the L-q norm Family Function
pospoisson

Positive Poisson Distribution Family Function
hunua

Hunua Ranges Data
plotvgam

Default VGAM Plotting
plotqtplot.lmscreg

Quantile Plot for LMS Quantile Regression
nbolf

Negative Binomial-Ordinal Link Function
yulesimon

Yule-Simon Family Function
mix2normal1

Mixture of Two Univariate Normal Distributions
negbinomial

Negative Binomial Distribution Family Function
zabinomial

Zero-Altered Binomial Distribution
plotdeplot.lmscreg

Density Plot for LMS Quantile Regression
lognormal

Lognormal Distribution
model.matrixvlm

Construct the Design Matrix of a VLM Object
powl

Power Link Function
rrvglm-class

Class ``rrvglm''
posnegbinomial

Positive Negative Binomial Distribution Family Function
skewnormal1

Univariate Skew-Normal Distribution Family Function
zageometric

Zero-Altered Geometric Distribution
notdocumentedyet

Undocumented and Internally Used Functions and Classes
grain.us

Grain Prices Data in USA
hyperg

Hypergeometric Family Function
prentice74

Prentice (1974) Log-gamma Distribution
moffset

Matrix Offset
lms.bcn

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

New Zealand Marital Data.
ugss

Undergraduate Statistics Students Lifestyle Questionnaire
lrtest

Likelihood Ratio Test of Nested Models
qtplot.lmscreg

Quantile Plot for LMS Quantile Regression
loge

Log link function
micmen

Michaelis-Menten Model
Posbinom

Positive-Binomial Distribution
pareto1

Pareto and Truncated Pareto Distribution Family Functions
Posnorm

The Positive-Normal Distribution
Posnegbin

Positive-Negative Binomial Distribution
Posgeom

Positive-geometric Distribution
rrar

Nested reduced-rank autoregressive models for multiple time series
seq2binomial

The Two-stage Sequential Binomial Distribution Family Function
vonmises

von Mises Distribution Family Function
mix2exp

Mixture of Two Exponential Distributions
yeo.johnson

Yeo-Johnson Transformation
posnormal1

Positive Normal Distribution Family Function
lv

Latent Variables
ruge

Rutherford-Geiger Polonium Data
venice

Venice Maximum Sea Levels Data
propodds

Proportional Odds Model for Ordinal Regression
skellam

Skellam Distribution Family Function
plotvgam.control

Control Function for plotvgam()
put.smart

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

The zero Argument in VGAM Family Functions
Triangle

The Triangle Distribution
rrvglm.optim.control

Control function for rrvglm() calling optim()
Zageom

Zero-Altered Geometric Distribution
simplex

Simplex Distribution Family Function
Zibinom

Zero-Inflated Binomial Distribution
recexp1

Upper Record Values from a 1-parameter Exponential Distribution
zipf

Zipf Distribution Family Function
morgenstern

Morgenstern's Bivariate Distribution Family Function
Rayleigh

The Rayleigh Distribution
recnormal1

Upper Record Values from a Univariate Normal Distribution
plotrcam0

Main effects plot for a Row-Column Association Model (RCAM)
smart.expression

S Expression for Smart Functions
tikuv

Short-tailed Symmetric Distribution Family Function
weightsvglm

Prior and Working Weights of a VGLM fit
uqo

Fitting Unconstrained Quadratic Ordination (UQO)
probit

Probit Link Function
Tobit

The Tobit Distribution
Tpareto

The Truncated Pareto Distribution
vgam-class

Class ``vgam''
vsmooth.spline

Vector cubic smoothing spline
wffc.teams

2008 World Fly Fishing Championships (Team results) Data
sratio

Ordinal Regression with Stopping Ratios
vglm

Fitting Vector Generalized Linear Models
s

Defining smooths in VGAM formulae
Zabinom

Zero-Altered Binomial Distribution
vglm.control

Control function for vglm
wffc.points

Point System for the 2008 World Fly Fishing Championships
xs.nz

Cross-sectional Data from the New Zealand Population
rrvglm.control

Control function for rrvglm
quasibinomialff

Quasi-Binomial Family Function
ucberk

University California Berkeley Graduate Admissions
uqo.control

Control Function for UQO models
zigeometric

Zero-Inflated Geometric Distribution Family Function
setup.smart

Smart Prediction Setup
wald

Wald Distribution Family Function
zinegbinomial

Zero-Inflated Negative Binomial Distribution Family Function
wffc

2008 World Fly Fishing Championships Data
zanegbinomial

Zero-Altered Negative Binomial Distribution
Yules

Yule-Simon Distribution
Zapois

Zero-Altered Poisson Distribution
zetaff

Zeta Distribution Family Function
vgam

Fitting Vector Generalized Additive Models
undocumented-methods

Undocumented Methods Functions
rrvglm

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

Weibull Distribution Family Function
zipebcom

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

Zero-Altered Negative Binomial Distribution
rig

Reciprocal Inverse Gaussian distribution
Zeta

The Zeta Distribution
smartpred

Smart Prediction
zipoisson

Zero-Inflated Poisson Distribution Family Function
zibinomial

Zero-Inflated Binomial Distribution Family Function
smart.mode.is

Determine What Mode the Smart Prediction is In
toxop

Toxoplasmosis Data
snorm

Skew-Normal Distribution
trplot.qrrvglm

Trajectory plot for QRR-VGLMs
vglmff-class

Class ``vglmff''
wrapup.smart

Cleans Up After Smart Prediction
Zigeom

Zero-Inflated Geometric Distribution
yip88

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

Zero-Altered Poisson Distribution
Zipois

Zero-Inflated Poisson Distribution
ccoef-methods

Constrained (Canonical) Coefficients
cgumbel

Censored Gumbel Distribution
explog

The Exponential Logarithmic Distribution
exponential

Exponential Distribution
lms.yjn

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

Log-Laplace and Logit-Laplace Distribution Family Functions
lvplot.rrvglm

Latent Variable Plot for RR-VGLMs
lgammaff

Log-gamma Distribution Family Function
plotqrrvglm

Model Diagnostic Plots for QRR-VGLMs
Polono

The Poisson Lognormal Distribution
predictvglm

Predict Method for a VGLM fit
pneumo

Pneumoconiosis in Coalminers Data
wffc.indiv

2008 World Fly Fishing Championships (Individual results) Data
Zinegbin

Zero-Inflated Negative Binomial Distribution