Chi2 calculation for rebinned spectra in ISIS

From: María Díaz Trigo <mdiaztri_at_email.domain.hidden>
Date: Tue, 29 Apr 2014 09:44:39 +0000
Dear ISIS experts,

I have realised that the chi2 value for rebinned spectra is very different when calculated by ISIS and XSPEC. The chi2 is exactly the same when I use non-binned spectra, so the difference must arise with the way of calculating errors after rebinning.

I am using the default fitting method (which seems to be the same for XSPEC and ISIS) and rebin the HEG spectra to have a minimum of 25 cts/bin. Before rebinning, a simple power law fit gives me a chi2 of 838.37 for 2362 dof both in ISIS and XSPEC. After rebinning, I get:

XSPEC: Chi2 of 217.90 (460)
ISIS: Chi2 of 420.46 (460)

So the difference is almost a factor of two, and the parameters of the fit are also different.

Do you know why am I getting such a difference?

Best,

Maria


----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Tue Apr 29 2014 - 05:44:58 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:48 EDT