summary.gfit {abc} | R Documentation |
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, ...)
Arguments
object |
an object of class |
... |
other parameters passed to |
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.
Value
A list of the following elements
pvalue |
P-value for goodness-of-fit. |
s.dist.sim |
the result of a call to the function |
dist.obs |
the observed value goodness-of-fit statistic. |
See Also
Examples
## see ?gfit for exemples
[Package abc version 2.2.1 Index]