Extract p-value calculation