summary.gvlma {gvlma}R Documentation

Print Basic Information for a Gvlma Object

Description

Prints the basic information for a gvlma object, which is the output object from the function gvlma.

Usage

## S3 method for class 'gvlma'
summary(object, ...)
## S3 method for class 'gvlma'
print(x, ...)
display.gvlmatests(gvlmaobj)

Arguments

x, object, gvlmaobj

An object resulting from a call to gvlma. It is a list containing the components of a call to lm plus an item with the name GlobalTest.

...

Additional arguments that are passed to summary.lm.

Details

print.gvlma invokes print on the lm object and then calls display.gvlmatests.

summary.gvlma invokes summary on the lm object with the additional ... arguments and then calls display.gvlmatests.

display.gvlmatests provides the test statistics, p-values and decision (whether linear models assumptions are satisfied) for the global and directional tests associated with the gvlma object. The decision is reported at the level of significance used when the gvlma object was created. See the argument alphalevel to gvlma.

Value

The value returned invisibly is a dataframe with row names indicating the global test and the 4 directional tests. Variables are

Value

Value of the test statistic.

p-value

p-value associated with the test.

Decision

Text string indicating whether the test statistic is significant at the significance level specified in the original call to gvlma.

Author(s)

Slate, EH slate@stat.fsu.edu and Pena, EA pena@stat.sc.edu.

References

Pena, EA and Slate, EH (2006). “Global validation of linear model assumptions,” J.\ Amer.\ Statist.\ Assoc., 101(473):341-354.

See Also

gvlma, display.gvlmatests, summary.lm

Examples

data(CarMileageData)
CarModelAssess <- gvlma(NumGallons ~ MilesLastFill, data = CarMileageData)
CarModelAssess
summary(CarModelAssess)

[Package gvlma version 1.0.0.3 Index]