Three-variable number-of-risk-factors model