Parameterised threshold