Learn R Programming

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

VGAM (version 0.9-0)

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

License

GPL-2

Maintainer

Last Published

September 1st, 2012

Functions in VGAM (0.9-0)

bilogistic4

Bivariate Logistic Distribution Family Function
ABO

The ABO Blood Group System
Coef.rrvglm

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

Data on Back Pain Prognosis, from Anderson (1984)
AB.Ab.aB.ab2

The AB-Ab-aB-ab2 Blood Group System
AB.Ab.aB.ab

The AB-Ab-aB-ab Blood Group System
Coef.vlm

Extract Model Coefficients for VLM Objects
betabinomial.ab

Beta-binomial Distribution Family Function
amlexponential

Exponential Regression by Asymmetric Maximum Likelihood Estimation
MNSs

The MNSs Blood Group System
amlpoisson

Poisson Regression by Asymmetric Maximum Likelihood Estimation
Binom2.or

Bivariate Binary Regression with an Odds Ratio
Tol

Tolerances
Links

Link functions for VGLM/VGAM/etc. families
cratio

Ordinal Regression with Continuation Ratios
alaplace

Asymmetric Laplace Distribution Family Functions
acat

Ordinal Regression with Adjacent Categories Probabilities
bivgamma.mckay

Bivariate Gamma: McKay's Distribution
cao

Fitting Constrained Additive Ordination (CAO)
borel.tanner

Borel-Tanner Distribution Family Function
dcennormal1

Univariate Normal Distribution with Double Censoring
Rcim

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

Ali-Mikhail-Haq Distribution's Bivariate Distribution
SurvS4-class

Class "SurvS4"
binormal

Bivariate normal distribution
felix

Felix Distribution Family Function
Inv.gaussian

The Inverse Gaussian Distribution
Qvar

Quasi-variances Preprocessing Function
Pareto

The Pareto Distribution
betaff

The Two-parameter Beta Distribution Family Function
chisq

Chi-squared Distribution
betabinomial

Beta-binomial Distribution Family Function
alaplaceUC

The Laplace Distribution
G1G2G3

The G1G2G3 Blood Group System
Fnorm

The Folded-Normal Distribution
bratt

Bradley Terry Model With Ties
enzyme

Enzyme Data
benini

Benini Distribution Family Function
chinese.nz

Chinese Population in New Zealand 1867--2001 Data
gevUC

The Generalized Extreme Value Distribution
gumbelIbiv

Gumbel's Type I Bivariate Distribution Family Function
Fgm

Farlie-Gumbel-Morgenstern's Bivariate Distribution
calibrate.qrrvglm

Calibration for CQO, UQO and CAO models
AA.Aa.aa

The AA-Aa-aa Blood Group System
crime.us

Estimated Crime in 2009 in USA
Coef.rrvglm-class

Class ``Coef.rrvglm''
Max

Maxima
SurvS4

Create a Survival Object
VGAM-package

Vector Generalized Linear and Additive Models
calibrate

Model Calibrations
crashes

Crashes on New Zealand Roads in 2009
gengammaUC

The Generalized Gamma Distribution
binom2.rho

Bivariate Probit Model (Family Function)
lvplot

Latent Variable Plot
binomialff

Binomial Family Function
DeLury

DeLury's Method for Population Size Estimation
amlnormal

Asymmetric Least Squares Quantile Regression
Coef.qrrvglm-class

Class ``Coef.qrrvglm''
betaII

Beta Distribution of the Second Kind
cauchit

Cauchit Link Function
Expectiles-Exponential

Expectiles of the Exponential Distribution
Opt

Maxima
depvar

Response variable extracted
ccoef

Extract Model Constrained/Canonical Coefficients
AICvlm

Akaike's Information Criterion
freund61

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

Benford's Distribution
betaprime

The Beta-Prime Distribution
bilogis4

Bivariate Logistic Distribution
Coef.qrrvglm

