Description Usage Arguments Details Value Author(s) References See Also
Given an lm
object, this function computes the global and
directional test statistics for assessing the linear model assumptions.
1 | computegvlma(lmobj, alphalevel, v)
|
lmobj |
A linear models object resulting from a call to |
alphalevel |
Level of significance to conduct tests for assessing the linear models assumptions. |
v |
The time sequence vector for the heteroscedasticity test, S^2_4. A vector of length the number of observations in the linear model. |
This function is not really meant to be called directly, but rather
by the function gvlma
.
A gvlma object, which consists of the components of the linear models object provided as input, plus a list of the results of the model assumptions tests. The components associated with the global and directional tests are the following:
LevelOfSignificance |
Significance level at which decisions (whether model assumptions are satisfied) were determined. |
GlobalStat4 |
A list of the |
DirectionalStat1 |
A list of the |
DirectionalStat2 |
A list of the |
DirectionalStat3 |
A list of the |
DirectionalStat4 |
A list of the |
timeseq |
The time sequence used for the 4th directional statistic. |
Slate, EH slate@stat.fsu.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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.