Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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, ...)

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

Examples

## see ?gfit for exemples

abc

Tools for Approximate Bayesian Computation (ABC)

v2.1
GPL (>= 3)
Authors
Csillery Katalin [aut], Lemaire Louisiane [aut], Francois Olivier [aut], Blum Michael [aut, cre]
Initial release
2015-05-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.