Learn R Programming

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

VGAM (version 0.9-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.9-1

License

GPL-2

Maintainer

Last Published

April 27th, 2013

Functions in VGAM (0.9-1)

calibrate.qrrvglm.control

Control function for CQO/UQO/CAO calibration
ccoef-methods

Constrained (Canonical) Coefficients
ccoef

Extract Model Constrained/Canonical Coefficients
constraints

Constraint Matrices
Frank

Frank's Bivariate Distribution
hyperg

Hypergeometric Family Function
hunua

Hunua Ranges Data
CommonVGAMffArguments

Common VGAM family function Arguments
Max

Maxima
Coef.rrvglm

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

Captures of peromyscus maniculatus
amlexponential

Exponential Regression by Asymmetric Maximum Likelihood Estimation
amlbinomial

Binomial Logistic Regression by Asymmetric Maximum Likelihood Estimation
Coef.vlm

Extract Model Coefficients for VLM Objects
amlnormal

Asymmetric Least Squares Quantile Regression
hormone

Hormone Assay Data
lqnorm

Minimizing the L-q norm Family Function
poissonff

Poisson Family Function
cao

Fitting Constrained Additive Ordination (CAO)
dirichlet

Fitting a Dirichlet Distribution
Qvar

Quasi-variances Preprocessing Function
posbernoulli.tb

Positive Bernoulli Family Function with Time and Behavioural Effects (experimental)
AA.Aa.aa

The AA-Aa-aa Blood Group System
qtplot.lmscreg

Quantile Plot for LMS Quantile Regression
betageometric

Beta-geometric Distribution Family Function
SurvS4

Create a Survival Object
dexpbinomial

Double Exponential Binomial Distribution Family Function
Coef

Computes Model Coefficients and Quantities
fgm

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

Binomial Family Function
Betabinom

The Beta-Binomial Distribution
MNSs

The MNSs Blood Group System
AB.Ab.aB.ab2

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

Fitting Constrained Quadratic Ordination (CQO)
borel.tanner

Borel-Tanner Distribution Family Function
erlang

Erlang Distribution
Bisa

The Birnbaum-Saunders Distribution
Betanorm

The Beta-Normal Distribution
logff

Logarithmic Distribution
cao.control

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

Cumulative Distribution Function for LMS Quantile Regression
AB.Ab.aB.ab

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

Poisson Regression by Asymmetric Maximum Likelihood Estimation
Rcim

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

The ABO Blood Group System
logc

Complementary-log Link Function
Pareto

The Pareto Distribution
Expectiles-Uniform

Expectiles of the Uniform Distribution
binormal

Bivariate normal distribution family function
calibrate

Model Calibrations
Frechet

The Frechet Distribution
Benford

Benford's Distribution
Betageom

The Beta-Geometric Distribution
betaII

Beta Distribution of the Second Kind
leukemia

Acute Myelogenous Leukemia Survival Data
AICvlm

Akaike's Information Criterion
cenpoisson

Censored Poisson Family Function
invlomax

Inverse Lomax Distribution Family Function
Binom2.or

Bivariate Binary Regression with an Odds Ratio
binom2.rho

Bivariate Probit Model (Family Function)
Opt

Maxima
skewnormal1

Univariate Skew-Normal Distribution Family Function
fittedvlm

Fitted Values of a VLM object
fisherz

Fisher's Z Link Function
chest.nz

Chest Pain in NZ Adults Data
Coef.qrrvglm

Returns Important Matrices etc. of a QO Object
Tobit

The Tobit Distribution
cloglog

Complementary Log-log Link Function
crashes

Crashes on New Zealand Roads in 2009
vglm

Fitting Vector Generalized Linear Models
Huggins89.t1

Table 1 of Huggins (1989)
expgeom

The Exponential Geometric Distribution
gamma1

1-parameter Gamma Distribution
garma

GARMA (Generalized Autoregressive Moving-Average) Models
fnormal1

Folded Normal Distribution Family Function
expgeometric

Exponential Geometric Distribution Family Function
auuc

Auckland University Undergraduate Counts Data
lms.bcn

LMS Quantile Regression with a Box-Cox Transformation to Normality
Expectiles-Exponential

Expectiles of the Exponential Distribution
brat

Bradley Terry Model
Amh

Ali-Mikhail-Haq Distribution's Bivariate Distribution
gumbelII

Gumbel-II Distribution Family Function
bratt

Bradley Terry Model With Ties
betaff

The Two-parameter Beta Distribution Family Function
gamma2.ab

2-parameter Gamma Distribution
fisk

Fisk Distribution family function
gamma2

2-parameter Gamma Distribution
bilogistic4

Bivariate Logistic Distribution Family Function
gengamma

Generalized Gamma distribution family function
dirmultinomial

Fitting a Dirichlet-Multinomial Distribution
alaplaceUC

The Laplace Distribution
chisq

Chi-squared Distribution
rrvglm.control

Control function for rrvglm
expexp

Exponentiated Exponential Distribution
exppois

The Exponential Poisson Distribution
coalminers

Breathlessness and Wheeze Amongst Coalminers Data
backPain

Data on Back Pain Prognosis, from Anderson (1984)
calibrate.qrrvglm

Calibration for CQO, UQO and CAO models
gaussianff

Gaussian (normal) Family Function
bilogis4

Bivariate Logistic Distribution
Coef.qrrvglm-class

Class ``Coef.qrrvglm''
dagum

Dagum Distribution Family Function
felix

Felix Distribution Family Function
dcennormal1

Univariate Normal Distribution with Double Censoring
snorm

Skew-Normal Distribution
propodds

Proportional Odds Model for Ordinal Regression
genpoisson

Generalized Poisson distribution
finney44

Toxicity trial for insects
Bort

The Borel-Tanner Distribution
Card

Cardioid Distribution
lirat

Low-iron Rat Teratology Data
cgo

Redirects the user to cqo
explink

Exponential Link Function
Coef.rrvglm-class

Class ``Coef.rrvglm''
gompertz

Gompertz Distribution Family Function
gpdUC

The Generalized Pareto Distribution
bivgamma.mckay

Bivariate Gamma: McKay's Distribution
logit

Logit Link Function
cumulative

Ordinal Regression with Cumulative Probabilities
cennormal1

Censored Normal Distribution
ucberk

University California Berkeley Graduate Admissions
is.parallel

Parallelism Constraint Matrices
G1G2G3

The G1G2G3 Blood Group System
zibinomial

Zero-Inflated Binomial Distribution Family Function
trplot

Trajectory Plot
cauchy

Cauchy Distribution Family Function
clo

Redirects the user to rrvglm
gev

Generalized Extreme Value Distribution Family Function
Invparalogistic

The Inverse Paralogistic Distribution
Kumar

The Kumaraswamy Distribution
expexp1

Exponentiated Exponential Distribution
betaprime

The Beta-Prime Distribution
exponential

Exponential Distribution
deplot.lmscreg

Density Plot for LMS Quantile Regression
gew

General Electric and Westinghouse Data
cgumbel

Censored Gumbel Distribution
is.zero

Zero Constraint Matrices
studentt

Student t Distribution
fsqrt

Folded Square Root Link Function
bmi.nz

Body Mass Index of New Zealand Adults Data
betabinomial

Beta-binomial Distribution Family Function
gpd

Generalized Pareto Distribution Family Function
loge

Log link function
gumbelUC

The Gumbel Distribution
gengammaUC

The Generalized Gamma Distribution
multinomial

Multinomial Logit Model
lms.yjn

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

Logarithmic Distribution
gumbel

Gumbel Distribution Family Function
golf

Gamma-Ordinal Link Function
cardioid

Cardioid Distribution Family Function
cratio

Ordinal Regression with Continuation Ratios
model.matrixvlm

Construct the Design Matrix of a VLM Object
fff

F Distribution Family Function
erf

Error Function
lvplot.rrvglm

Latent Variable Plot for RR-VGLMs
logoff

Log link function with an offset
DeLury

DeLury's Method for Population Size Estimation
SurvS4-class

Class "SurvS4"
Inv.gaussian

The Inverse Gaussian Distribution
plackett

Plackett's Bivariate Distribution Family Function
mix2normal1

Mixture of Two Univariate Normal Distributions
pareto1

Pareto and Truncated Pareto Distribution Family Functions
makeham

Makeham Distribution Family Function
prentice74

Prentice (1974) Log-gamma Distribution
chinese.nz

Chinese Population in New Zealand 1867--2001 Data
Expectiles-Normal

Expectiles of the Normal Distribution
beta.ab

The Two-parameter Beta Distribution Family Function
polf

Poisson-Ordinal Link Function
fill

Creates a Matrix of Appropriate Dimension
get.smart

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

Levy Distribution Family Function
laplaceUC

The Laplace Distribution
SUR

Seemingly Unrelated Regressions
put.smart

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

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

Lerch Phi Function
grain.us

Grain Prices Data in USA
acat

Ordinal Regression with Adjacent Categories Probabilities
hatvalues

Hat Values and Regression Deletion Diagnostics
exppoisson

Exponential Poisson Distribution Family Function
lms.bcg

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

Leipnik Distribution Family Function
Fnorm

The Folded-Normal Distribution
enzyme

Enzyme Data
betabinomial.ab

Beta-binomial Distribution Family Function
lvplot.qrrvglm

Latent Variable Plot for QO models
posbinomial

Positive Binomial Distribution Family Function
Nakagami

Nakagami Distribution
loglog

Log-log Link Function
lomax

Lomax Distribution Family Function
identity

Identity Link Function
mccullagh89

McCullagh (1989) Distribution Family Function
explog

The Exponential Logarithmic Distribution
gevUC

The Generalized Extreme Value Distribution
Links

Link functions for VGLM/VGAM/etc. families
Tol

Tolerances
Perks

The Perks Distribution
biplot-methods

Biplot of Constrained Regression Models
maxwell

Maxwell Distribution Family Function
rcqo

Constrained Quadratic Ordination
loglinb3

Loglinear Model for Three Binary Responses
alaplace

Asymmetric Laplace Distribution Family Functions
grc

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

Vector Generalized Linear and Additive Models
benini

Benini Distribution Family Function
marital.nz

New Zealand Marital Data.
morgenstern

Morgenstern's Bivariate Distribution Family Function
loglaplace

Log-Laplace and Logit-Laplace Distribution Family Functions
df.residual

Residual Degrees-of-Freedom
recexp1

Upper Record Values from a 1-parameter Exponential Distribution
cauchit

Cauchit Link Function
pospoisson

Positive Poisson Distribution Family Function
invbinomial

Inverse Binomial Distribution Family Function
Polono

The Poisson Lognormal Distribution
explogarithmic

Exponential Logarithmic Distribution Family Function
Lindley

The Lindley Distribution
ordpoisson

Ordinal Poisson Family Function
nbolf

Negative Binomial-Ordinal Link Function
gammahyp

Gamma Hyperbola Bivariate Distribution
perspqrrvglm

Perspective plot for QRR-VGLMs
is.smart

Test For a Smart Object
notdocumentedyet

Undocumented and Internally Used Functions and Classes
loglapUC

The Log-Laplace Distribution
nbcanlink

Negative binomial canonical link function
plotrcim0

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

Gumbel Plot
genrayleigh

Generalized Rayleigh Distribution Family Function
negbinomial

Negative Binomial Distribution Family Function
Expectiles-Koenker

Expectiles/Quantiles of the Koenker Distribution
Rayleigh

The Rayleigh Distribution
s

Defining smooths in VGAM formulae
ParetoIV

The Pareto(IV/III/II) Distributions
gumbelIbiv

Gumbel's Type I Bivariate Distribution Family Function
Triangle

The Triangle Distribution
tikuv

Short-tailed Symmetric Distribution Family Function
rlplot.egev

Return Level Plot for GEV Fits
posnormal1

Positive Normal Distribution Family Function
lgammaff

Log-gamma Distribution Family Function
hspider

Hunting Spider Data
calibrate-methods

Calibration for Constrained Regression Models
reciprocal

Reciprocal link function
Tpareto

The Truncated Pareto Distribution
pgamma.deriv

Derivatives of the Incomplete Gamma Integral
Gumbel-II

The Gumbel-II Distribution
depvar

Response variable extracted
rrvglm-class

Class ``rrvglm''
huber2

Huber's least favourable distribution family function
Zabinom

Zero-Altered Binomial Distribution
freund61

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

Haight's Zeta Function
dirmul.old

Fitting a Dirichlet-Multinomial Distribution
quasibinomialff

Quasi-Binomial Family Function
setup.smart

Smart Prediction Setup
sinmad

Singh-Maddala Distribution Family Function
pgamma.deriv.unscaled

Derivatives of the Incomplete Gamma Integral (Unscaled Version)
venice

Venice Maximum Sea Levels Data
posbernUC

Positive Bernoulli Sequence Model
qtplot.gumbel

Quantile Plot for Gumbel Regression
waitakere

Waitakere Ranges Data
logistic

Logistic Distribution Family Function
uqo

Fitting Unconstrained Quadratic Ordination (UQO)
rrar

Nested reduced-rank autoregressive models for multiple time series
Slash

Slash Distribution
micmen

Michaelis-Menten Model
moffset

Matrix Offset
vgam

Fitting Vector Generalized Additive Models
rrvglm

Fitting Reduced-Rank Vector Generalized Linear Models (RR-VGLMs)
plotqtplot.lmscreg

Quantile Plot for LMS Quantile Regression
meplot

Mean Excess Plot
Zapois

Zero-Altered Poisson Distribution
zanegbinomial

Zero-Altered Negative Binomial Distribution
quasipoissonff

Quasi-Poisson Family Function
mbinomial

The Matched Binomial Distribution Family Function
rdiric

The Dirichlet distribution
zeta

Riemann's Zeta Function
inv.gaussianff

Inverse Gaussian Distribution Family Function
mix2exp

Mixture of Two Exponential Distributions
truncweibull

Truncated Weibull Distribution Family Function
genbetaII

Generalized Beta Distribution of the Second Kind
laplace

Laplace Distribution
posbernoulli.t

Positive Bernoulli Family Function with Time Effects
skellam

Skellam Distribution Family Function
vglm-class

Class ``vglm''
mix2poisson

Mixture of Two Poisson Distributions
lgammaUC

The Log-Gamma Distribution
posbernoulli.b

Positive Bernoulli Family Function with Behavioural Effects
probit

Probit Link Function
Posgeom

Positive-geometric Distribution
olympics

2008 and 2012 Summer Olympic Final Medal Count Data
genray

The Generalized Rayleigh Distribution
wffc.teams

2008 World Fly Fishing Championships (Team results) Data
zapoisson

Zero-Altered Poisson Distribution
paralogistic

Paralogistic Distribution Family Function
Pospois

Positive-Poisson Distribution
lambertW

The Lambert W function
Posbinom

Positive-Binomial Distribution
smart.expression

S Expression for Smart Functions
uqo.control

Control Function for UQO models
pneumo

Pneumoconiosis in Coalminers Data
wrapup.smart

Cleans Up After Smart Prediction
get.smart.prediction

Retrieves ``.smart.prediction''
lrtest

Likelihood Ratio Test of Nested Models
plotdeplot.lmscreg

Density Plot for LMS Quantile Regression
lv

Latent Variables
hypersecant

Hyperbolic Secant Distribution Family Function
oxtemp

Oxford Temperature Data
prplot

Probability Plots for Categorical Data Analysis
wald

Wald Distribution Family Function
Zageom

Zero-Altered Geometric Distribution
Zinegbin

Zero-Inflated Negative Binomial Distribution
Posnorm

The Positive-Normal Distribution
Zigeom

Zero-Inflated Geometric Distribution
posnegbinomial

Positive Negative Binomial Distribution Family Function
zageometric

Zero-Altered Geometric Distribution
dhuber

Huber's least favourable distribution
lognormal

Lognormal Distribution
vgam.control

Control function for vgam
qrrvglm.control

Control function for QRR-VGLMs (CQO)
zinegbinomial

Zero-Inflated Negative Binomial Distribution Family Function
normal1

Univariate Normal Distribution
iam

Index from Array to Matrix
yeo.johnson

Yeo-Johnson Transformation
pnorm2

Bivariate normal distribution cumulative distribution function
seq2binomial

The Two-stage Sequential Binomial Distribution Family Function
margeff

Marginal effects for the multinomial logit and cumulative models
zipebcom

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

Simplex Distribution
lvplot

Latent Variable Plot
vglm.control

Control function for vglm
undocumented-methods

Undocumented Methods Functions
rig

Reciprocal Inverse Gaussian distribution
loglinb2

Loglinear Model for Two Binary Responses
vonmises

von Mises Distribution Family Function
smart.mode.is

Determine What Mode the Smart Prediction is In
weibull

Weibull Distribution Family Function
Zanegbin

Zero-Altered Negative Binomial Distribution
Zibinom

Zero-Inflated Binomial Distribution
ruge

Rutherford-Geiger Polonium Data
mlogit

Multinomial Logit Link Function
geometric

Geometric (Truncated and Untruncated) Distributions
model.framevlm

Construct the Model Frame of a VLM Object
wffc

2008 World Fly Fishing Championships Data
toxop

Toxoplasmosis Data
koenker

Koenker's Distribution Family Function
predictqrrvglm

Predict Method for a CQO fit
vsmooth.spline

Vector cubic smoothing spline
plotvgam

Default VGAM Plotting
riceff

Rice Distribution Family Function
rrvglm.optim.control

Control function for rrvglm() calling optim()
negbinomial.size

Negative Binomial Distribution Family Function With Known Size
trplot.qrrvglm

Trajectory plot for QRR-VGLMs
plotqrrvglm

Model Diagnostic Plots for QRR-VGLMs
Zipois

Zero-Inflated Poisson Distribution
vgam-class

Class ``vgam''
predictvglm

Predict Method for a VGLM fit
zipoisson

Zero-Inflated Poisson Distribution Family Function
poissonp

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

Zipf Distribution Family Function
zero

The zero Argument in VGAM Family Functions
sratio

Ordinal Regression with Stopping Ratios
vglmff-class

Class ``vglmff''
yulesimon

Yule-Simon Family Function
wffc.indiv

2008 World Fly Fishing Championships (Individual results) Data
powl

Power Link Function
smartpred

Smart Prediction
Posnegbin

Positive-Negative Binomial Distribution
weightsvglm

Prior and Working Weights of a VGLM fit
plotvgam.control

Control Function for plotvgam()
recnormal1

Upper Record Values from a Univariate Normal Distribution
rhobit

Rhobit Link Function
Rice

The Rice Distribution
yip88

Zero-Inflated Poisson Distribution (Yip (1988) algorithm)
wffc.nc

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

Yule-Simon Distribution
wffc.points

Point System for the 2008 World Fly Fishing Championships
zabinomial

Zero-Altered Binomial Distribution
zigeometric

Zero-Inflated Geometric Distribution Family Function
zetaff

Zeta Distribution Family Function