automatically evaluate p-value