summary.mphfit {hmmm} | R Documentation |
summary and print for the class mphfit
Description
The generic functions ‘summary’ and ‘print’ are adapted to the objects inheriting from class mphfit
(summary.mphfit, print.mphfit) to display the results of the estimation of a mph model by ‘mphineq.fit’.
Usage
## S3 method for class 'mphfit'
summary(object, ...)
## S3 method for class 'mphfit'
print(x,...)
Arguments
object , x |
An object inheriting from class |
... |
Further arguments passed to or from other methods |
Details
The output of ‘summary’ provides: 1. the goodness-of-fit of the estimated model tested by the likelihood ratio and Pearson's Score Statistics, degrees of freedom and pvalues. Note that degrees of freedom and pvalues are meaningful only for the mph models without inequality constraints; 2. cell-specific statistics: observed and predicted frequencies of the multi-way table, estimated joint probabilities with standard errors, adjusted residuals.
Value
No return value
Note
Use ‘print’ to display only the goodness-of-fit test.