print.compmod {chandwich} | R Documentation |
Print method for objects of class "compmod"
Description
print
method for class "compmod".
Usage
## S3 method for class 'compmod'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
Arguments
x |
an object of class "compmod", a result of a call to
|
digits |
An integer. The argument |
... |
Additional optional arguments. At present no optional arguments are used. |
Details
Prints the name of the model, the null (H0) and alternative hypotheses (HA), the test statistic, degrees of freedom and the p-value. If the test is based on the approximation detailed by equations (18)-(20) of Chandler and Bate (2007), rather than equation (17), then this stated.
Value
The argument x
, invisibly, as for all
print
methods.
Examples
See the examples in compare_models
.
See Also
adjust_loglik
to adjust a user-supplied
loglikelihood function.
compare_models
to compare nested models using an
(adjusted) likelihood ratio test.
[Package chandwich version 1.1.6 Index]