Learn R Programming

robust (version 0.3-0)

qqplot.glmRob: Theoretical Quantiles

Description

Compute theoretical quantiles for the deviance residuals obtained from Poisson and binomial regression models.

Usage

qqplot.glmRob(y, par, dist)

Arguments

y
a numeric vector containing the response variable.
par
a numeric vector containing the estimated parameter values.
dist
a single integer value specifying the distribution: 0 for binomial; 1 for Poisson.

Value

  • A list with the following components:
  • quantilesa numeric vector containing the theoretical quantiles.
  • deviance.residualsa numeric vector containing the deviance residuals.