Get P from chi-square and d.f.