cisv {lmreg}R Documentation

Table of condition indices and singular vectors

Description

Computes the table of condition indices and model matrix singular vectors for a linear model.

Usage

cisv(lmobj)

Arguments

lmobj

An object produced by lm fitting.

Details

Columns containing different elements of a singular vector are labelled either as (Intercept) or by the variable name.

Value

Returns the table of condition indices and model matrix right singular vectors for the chosen model, with singular vectors appearing as rows next to the corresponding condition index. Columns containing different elements of a singular vector are labelled either as (Intercept) or by the variable name.

Author(s)

Debasis Sengupta <shairiksengupta@gmail.com>, Jinwen Qiu <qjwsnow_ctw@hotmail.com>

References

Sengupta and Jammalamadaka (2019), Linear Models and Regression with R: An Integrated Approach.

Examples

data(imf2015)
lmimf <- lm(UNMP~CAB+DEBT+EXP+GDP+INFL+INV, data = imf2015)
cisv(lmimf)

[Package lmreg version 1.2 Index]