| summary.gvlma {gvlma} | R Documentation |
Prints the basic information for a gvlma object, which is the output
object from the function gvlma.
## S3 method for class 'gvlma': summary(object, ...) ## S3 method for class 'gvlma': print(x, ...) display.gvlmatests(gvlmaobj)
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. |
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.
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. |
Slate, EH SlateEH@musc.edu and Pena, EA pena@stat.sc.edu.
Pena, EA and Slate, EH (2006). “Global validation of linear model assumptions,” J. Amer. Statist. Assoc., 101(473):341-354.
gvlma, display.gvlmatests, summary
data(CarMileageData) CarModelAssess <- gvlma(NumGallons ~ MilesLastFill, data = CarMileageData) CarModelAssess summary(CarModelAssess)