Learn R Programming

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

VGAM (version 0.8-2)

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

License

GPL-2

Maintainer

Last Published

February 9th, 2011

Functions in VGAM (0.8-2)

Coef.qrrvglm-class

Class ``Coef.qrrvglm''
Opt

Maxima
CommonVGAMffArguments

Common VGAM family function Arguments
alaplaceUC

The Laplace Distribution
Coef.vlm

Extract Model Coefficients for VLM Objects
ABO

The ABO Blood Group System
Coef

Computes Model Coefficients and Quantities
Benini

The Benini Distribution
AICvlm

Akaike's Information Criterion
acat

Ordinal Regression with Adjacent Categories Probabilities
borel.tanner

Borel-Tanner Distribution Family Function
ParetoIV

The Pareto(IV/III/II) Distributions
Expectiles-Uniform

Expectiles of the Uniform Distribution
Brat

Inputting Data to fit a Bradley Terry Model
beta.ab

The Two-parameter Beta Distribution Family Function
G1G2G3

The G1G2G3 Blood Group System
Pareto

The Pareto Distribution
AB.Ab.aB.ab2

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

Tolerances
VGAM-package

Vector Generalized Linear and Additive Models
Bort

The Borel-Tanner Distribution
amlexponential

Exponential Regression by Asymmetric Maximum Likelihood Estimation
Dagum

The Dagum Distribution
betabin.ab

Beta-binomial Distribution Family Function
Coef.qrrvglm

Returns Important Matrices etc. of a QO Object
Card

Cardioid Distribution
bratt

Bradley Terry Model With Ties
calibrate.qrrvglm.control

Control function for CQO/UQO/CAO calibration
Betanorm

The Beta-Normal Distribution
Coef.rrvglm

Returns Important Matrices etc. of a RR-VGLM Object
Inv.gaussian

The Inverse Gaussian Distribution
chestnz

Chest Pain in NZ Adults Data
Lomax

The Lomax Distribution
Invparalogistic

The Inverse Paralogistic Distribution
betaII

Beta Distribution of the Second Kind
Binom2.or

Bivariate Binary Regression with an Odds Ratio
bilogis4

Bivariate Logistic Distribution
calibrate

Model Calibrations
model.matrixvlm

Construct the Design Matrix of a VLM Object
deplot.lmscreg

Density Plot for LMS Quantile Regression
alaplace

Asymmetric Laplace Distribution Family Functions
dirichlet

Fitting a Dirichlet Distribution
SurvS4

Create a Survival Object
Paralogistic

The Paralogistic Distribution
Expectiles-Exponential

Expectiles of the Exponential Distribution
fff

F Distribution Family Function
Bisa

The Birnbaum-Saunders Distribution
lgammaff

Log-gamma Distribution Family Function
Fgm

Farlie-Gumbel-Morgenstern's Bivariate Distribution
bilogistic4

Bivariate Logistic Distribution Family Function
Sinmad

The Singh-Maddala Distribution
cloglog

Complementary Log-log Link Function
logff

Logarithmic Distribution
DeLury

DeLury's Method for Population Size Estimation
lms.bcn

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

Erlang Distribution
mbinomial

The Matched Binomial Distribution Family Function
cnormal1

Censored Normal Distribution
Fisk

The Fisk Distribution
morgenstern

Morgenstern's Bivariate Distribution Family Function
auuc

Auckland University Undergraduate Counts Data
bivgamma.mckay

Bivariate Gamma: McKay's Distribution
AA.Aa.aa

The AA-Aa-aa Blood Group System
Benford

Benford's Distribution
cao

Fitting Constrained Additive Ordination (CAO)
dirmul.old

Fitting a Dirichlet-Multinomial Distribution
Max

Maxima
amh

Ali-Mikhail-Haq Distribution Distribution Family Function
dirmultinomial

Fitting a Dirichlet-Multinomial Distribution
nzc

Chinese Population in New Zealand 1867--2001 Data
betageometric

Beta-geometric Distribution Family Function
bminz

Body Mass Index of New Zealand Adults Data
Betageom

The Beta-Geometric Distribution
erf

Error Function
amlbinomial

Binomial Logistic Regression by Asymmetric Maximum Likelihood Estimation
Felix

The Felix Distribution
garma

