summary.gfit: Calculates the p-value of the goodness-of-fit test.
Description
This function calculates the p-value of the goodness-of-fit test from an
object of class "gfit".
Usage
## S3 method for class 'gfit':
summary(object, \dots)
Arguments
object
an object of class "gfit".
...
other parameters passed to summary.
Value
A list of the following elements
pvalueP-value for goodness-of-fit.
s.dist.simthe result of a call to the function summary. Provides a
summary of the distribution of the goodness-of-fit statistic simulated
under the null.
dist.obsthe observed value goodness-of-fit statistic.
Details
It computes the P-value, call summary on the vector of
statistics simulated under the null and returns the value of the
observed statistic.