next up previous contents
Next: harcopy Up: XSPEC commands Previous: Examples:

goodness

Perform a Monte Carlo calculation of the goodness-of-fit for the C-statistic.

XSPEC> goodness [<# of realizations>]

This command simulates <# of realizations> spectra based on the model and writes out the percentage of these simulations with C less than that for the data. If the observed spectrum was produced by the model then this number should be around 50%.



Keith Arnaud (kaa@genji.gsfc.nasa.gov)
Wed May 28 10:59:33 EDT 1997