Returns Important Matrices etc. of a QO Object
geometric

Geometric Distribution
mix2poisson

Mixture of Two Poisson Distributions
chest.nz

Chest Pain in NZ Adults Data
biplot-methods

Biplot of Constrained Regression Models
identity

Identity Link Function
Betabinom

The Beta-Binomial Distribution
Betageom

The Beta-Geometric Distribution
genbetaII

Generalized Beta Distribution of the Second Kind
gaussianff

Gaussian (normal) Family Function
amlbinomial

Binomial Logistic Regression by Asymmetric Maximum Likelihood Estimation
coalminers

Breathlessness and Wheeze Amongst Coalminers Data
Frank

Frank's Bivariate Distribution
finney44

Toxicity trial for insects
cao.control

Control Function for RR-VGAMs (CAO)
cqo

Fitting Constrained Quadratic Ordination (CQO)
cumulative

Ordinal Regression with Cumulative Probabilities
dexpbinomial

Double Exponential Binomial Distribution Family Function
Coef

Computes Model Coefficients and Quantities
auuc

Auckland University Undergraduate Counts Data
beta.ab

The Two-parameter Beta Distribution Family Function
leipnik

Leipnik Distribution Family Function
cgo

Redirects the user to cqo
ccoef-methods

Constrained (Canonical) Coefficients
CommonVGAMffArguments

Common VGAM family function Arguments
gpdUC

The Generalized Pareto Distribution
plotvgam.control

Control Function for plotvgam()
cardioid

Cardioid Distribution Family Function
golf

Gamma-Ordinal Link Function
exponential

Exponential Distribution
marital.nz

New Zealand Marital Data.
gew

General Electric and Westinghouse Data
dirichlet

Fitting a Dirichlet Distribution
fill

Creates a Matrix of Appropriate Dimension
nbcanlink

Negative binomial canonical link function
cennormal1

Censored Normal Distribution
garma

GARMA (Generalized Autoregressive Moving-Average) Models
betageometric

Beta-geometric Distribution Family Function
invlomax

Inverse Lomax Distribution Family Function
hzeta

Haight's Zeta Family Function
calibrate-methods

Calibration for Constrained Regression Models
dirmul.old

Fitting a Dirichlet-Multinomial Distribution
multinomial

Multinomial Logit Model
venice

Venice Maximum Sea Levels Data
vglm.control

Control function for vglm
gengamma

Generalized Gamma distribution family function
Expectiles-Uniform

Expectiles of the Uniform Distribution
perks

Perks Distribution Family Function
lvplot.rrvglm

Latent Variable Plot for RR-VGLMs
lomax

Lomax Distribution Family Function
erf

Error Function
Dagum

The Dagum Distribution
guplot

Gumbel Plot
huie

Harvard University International Enrollments
df.residual

Residual Degrees-of-Freedom
fisherz

Fisher's Z Link Function
lerch

Lerch Phi Function
Frechet

The Frechet Distribution
Betanorm

The Beta-Normal Distribution
poissonp

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

Logit Link Function
bisa

Birnbaum-Saunders Distribution Family Function
grc

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

2-parameter Gamma Distribution
gammahyp

Gamma Hyperbola Bivariate Distribution
cenpoisson

Censored Poisson Family Function
cgumbel

Censored Gumbel Distribution
Gompertz

The Gompertz Distribution
fff

F Distribution Family Function
dirmultinomial

Fitting a Dirichlet-Multinomial Distribution
exppoisson

Exponential Poisson Distribution Family Function
gumbel

Gumbel Distribution Family Function
Expectiles-Normal

Expectiles of the Normal Distribution
lognormal

Lognormal Distribution
clo

Redirects the user to rrvglm
lambertW

The Lambert W function
negbinomial.size

Negative Binomial Distribution Family Function With Known Size
propodds

Proportional Odds Model for Ordinal Regression
plackett

Plackett's Bivariate Distribution Family Function
Fisk

