glpModel-class: Class "glpModel" of General Linear Prediction Models

glpModel-classR Documentation

Class "glpModel" of General Linear Prediction Models

Description

The class "glpModel" conceptually contains a very large class of “General Linear Prediction Models”.

Its resp slot (of class "respModule") may model linear, non-linear, generalized linear and non-linear generalized response models.

Objects from the Class

Objects can be created by calls of the form new("glpModel", ...), but typically rather are returned by our modeling functions, e.g., glm4().

Slots

resp:

a "respModule" object.

pred:

a "predModule" object.

Extends

Class "Model", directly.

Methods

coef

signature(object = "glpModel"): extract the coefficient vector \beta from the object.

fitted

signature(object = "glpModel"): fitted values; there may be several types, corresponding to the residuals, see there (below).

residuals

signature(object = "glpModel"): residuals, depending on the type of the model, there are several types of residuals and correspondingly residuals, see residuals.glm from the stats package.

See Also

glm4() returns fitted glpModel objects.

The constituents of this class are respModule and predModule, both of which have several sub classes.

Examples

showClass("glpModel")

## Use   example(glm4)  or see  help(glm4) for many more examples.

MatrixModels documentation built on Nov. 6, 2023, 5:09 p.m.