A triparametric equation to describe QSARs for heterogeneous chemical substances