GARMA (Generalized Autoregressive Moving-Average) Models
frank

Frank's Bivariate Distribution Family Function
reciprocal

Reciprocal link function
rrvglm

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

Link functions for VGLM/VGAM/etc. families
clo

Redirects the user to rrvglm
exponential

Exponential Distribution
betaff

The Two-parameter Beta Distribution Family Function
ccoef-methods

Constrained (Canonical) Coefficients
gamma1

1-parameter Gamma Distribution
usagrain

USA Grain Prices Data
SurvS4-class

Class "SurvS4"
MNSs

The MNSs Blood Group System
betabinomial

Beta-binomial Distribution Family Function
ccoef

Extract Model Constrained/Canonical Coefficients
geometric

Geometric Distribution
cratio

Ordinal Regression with Continuation Ratios
dcnormal1

Univariate Normal Distribution with Double Censoring
get.smart

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

Enzyme Data
Betabin

The Beta-Binomial Distribution
gengammaUC

The Generalized Gamma Distribution
crashes

Crashes on New Zealand Roads in 2009
sratio

Ordinal Regression with Stopping Ratios
smartpred

Smart Prediction
Posnorm

The Positive-Normal Distribution
expexp

Exponentiated Exponential Distribution
fitted.vlm

Fitted Values of a VLM object
cardioid

Cardioid Distribution Family Function
cumulative

Ordinal Regression with Cumulative Probabilities
nakagami

Nakagami Distribution Family Function
genpoisson

Generalized Poisson distribution
fisherz

Fisher's Z Link Function
Expectiles-Normal

Expectiles of the Normal Distribution
chisq

Chi-squared Distribution
gammahyp

Gamma Hyperbola Bivariate Distribution
leipnik

Leipnik Distribution Family Function
Rice

The Rice Distribution
iam

Index from Array to Matrix
maxwell

Maxwell Distribution Family Function
lerch

Lerch Phi Function
cdf.lmscreg

Cumulative Distribution Function for LMS Quantile Regression
gumbelUC

The Gumbel Distribution
fill

Creates a Matrix of Appropriate Dimension
laplace

Laplace Distribution
gpd

Generalized Pareto Distribution Family Function
plotdeplot.lmscreg

Density Plot for LMS Quantile Regression
freund61

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

Ordinal Poisson Family Function
meplot

Mean Excess Plot
gaussianff

Gaussian (normal) Family Function
hunua

Hunua Ranges Data
get.smart.prediction

Retrieves ``.smart.prediction''
gev

Generalized Extreme Value Distribution Family Function
predict.qrrvglm

Predict Method for a CQO fit
lirat

Low-iron Rat Teratology Data
golf

Gamma-Ordinal Link Function
AB.Ab.aB.ab

The AB-Ab-aB-ab Blood Group System
wffc.teams

2008 World Fly Fishing Championships (Team results) Data
Frechet

The Frechet Distribution
gpdUC

The Generalized Pareto Distribution
cenpoisson

Censored Poisson Family Function
lvplot.rrvglm

Latent Variable Plot for RR-VGLMs
cgo

Redirects the user to cqo
fsqrt

Folded Square Root Link Function
invlomax

Inverse Lomax Distribution Family Function
Fnorm

The Folded-Normal Distribution
vonmises

von Mises Distribution Family Function
mix2exp

Mixture of Two Exponential Distributions
expexp1

Exponentiated Exponential Distribution
inv.gaussianff

Inverse Gaussian Distribution Family Function
genray

The Generalized Rayleigh Distribution
gamma2

2-parameter Gamma Distribution
persp.qrrvglm

Perspective plot for QRR-VGLMs
mccullagh89

McCullagh (1989) Distribution Family Function
plotrcam0

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

Log link function
Expectiles-Koenker

Expectiles/Quantiles of the Koenker Distribution
qrrvglm.control

Control function for QRR-VGLMs (CQO)
Zipf

The Zipf Distribution
huber

Huber's least favourable distribution family function
prentice74

Prentice (1974) Log-gamma Distribution
leukemia

Acute Myelogenous Leukemia Survival Data
vgam.control

Control function for vgam
plotvgam.control

Control Function for plotvgam()
poissonff

Poisson Family Function
logc

Complementary-log Link Function
gevUC

The Generalized Extreme Value Distribution
put.smart

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

