A helper function that calculates the estimated p-value for a given observed alternative and a given norm.
Useful links