Learn R Programming

hmmm (version 1.0.0)

summary.hmmmchibar: summary for chibar and 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) or to the output of function `chibar'.

Usage

## S3 method for class 'hmmmchibar':
summary(object, plotflag = 1, step = 0.01, lsup = 0,...)

Arguments

object
Output of the function `chibar' or an object of the class hmmmchibar
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 simulated pvalues and the chi-bar distribution functions are tabulated.

References

Silvapulle MJ, Sen PK (2005) Constrained statistical inference, Wiley, New Jersey.

See Also

chibar, hmmm.chibar, print.hmmmchibar