The Fisk Distribution
expgeometric

Exponential Geometric Distribution Family Function
hspider

Hunting Spider Data
hued

Harvard University Degrees Conferred by Student Ethnicity
Brat

Inputting Data to fit a Bradley Terry Model
deplot.lmscreg

Density Plot for LMS Quantile Regression
grain.us

Grain Prices Data in USA
hormone

Hormone Data
gev

Generalized Extreme Value Distribution Family Function
cloglog

Complementary Log-log Link Function
plotqrrvglm

Model Diagnostic Plots for QRR-VGLMs
lms.bcn

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

Body Mass Index of New Zealand Adults Data
lqnorm

Minimizing the L-q norm Family Function
expgeom

The Exponential Geometric Distribution
rcqo

Constrained Quadratic Ordination
maxwell

Maxwell Distribution Family Function
erlang

Erlang Distribution
hypersecant

Hyperbolic Secant Distribution Family Function
exppois

The Exponential Poisson Distribution
Nakagami

Nakagami Distribution
expexp1

Exponentiated Exponential Distribution
setup.smart

Smart Prediction Setup
iam

Index from Array to Matrix
expexp

Exponentiated Exponential Distribution
Rice

The Rice Distribution
posnormal1

Positive Normal Distribution Family Function
constraints

Constraint Matrices
fnormal1

Folded Normal Distribution Family Function
invparalogistic

Inverse Paralogistic Distribution Family Function
Lino

The Generalized Beta Distribution (Libby and Novick, 1982)
get.smart

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

Kumaraswamy Distribution Family Function
calibrate.qrrvglm.control

Control function for CQO/UQO/CAO calibration
gamma2.ab

2-parameter Gamma Distribution
inv.gaussianff

Inverse Gaussian Distribution Family Function
explink

Exponential Link Function
cauchy

Cauchy Distribution Family Function
rrvglm.control

Control function for rrvglm
genpoisson

Generalized Poisson distribution
micmen

Michaelis-Menten Model
leukemia

Acute Myelogenous Leukemia Survival Data
Zapois

Zero-Altered Poisson Distribution
cdf.lmscreg

Cumulative Distribution Function for LMS Quantile Regression
Posgeom

Positive-geometric Distribution
get.smart.prediction

Retrieves ``.smart.prediction''
Card

Cardioid Distribution
Bort

The Borel-Tanner Distribution
lindley

1-parameter Gamma Distribution
posnegbinomial

Positive Negative Binomial Distribution Family Function
paralogistic

Paralogistic Distribution Family Function
genray

The Generalized Rayleigh Distribution
laplace

Laplace Distribution
huggins91

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

Fitted Values of a VLM object
ruge

Rutherford-Geiger Polonium Data
lrtest

Likelihood Ratio Test of Nested Models
moffset

Matrix Offset
olympic

2008 Summer Olympic Final Medal Count Data
logff

Logarithmic Distribution
fsqrt

Folded Square Root Link Function
qtplot.lmscreg

Quantile Plot for LMS Quantile Regression
rig

Reciprocal Inverse Gaussian distribution
prentice74

Prentice (1974) Log-gamma Distribution
qrrvglm.control

Control function for QRR-VGLMs (CQO)
gumbelUC

The Gumbel Distribution
Expectiles-Koenker

Expectiles/Quantiles of the Koenker Distribution
skewnormal1

Univariate Skew-Normal Distribution Family Function
gumbelII

Gumbel-II Distribution Family Function
plotqtplot.lmscreg

Quantile Plot for LMS Quantile Regression
loge

Log link function
smart.mode.is

Determine What Mode the Smart Prediction is In
mix2normal1

Mixture of Two Univariate Normal Distributions
rayleigh

Rayleigh Distribution Family Function
s

Defining smooths in VGAM formulae
hatvalues

Hat Values and Regression Deletion Diagnostics
ParetoIV

