def fisher(probs):
 try:
  return chi2prob(((-2) * sum(log(probs))), (2 * len(probs)), direction='high')
 except OverflowError:
  return 0.0

def fisher ( probs ) : try : return chi2prob ( ( ( - 2 ) * sum ( log ( probs ) ) ) , ( 2 * len ( probs ) ) , direction = 'high' ) except OverflowError : return 0.0
uses fishers method to combine multiple tests of a hypothesis .