asrtests {asreml3Plus} | R Documentation |
asrtests
that stores a fitted asreml object,
a pseudo-anova table for the fixed and a history of
changes and hypthesis testing used in obtaining the model.An object of S3-class asrtests
consists of a list containing:
asreml.obj
: an asreml
object containing the fit
of the model;
wald.tab
: a data.frame
containing a pseudo-anova
table for the fixed terms produced by wald.asreml
,
which will be called if wald.tab
is NULL
;
test.summary
: a data.frame
with columns term
,
DF
, denDF
, p
and action
. A row is added to
it for each term
that is dropped, added or tested or a note that several terms have been
added or removed. A row contains the name of the term, the
DF, the p-value and the action taken. Possible codes are:
Dropped
, Retained
, Swapped
, Unswapped
,
Significant
, Nonsignificant
, Absent
, Added
,
Removed
and Boundary
. If the changed model did not
converge, Unconverged
will be added to the code.
Note that the logical asreml.obj$converge
also
reflects whether there is convergence.
A call to asrtests
with test.summary = NULL
re-initializes the
test.summary
data.frame
.
asrtests(asreml.obj, wald.tab = NULL, test.summary = NULL, denDF = "default", ...)
asreml.obj |
an |
wald.tab |
a |
test.summary |
a |
denDF |
Specifies the enthod to use in computing approximate denominator
degrees of freedom when |
... |
further arguments passed to |
An object of S3-class asrtests
.
asreml3Plus-package
, testranfix.asrtests
,
choose.model.asrtests
,
rmboundary.asrtests
,
sig.devn.reparam.asrtests
## Not run: data(Wheat.dat) # Fit initial model current.asr <- asreml(yield ~ Rep + WithinColPairs + Variety, random = ~ Row + Column + units, rcov = ~ ar1(Row):ar1(Column), data=Wheat.dat) # Load current fit into an asrtests object current.asrt <- asrtests(current.asr, NULL, NULL) # Check for and remove any boundary terms current.asrt <- rmboundary.asrtests(current.asrt) ## End(Not run)