This subroutine gives the probability that a given reduced
(ie,
/degFree) is `natural' - ie it gives the probability of the null hypothesis.
is defined as follows:
where
is the measured or data value,
is the model or expected value and
is the uncertainty in the data.
subroutine chi2Prob(chi2, degFree, probability, status)
real(single), intent(in) :: chi2
integer, intent(in) :: degFree
real(single), intent(out) :: probability
integer, intent(out), optional :: status
end subroutine chi2Prob