calculating contrast significance by hand