Hunting Spider Data
Zapois

Zero-Altered Poisson Distribution
lambertW

The Lambert W function
loglaplace

Log-Laplace and Logit-Laplace Distribution Family Functions
invbinomial

Inverse Binomial Distribution Family Function
setup.smart

Smart Prediction Setup
hyperg

Hypergeometric Family Function
loglinb2

Loglinear Model for Two Binary Responses
hypersecant

Hyperbolic Secant Distribution Family Function
notdocumentedyet

Undocumented and Internally Used Functions and Classes
gumbelIbiv

Gumbel's Type I Bivariate Distribution Family Function
grc

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

The Kumaraswamy Distribution
constraints

Constraint Matrices
dhuber

Huber's least favourable distribution
gumbel

Gumbel Distribution Family Function
guplot

Gumbel Plot
lvplot.qrrvglm

Latent Variable Plot for QO models
mix2poisson

Mixture of Two Poisson Distributions
cqo

Fitting Constrained Quadratic Ordination (CQO)
snorm

Skew-Normal Distribution
rig

Reciprocal Inverse Gaussian distribution
genbetaII

Generalized Beta Distribution of the Second Kind
uqo

Fitting Unconstrained Quadratic Ordination (UQO)
rlplot.egev

Return Level Plot for GEV Fits
wald

Wald Distribution Family Function
logoff

Log link function with an offset
levy

Levy Distribution Family Function
expgeometric

Exponential geometric Distribution Family Function
lms.yjn

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

Multinomial Logit Model
logistic

Logistic Distribution Family Function
Skellam

The Skellam Distribution
mix2normal1

Mixture of Two Univariate Normal Distributions
negbinomial

Negative Binomial Distribution Family Function
rayleigh

Rayleigh Distribution Family Function
loglinb3

Loglinear Model for Three Binary Responses
Log

Logarithmic Distribution
weibull

Weibull Distribution Family Function
Hzeta

Haight's Zeta Function
s

Defining smooths in VGAM formulae
loglog

Log-log Link Function
oxtemp

Oxford Temperature Data
qtplot.lmscreg

Quantile Plot for LMS Quantile Regression
moffset

Makes an effective day data set
pareto1

Pareto and Truncated Pareto Distribution Family Functions
rhobit

Rhobit Link Function
lms.bcg

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

2008 Summer Olympic Final Medal Count Data
lino

Generalized Beta Distribution Family Function
plackett

Plackett's Bivariate Distribution Family Function
logit

Logit Link Function
laplaceUC

The Laplace Distribution
rrar

Nested reduced-rank autoregressive models for multiple time series
rrvglm.control

Control function for rrvglm
Slash

Slash Distribution
nzmarital

New Zealand Marital Data.
tikuv

Short-tailed Symmetric Distribution Family Function
prplot

Probability Plots for Categorical Data Analysis
Yules

Yule-Simon Distribution
zapoisson

Zero-Altered Poisson Distribution
Zanegbin

Zero-Altered Negative Binomial Distribution
wffc.indiv

2008 World Fly Fishing Championships (Individual results) Data
vglm.control

Control function for vglm
zero

The zero Argument in VGAM Family Functions
polf

Poisson-Ordinal Link Function
plotqrrvglm

Model Diagnostic Plots for QRR-VGLMs
zanegbinomial

Zero-Altered Negative Binomial Distribution
loglapUC

The Log-Laplace Distribution
normal1

Univariate normal distribution
posnegbinomial

Positive Negative Binomial Distribution Family Function
poissonp

Poisson-points-on-a-plane/volume Distances Distribution
undocumented-methods

Undocumented Methods Functions
venice

Venice Maximum Sea Levels Data
probit

Probit Link Function
Zibinom

Zero-Inflated Binomial Distribution
nbolf

Negative Binomial-Ordinal Link Function
amlnormal

Asymmetric Least Squares Quantile Regression
binom2.rho

Bivariate Probit Model (Family Function)
plotqtplot.lmscreg

Quantile Plot for LMS Quantile Regression
quasipoissonff

Quasi-Poisson Family Function
simplex

Simplex Distribution Family Function
triangle

Triangle Distribution Family Function
yeo.johnson

Yeo-Johnson Transformation
recnormal1

Upper Record Values from a Univariate Normal Distribution
zibinomial

