Learn R Programming

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

VGAM (version 0.8-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.8-3

License

GPL-2

Maintainer

Last Published

June 17th, 2011

Functions in VGAM (0.8-3)

cao

Fitting Constrained Additive Ordination (CAO)
betabin.ab

Beta-binomial Distribution Family Function
ccoef-methods

Constrained (Canonical) Coefficients
ccoef

Extract Model Constrained/Canonical Coefficients
gamma2

2-parameter Gamma Distribution
lambertW

The Lambert W function
Pareto

The Pareto Distribution
backPain

Data on Back Pain Prognosis, from Anderson (1984)
Rayleigh

The Rayleigh Distribution
cauchy

Cauchy Distribution Family Function
chisq

Chi-squared Distribution
clo

Redirects the user to rrvglm
gengammaUC

The Generalized Gamma Distribution
Card

Cardioid Distribution
cardioid

Cardioid Distribution Family Function
model.framevlm

Construct the Model Frame of a VLM Object
predict.qrrvglm

Predict Method for a CQO fit
Felix

The Felix Distribution
amlbinomial

Binomial Logistic Regression by Asymmetric Maximum Likelihood Estimation
exppoisson

Exponential Poisson Distribution Family Function
amlpoisson

Poisson Regression by Asymmetric Maximum Likelihood Estimation
Frechet

The Frechet Distribution
MNSs

The MNSs Blood Group System
Opt

Maxima
Simplex

Simplex Distribution
fff

F Distribution Family Function
Tpareto

The Truncated Pareto Distribution
vglm-class

Class ``vglm''
Tol

Tolerances
bivgamma.mckay

Bivariate Gamma: McKay's Distribution
Invlomax

The Inverse Lomax Distribution
Coef.qrrvglm-class

Class ``Coef.qrrvglm''
huggins91UC

Huggins (1991) Capture-recapture Model
bratt

Bradley Terry Model With Ties
Coef.rrvglm

Returns Important Matrices etc. of a RR-VGLM Object
AA.Aa.aa

The AA-Aa-aa Blood Group System
alaplace

Asymmetric Laplace Distribution Family Functions
amh

Ali-Mikhail-Haq Distribution Distribution Family Function
betaprime

The Beta-Prime Distribution
Zeta

The Zeta Distribution
ParetoIV

The Pareto(IV/III/II) Distributions
ABO

The ABO Blood Group System
benini

Benini Distribution Family Function
amlexponential

Exponential Regression by Asymmetric Maximum Likelihood Estimation
DeLury

DeLury's Method for Population Size Estimation
lirat

Low-iron Rat Teratology Data
G1G2G3

The G1G2G3 Blood Group System
calibrate-methods

Calibration for Constrained Regression Models
mix2exp

Mixture of Two Exponential Distributions
crashes

Crashes on New Zealand Roads in 2009
gpd

Generalized Pareto Distribution Family Function
huber

Huber's least favourable distribution family function
binom2.or

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

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

Exchangeable bivariate cloglog odds-ratio model from a zero-inflated Poisson distribution
wffc.nc

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

Bradley Terry Model
polf

Poisson-Ordinal Link Function
garma

GARMA (Generalized Autoregressive Moving-Average) Models
Betageom

The Beta-Geometric Distribution
fisherz

Fisher's Z Link Function
binomialff

Binomial Family Function
Fisk

The Fisk Distribution
plotvgam

Default VGAM Plotting
model.matrixvlm

Construct the Design Matrix of a VLM Object
genray

The Generalized Rayleigh Distribution
guplot

Gumbel Plot
hued

Harvard University Degrees Conferred by Student Ethnicity
hypersecant

Hyperbolic Secant Distribution Family Function
Zipf

The Zipf Distribution
morgenstern

Morgenstern's Bivariate Distribution Family Function
VGAM-package

Vector Generalized Linear and Additive Models
cgumbel

Censored Gumbel Distribution
zanegbinomial

Zero-Altered Negative Binomial Distribution
chestnz

Chest Pain in NZ Adults Data
logff

Logarithmic Distribution
bisa

Birnbaum-Saunders Distribution Family Function
huggins91

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

Lerch Phi Function
Binom2.rho

Bivariate Probit Model
dirichlet

Fitting a Dirichlet Distribution
gammahyp

Gamma Hyperbola Bivariate Distribution
amlnormal

Asymmetric Least Squares Quantile Regression
cgo

Redirects the user to cqo
Bort

The Borel-Tanner Distribution
biplot-methods

Biplot of Constrained Regression Models
Sinmad

The Singh-Maddala Distribution
Rcam

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

Quasi-Poisson Family Function
betaff

The Two-parameter Beta Distribution Family Function
rig

Reciprocal Inverse Gaussian distribution
calibrate

Model Calibrations
SurvS4

Create a Survival Object
nbolf

Negative Binomial-Ordinal Link Function
Expectiles-Uniform

Expectiles of the Uniform Distribution
genbetaII

Generalized Beta Distribution of the Second Kind
Coef.rrvglm-class

Class ``Coef.rrvglm''
betageometric

Beta-geometric Distribution Family Function
kumar

Kumaraswamy Distribution Family Function
fitted.vlm

Fitted Values of a VLM object
constraints

Constraint Matrices
vsmooth.spline

Vector cubic smoothing spline
dirmul.old

Fitting a Dirichlet-Multinomial Distribution
explog

The Exponential Logarithmic Distribution
Max

Maxima
Fnorm

The Folded-Normal Distribution
oxtemp

Oxford Temperature Data
Links

Link functions for VGLM/VGAM/etc. families
qrrvglm.control

Control function for QRR-VGLMs (CQO)
dcennormal1

Univariate Normal Distribution with Double Censoring
Slash

Slash Distribution
lvplot.rrvglm

Latent Variable Plot for RR-VGLMs
cao.control

Control Function for RR-VGAMs (CAO)
deplot.lmscreg

Density Plot for LMS Quantile Regression
prplot

Probability Plots for Categorical Data Analysis
cennormal1

Censored Normal Distribution
AB.Ab.aB.ab2

The AB-Ab-aB-ab2 Blood Group System
SurvS4-class

Class "SurvS4"
Coef.vlm

Extract Model Coefficients for VLM Objects
cloglog

Complementary Log-log Link Function
toxop

Toxoplasmosis Data
ugss

Undergraduate Statistics Students Lifestyle Questionnaire
hunua

Hunua Ranges Data
bilogistic4

Bivariate Logistic Distribution Family Function
get.smart.prediction

Retrieves ``.smart.prediction''
Inv.gaussian

The Inverse Gaussian Distribution
trplot.qrrvglm

Trajectory plot for QRR-VGLMs
CommonVGAMffArguments

Common VGAM family function Arguments
lgammaff

Log-gamma Distribution Family Function
Coef.qrrvglm

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

2-parameter Gamma Distribution
betaII

Beta Distribution of the Second Kind
rrar

Nested reduced-rank autoregressive models for multiple time series
borel.tanner

Borel-Tanner Distribution Family Function
waitakere

Waitakere Ranges Data
bminz

Body Mass Index of New Zealand Adults Data
fnormal1

Folded Normal Distribution Family Function
gamma1

1-parameter Gamma Distribution
gevUC

The Generalized Extreme Value Distribution
calibrate.qrrvglm.control

Control function for CQO/UQO/CAO calibration
lognormal

Lognormal Distribution
vgam.control

Control function for vgam
gev

Generalized Extreme Value Distribution Family Function
trplot

Trajectory Plot
golf

Gamma-Ordinal Link Function
gaussianff

Gaussian (normal) Family Function
geometric

Geometric Distribution
olympic

2008 Summer Olympic Final Medal Count Data
get.smart

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

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

Generalized Rayleigh Distribution Family Function
huse

Harvard University Numbers of Ladder Faculty by School and Ethnicity
auuc

Auckland University Undergraduate Counts Data
ruge

Rutherford-Geiger Polonium Data
Lino

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

Quasi-Binomial Family Function
Nakagami

Nakagami Distribution
plotrcam0

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

Gumbel Distribution Family Function
freund61

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

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

The Matched Binomial Distribution Family Function
Zipois

Zero-Inflated Poisson Distribution
iam

Index from Array to Matrix
zibinomial

Zero-Inflated Binomial Distribution Family Function
Frank

Frank's Bivariate Distribution
yeo.johnson

Yeo-Johnson Transformation
gengamma

Generalized Gamma distribution family function
loglaplace

Log-Laplace and Logit-Laplace Distribution Family Functions
loglinb2

Loglinear Model for Two Binary Responses
notdocumentedyet

Undocumented and Internally Used Functions and Classes
Invparalogistic

The Inverse Paralogistic Distribution
cumulative

Ordinal Regression with Cumulative Probabilities
dagum

Dagum Distribution Family Function
Betabin

The Beta-Binomial Distribution
rdiric

The Dirichlet distribution
cqo

Fitting Constrained Quadratic Ordination (CQO)
Triangle

The Triangle Distribution
expgeom

The Exponential Geometric Distribution
coalminers

Breathlessness and Wheeze Amongst Coalminers Data
posbinomial

Positive Binomial Distribution Family Function
smartpred

Smart Prediction
studentt

Student t Distribution
snorm

Skew-Normal Distribution
laplace

Laplace Distribution
cenpoisson

Censored Poisson Family Function
cauchit

Cauchit Link Function
hzeta

Haight's Zeta Family Function
exponential

Exponential Distribution
posnegbinomial

Positive Negative Binomial Distribution Family Function
cdf.lmscreg

Cumulative Distribution Function for LMS Quantile Regression
cratio

Ordinal Regression with Continuation Ratios
smart.expression

S Expression for Smart Functions
exppois

The Exponential Poisson Distribution
identity

Identity Link Function
Posnegbin

Positive-Negative Binomial Distribution
mccullagh89

McCullagh (1989) Distribution Family Function
laplaceUC

The Laplace Distribution
micmen

Michaelis-Menten Model
erlang

Erlang Distribution
mix2poisson

Mixture of Two Poisson Distributions
uscrime

Estimated Crime in 2009 in USA
posnormal1

Positive Normal Distribution Family Function
uqo.control

Control Function for UQO models
zipoisson

Zero-Inflated Poisson Distribution Family Function
explogarithmic

Exponential Logarithmic Distribution Family Function
genpoisson

Generalized Poisson distribution
expexp1

Exponentiated Exponential Distribution
logistic

Logistic Distribution Family Function
Expectiles-Koenker

Expectiles/Quantiles of the Koenker Distribution
logit

Logit Link Function
lv

Latent Variables
prentice74

Prentice (1974) Log-gamma Distribution
Maxwell

The Maxwell Distribution
lomax

Lomax Distribution Family Function
pospoisson

Positive Poisson Distribution Family Function
riceff

Rice Distribution Family Function
gumbelIbiv

Gumbel's Type I Bivariate Distribution Family Function
nzc

Chinese Population in New Zealand 1867--2001 Data
expexp

Exponentiated Exponential Distribution
vglm.control

Control function for vglm
meplot

Mean Excess Plot
dirmultinomial

Fitting a Dirichlet-Multinomial Distribution
Log

Logarithmic Distribution
tikuv

Short-tailed Symmetric Distribution Family Function
negbinomial

Negative Binomial Distribution Family Function
fill

Creates a Matrix of Appropriate Dimension
loglinb3

Loglinear Model for Three Binary Responses
loglapUC

The Log-Laplace Distribution
loglog

Log-log Link Function
Zibinom

Zero-Inflated Binomial Distribution
mix2normal1

Mixture of Two Univariate Normal Distributions
vonmises

von Mises Distribution Family Function
poissonp

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

Harvard University International Enrollments
rrvglm.optim.control

Control function for rrvglm() calling optim()
yip88

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

Inverse Binomial Distribution Family Function
lms.bcg

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

Venice Maximum Sea Levels Data
wrapup.smart

Cleans Up After Smart Prediction
put.smart

Adds a List to the End of the List ``.smart.prediction''
undocumented-methods

Undocumented Methods Functions
zapoisson

Zero-Altered Poisson Distribution
seq2binomial

The Two-stage Sequential Binomial Distribution Family Function
pareto1

Pareto and Truncated Pareto Distribution Family Functions
moffset

Matrix Offset
koenker

Koenker's Distribution Family Function
leipnik

Leipnik Distribution Family Function
s

Defining smooths in VGAM formulae
margeff

Marginal effects for the multinomial logit and cumulative models
recexp1

Upper Record Values from a 1-parameter Exponential Distribution
levy

Levy Distribution Family Function
zinegbinomial

Zero-Inflated Negative Binomial Distribution Family Function
powl

Power Link Function
Plackett

Plackett's Bivariate Distribution
logc

Complementary-log Link Function
loge

Log link function
vglm

Fitting Vector Generalized Linear Models
qtplot.lmscreg

Quantile Plot for LMS Quantile Regression
lvplot

Latent Variable Plot
Rice

The Rice Distribution
multinomial

Multinomial Logit Model
weightsvglm

Prior and Working Weights of a VGLM fit
tobit

Tobit Model
rrvglm.control

Control function for rrvglm
skewnormal1

Univariate Skew-Normal Distribution Family Function
vgam

Fitting Vector Generalized Additive Models
logoff

Log link function with an offset
plotqtplot.lmscreg

Quantile Plot for LMS Quantile Regression
zero

The zero Argument in VGAM Family Functions
fsqrt

Folded Square Root Link Function
Zapois

Zero-Altered Poisson Distribution
paralogistic

Paralogistic Distribution Family Function
usgrain

Grain Prices Data in USA
vgam-class

Class ``vgam''
propodds

Proportional Odds Model for Ordinal Regression
wffc.indiv

2008 World Fly Fishing Championships (Individual results) Data
pneumo

Pneumoconiosis in Coalminers Data
plotqrrvglm

Model Diagnostic Plots for QRR-VGLMs
rlplot.egev

Return Level Plot for GEV Fits
plotvgam.control

Control Function for plotvgam()
inv.gaussianff

Inverse Gaussian Distribution Family Function
yulesimon

Yule-Simon Family Function
Zanegbin

Zero-Altered Negative Binomial Distribution
normal1

Univariate Normal Distribution
Polono

The Poisson Lognormal Distribution
Posnorm

The Positive-Normal Distribution
recnormal1

Upper Record Values from a Univariate Normal Distribution
smart.mode.is

Determine What Mode the Smart Prediction is In
ordpoisson

Ordinal Poisson Family Function
qtplot.gumbel

Quantile Plot for Gumbel Regression
skellam

Skellam Distribution Family Function
uqo

Fitting Unconstrained Quadratic Ordination (UQO)
predict.vglm

Predict Method for a VGLM fit
Yules

Yule-Simon Distribution
wffc.teams

2008 World Fly Fishing Championships (Team results) Data
reciprocal

Reciprocal link function
setup.smart

Smart Prediction Setup
vglmff-class

Class ``vglmff''
Coef

Computes Model Coefficients and Quantities
Benford

Benford's Distribution
AICvlm

Akaike's Information Criterion
bilogis4

Bivariate Logistic Distribution
Betanorm

The Beta-Normal Distribution
acat

Ordinal Regression with Adjacent Categories Probabilities
calibrate.qrrvglm

Calibration for CQO, UQO and CAO models
expgeometric

Exponential Geometric Distribution Family Function
erf

Error Function
gew

General Electric and Westinghouse Data
hspider

Hunting Spider Data
beta.ab

The Two-parameter Beta Distribution Family Function
lgammaUC

The Log-Gamma Distribution
binormal

Bivariate normal distribution
dexpbinomial

Double Exponential Binomial Distribution Family Function
enzyme

Enzyme Data
lms.yjn

LMS Quantile Regression with a Yeo-Johnson Transformation to Normality
lms.bcn

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

New Zealand Marital Data.
lvplot.qrrvglm

Latent Variable Plot for QO models
gumbelUC

The Gumbel Distribution
poissonff

Poisson Family Function
Pospois

Positive-Poisson Distribution
rcqo

Constrained Quadratic Ordination
rhobit

Rhobit Link Function
rrvglm-class

Class ``rrvglm''
sratio

Ordinal Regression with Stopping Ratios
zetaff

Zeta Distribution Family Function
hyperg

Hypergeometric Family Function
is.smart

Test For a Smart Object
leukemia

Acute Myelogenous Leukemia Survival Data
lqnorm

Minimizing the L-q norm Family Function
probit

Probit Link Function
wffc

2008 World Fly Fishing Championships Data
AB.Ab.aB.ab

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

Beta-binomial Distribution Family Function
alaplaceUC

The Laplace Distribution
Expectiles-Normal

Expectiles of the Normal Distribution
Expectiles-Exponential

Expectiles of the Exponential Distribution
gpdUC

The Generalized Pareto Distribution
dhuber

Huber's least favourable distribution
persp.qrrvglm

Perspective plot for QRR-VGLMs
plotdeplot.lmscreg

Density Plot for LMS Quantile Regression
Posbinom

Positive-Binomial Distribution
wald

Wald Distribution Family Function
weibull

Weibull Distribution Family Function
wffc.points

Point System for the 2008 World Fly Fishing Championships
Zinegbin

Zero-Inflated Negative Binomial Distribution