max and min threshold for a parameter using quantile function of a generalized extreme value distribution