Zero-Inflated Binomial Distribution Family Function
vgam

Fitting Vector Generalized Additive Models
skewnormal1

Univariate Skew-Normal Distribution Family Function
pneumo

Pneumoconiosis in Coalminers Data
qtplot.gumbel

Quantile Plot for Gumbel Regression
pospoisson

Positive Poisson Distribution Family Function
powl

Power Link Function
posnormal1

Positive Normal Distribution Family Function
margeff

Marginal effects for the multinomial logit and cumulative models
lognormal

Lognormal Distribution
model.framevlm

Construct the Model Frame of a VLM Object
rdiric

The Dirichlet distribution
propodds

Proportional Odds Model for Ordinal Regression
Zeta

The Zeta Distribution
smart.expression

S Expression for Smart Functions
quasibinomialff

Quasi-Binomial Family Function
Zinegbin

Zero-Inflated Negative Binomial Distribution
riceff

Rice Distribution Family Function
rcqo

Constrained Quadratic Ordination
wffc

2008 World Fly Fishing Championships Data
ruge

Rutherford-Geiger Polonium Data
zipebcom

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

Trajectory Plot
zetaff

Zeta Distribution Family Function
smart.mode.is

Determine What Mode the Smart Prediction is In
rrvglm.optim.control

Control function for rrvglm() calling optim()
binomialff

Binomial Family Function
zinegbinomial

Zero-Inflated Negative Binomial Distribution Family Function
studentt

Student t Distribution
yulesimon

Yule-Simon Family Function
tobit

Tobit Model
vglmff-class

Class ``vglmff''
toxop

Toxoplasmosis Data
uqo.control

Control Function for UQO models
Tpareto

The Truncated Pareto Distribution
cgumbel

Censored Gumbel Distribution
seq2binomial

The Two-stage Sequential Binomial Distribution Family Function
wffc.points

Point System for the 2008 World Fly Fishing Championships
vglm

Fitting Vector Generalized Linear Models
vglm-class

Class ``vglm''
fnormal1

Folded Normal Distribution Family Function
Zipois

Zero-Inflated Poisson Distribution
wrapup.smart

Cleans Up After Smart Prediction
calibrate.qrrvglm

Calibration for CQO, UQO and CAO models
cao.control

Control Function for RR-VGAMs (CAO)
is.smart

Test For a Smart Object
genrayleigh

Generalized Rayleigh Distribution Family Function
Coef.rrvglm-class

Class ``Coef.rrvglm''
identity

Identity Link Function
biplot-methods

Biplot of Constrained Regression Models
Rcam

Mark the baseline of row and column on a matrix data
predict.vglm

Predict Method for a VGLM fit
lgammaUC

The Log-Gamma Distribution
betaprime

The Beta-Prime Distribution
lqnorm

Minimizing the L-q norm Family Function
calibrate-methods

Calibration for Constrained Regression Models
lvplot

Latent Variable Plot
Posnegbin

Positive-Negative Binomial Distribution
Polono

The Poisson Lognormal Distribution
vsmooth.spline

Vector cubic smoothing spline
rrvglm-class

Class ``rrvglm''
trplot.qrrvglm

Trajectory plot for QRR-VGLMs
wffc.nc

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

Waitakere Ranges Data
backPain

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

Zero-Inflated Poisson Distribution Family Function
amlpoisson

Poisson Regression by Asymmetric Maximum Likelihood Estimation
cauchy

Cauchy Distribution Family Function
coalminers

Breathlessness and Wheeze Amongst Coalminers Data
gamma2.ab

2-parameter Gamma Distribution
posbinomial

Positive Binomial Distribution Family Function
plotvgam

Default VGAM Plotting
recexp1

Upper Record Values from a 1-parameter Exponential Distribution
weightsvglm

Prior and Working Weights of a VGLM fit
vgam-class

Class ``vgam''
dexpbinomial

Double Exponential Binomial Distribution Family Function
cauchit

Cauchit Link Function
gengamma

Generalized Gamma distribution family function
gew

General Electric and Westinghouse Data
koenker

Koenker's Distribution Family Function
micmen

Michaelis-Menten Model
Posbinom

Positive-Binomial Distribution
Pospois

Positive-Poisson Distribution
lv

Latent Variables
yip88

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