recalcWaldTab.asrtests {asremlPlus} | R Documentation |
Recalculates the denDF, F.inc and P values for a table of Wald test statistics obtained
using wald.asreml
Description
If some or all denDF are not available, either because they are NA or because
F.inc values were not calculated, this function allows the user to specify how
approximate denDF values are to be obtained. This is done through the dDF.na
and
dDF.values
arguments. Note that if denDF values are available in the Wald table then
only those that are NA
will be replaced. The P values are recalculated using F.con,
if present in the wald.tab
, otherwise F.inc is used. It is noted that, as of asreml version 4,
wald.asreml
has a kenadj
argument.
Usage
## S3 method for class 'asrtests'
recalcWaldTab(asrtests.obj, recalc.wald = FALSE,
denDF="numeric", dDF.na = "none",
dDF.values = NULL, trace = FALSE, ...)
Arguments
asrtests.obj |
an |
recalc.wald |
A |
denDF |
Specifies the method to use in computing approximate denominator
degrees of freedom when |
dDF.na |
The method to use to obtain substitute denominator degrees of freedom.
when the numeric or algebraic methods produce an |
dDF.values |
A |
trace |
If TRUE then partial iteration details are displayed when ASReml-R functions are invoked; if FALSE then no output is displayed. |
... |
further arguments passed to |
Value
A wald.tab
: a 4- or 6-column data.frame
containing a
pseudo-anova table for the fixed terms produced by wald.asreml
.
Author(s)
Chris Brien
References
Kenward, M. G., & Roger, J. H. (1997). Small sample inference for fixed effects from restricted maximum likelihood. Biometrics, 53, 983-997.
See Also
as.asrtests
, testranfix.asrtests
Examples
## Not run:
wald.tab <- recalcWaldTab(current.asrt,
dDF.na = "supplied",
dDF.values = c(NA,rep(c(330,346), c(4,3))))
## End(Not run)