The Pareto(IV/III/II) Distributions
wffc.nc

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

Levy Distribution Family Function
put.smart

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

The Skellam Distribution
vsmooth.spline

Vector cubic smoothing spline
posbinomial

Positive Binomial Distribution Family Function
genrayleigh

Generalized Rayleigh Distribution Family Function
is.zero

Zero Constraint Matrices
lms.bcg

LMS Quantile Regression with a Box-Cox transformation to a Gamma Distribution
model.framevlm

Construct the Model Frame of a VLM Object
Tpareto

The Truncated Pareto Distribution
dhuber

Huber's least favourable distribution
logc

Complementary-log Link Function
lirat

Low-iron Rat Teratology Data
hyperg

Hypergeometric Family Function
is.parallel

Parallelism Constraint Matrices
negbinomial

Negative Binomial Distribution Family Function
qtplot.gumbel

Quantile Plot for Gumbel Regression
explog

The Exponential Logarithmic Distribution
logistic

Logistic Distribution Family Function
makeham

Makeham Distribution Family Function
laplaceUC

The Laplace Distribution
gpd

Generalized Pareto Distribution Family Function
koenker

Koenker's Distribution Family Function
huggins91UC

Huggins (1991) Capture-recapture Model
is.smart

Test For a Smart Object
trplot

Trajectory Plot
explogarithmic

Exponential Logarithmic Distribution Family Function
huse

Harvard University Numbers of Ladder Faculty by School and Ethnicity
Slash

Slash Distribution
invbinomial

Inverse Binomial Distribution Family Function
rrar

Nested reduced-rank autoregressive models for multiple time series
snorm

Skew-Normal Distribution
tobit

Tobit Model
mccullagh89

McCullagh (1989) Distribution Family Function
zanegbinomial

Zero-Altered Negative Binomial Distribution
Triangle

The Triangle Distribution
loglinb3

Loglinear Model for Three Binary Responses
notdocumentedyet

Undocumented and Internally Used Functions and Classes
loglog

Log-log Link Function
lvplot.qrrvglm

Latent Variable Plot for QO models
Posnegbin

Positive-Negative Binomial Distribution
rrvglm.optim.control

Control function for rrvglm() calling optim()
lgammaUC

The Log-Gamma Distribution
meplot

Mean Excess Plot
Simplex

Simplex Distribution
lv

Latent Variables
gamma1

1-parameter Gamma Distribution
Posnorm

The Positive-Normal Distribution
ugss

Undergraduate Statistics Students Lifestyle Questionnaire
Polono

The Poisson Lognormal Distribution
margeff

Marginal effects for the multinomial logit and cumulative models
mix2exp

Mixture of Two Exponential Distributions
pareto1

Pareto and Truncated Pareto Distribution Family Functions
mlogit

Multinomial Logit Link Function
Log

Logarithmic Distribution
smart.expression

S Expression for Smart Functions
Gumbel-II

The Gumbel-II Distribution
vglm

Fitting Vector Generalized Linear Models
huber

Huber's least favourable distribution family function
ucberk

University California Berkeley Graduate Admissions
vgam-class

Class ``vgam''
predictqrrvglm

Predict Method for a CQO fit
lgammaff

Log-gamma Distribution Family Function
recnormal1

Upper Record Values from a Univariate Normal Distribution
zeta

Riemann's Zeta Function
lms.yjn

LMS Quantile Regression with a Yeo-Johnson Transformation to Normality
trplot.qrrvglm

Trajectory plot for QRR-VGLMs
normal1

Univariate Normal Distribution
logoff

Log link function with an offset
Zanegbin

Zero-Altered Negative Binomial Distribution
perspqrrvglm

Perspective plot for QRR-VGLMs
wald

Wald Distribution Family Function
rrvglm-class

Class ``rrvglm''
rrvglm

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

Quasi-Binomial Family Function
plotdeplot.lmscreg

