error checking for negative small sample df correction