summary.gfit: Calculates the p-value of the goodness-of-fit test.

Description Usage Arguments Details Value See Also Examples

Description

This function calculates the p-value of the goodness-of-fit test from an object of class "gfit".

Usage

1
2
## S3 method for class 'gfit'
summary(object, ...)

Arguments

object

an object of class "gfit".

...

other parameters passed to summary.

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 summary. Provides a summary of the distribution of the goodness-of-fit statistic simulated under the null.

dist.obs

the observed value goodness-of-fit statistic.

See Also

gfit, abc, plot.gfit

Examples

1
 ## see ?gfit for exemples

abc documentation built on May 2, 2019, 3:32 p.m.

Related to summary.gfit in abc...