summary.hmmmchibar {hmmm} | R Documentation |
summary for hmmm.chibar
Description
Function to print the results for tests of type A and B (Silvapulle and Sen, 2005) on inequality constraints and to
tabulate the chi-bar distribution functions of the statistics test.
The generic function ‘summary’
is adapted to the objects inheriting from class hmmmchibar
(summary.hmmmchibar).
Usage
## S3 method for class 'hmmmchibar'
summary(object, plotflag = 1, step = 0.01, lsup = 0,...)
Arguments
object |
An object of the class |
plotflag |
1 to print only pvalues and statistic values, 2 to display the survival functions for type A and type B statistics tests and 3 to provide a plot of the survival functions (red: type B, black: type A) |
step |
Distance between points at which the distribution functions are evaluated |
lsup |
Distribution functions are evaluated in the interval 0 - lsup |
... |
Further arguments passed to or from other methods |
Value
It provides the output
of the function ‘hmmm.chibar’, that is the results of testing models defined by ‘hmmm.model’ and
estimated
by ‘hmmm.mlfit’, with equality and inequality constraints on marginal interactions.
The statistics test of type A and B, their pvalues and the chi-bar distribution functions
are tabulated. If TESTAB = TRUE
when the function ‘hmmm.chibar’ is called, the output of the LR tuned testing procedure (Colombi and Forcina, 2013)
is displayed.
Note
Use ‘print’ for a short output.
References
Colombi R. Forcina A. (2013) Testing order restrictions in contingency tables. Submitted
Silvapulle MJ, Sen PK (2005) Constrained statistical inference, Wiley, New Jersey.