Density Plot for LMS Quantile Regression
wrapup.smart

Cleans Up After Smart Prediction
mbinomial

The Matched Binomial Distribution Family Function
Zabinom

Zero-Altered Binomial Distribution
plotvgam

Default VGAM Plotting
powl

Power Link Function
morgenstern

Morgenstern's Bivariate Distribution Family Function
quasipoissonff

Quasi-Poisson Family Function
model.matrixvlm

Construct the Design Matrix of a VLM Object
polf

Poisson-Ordinal Link Function
pospoisson

Positive Poisson Distribution Family Function
zipf

Zipf Distribution Family Function
riceff

Rice Distribution Family Function
uqo

Fitting Unconstrained Quadratic Ordination (UQO)
waitakere

Waitakere Ranges Data
hunua

Hunua Ranges Data
Pospois

Positive-Poisson Distribution
recexp1

Upper Record Values from a 1-parameter Exponential Distribution
vgam.control

Control function for vgam
zetaff

Zeta Distribution Family Function
rhobit

Rhobit Link Function
nbolf

Negative Binomial-Ordinal Link Function
ordpoisson

Ordinal Poisson Family Function
plotrcim0

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

Probit Link Function
weightsvglm

Prior and Working Weights of a VGLM fit
Zageom

Zero-Altered Geometric Distribution
yeo.johnson

Yeo-Johnson Transformation
Tikuv

A Short-tailed Symmetric Distribution
reciprocal

Reciprocal link function
Yules

Yule-Simon Distribution
rdiric

The Dirichlet distribution
vglmff-class

Class ``vglmff''
vglm-class

Class ``vglm''
vonmises

von Mises Distribution Family Function
poissonff

Poisson Family Function
zibinomial

Zero-Inflated Binomial Distribution Family Function
wffc.indiv

2008 World Fly Fishing Championships (Individual results) Data
zabinomial

Zero-Altered Binomial Distribution
prplot

Probability Plots for Categorical Data Analysis
wffc.teams

2008 World Fly Fishing Championships (Team results) Data
loglaplace

Log-Laplace and Logit-Laplace Distribution Family Functions
wffc

2008 World Fly Fishing Championships Data
sinmad

Singh-Maddala Distribution Family Function
seq2binomial

The Two-stage Sequential Binomial Distribution Family Function
loglinb2

Loglinear Model for Two Binary Responses
toxop

Toxoplasmosis Data
sratio

Ordinal Regression with Stopping Ratios
loglapUC

The Log-Laplace Distribution
oxtemp

Oxford Temperature Data
rlplot.egev

Return Level Plot for GEV Fits
yip88

Zero-Inflated Poisson Distribution (Yip (1988) algorithm)
undocumented-methods

Undocumented Methods Functions
wffc.points

Point System for the 2008 World Fly Fishing Championships
smartpred

Smart Prediction
vgam

Fitting Vector Generalized Additive Models
yulesimon

Yule-Simon Family Function
Posbinom

Positive-Binomial Distribution
weibull

Weibull Distribution Family Function
zero

The zero Argument in VGAM Family Functions
uqo.control

Control Function for UQO models
zapoisson

Zero-Altered Poisson Distribution
Zinegbin

Zero-Inflated Negative Binomial Distribution
Zipois

Zero-Inflated Poisson Distribution
xs.nz

Cross-sectional Data from the New Zealand Population
zageometric

Zero-Altered Geometric Distribution
pneumo

Pneumoconiosis in Coalminers Data
zinegbinomial

Zero-Inflated Negative Binomial Distribution Family Function
studentt

Student t Distribution
predictvglm

Predict Method for a VGLM fit
Zigeom

Zero-Inflated Geometric Distribution
zipebcom

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

Zero-Inflated Binomial Distribution
zigeometric

Zero-Inflated Geometric Distribution Family Function
zipoisson

Zero-Inflated Poisson Distribution Family Function