An important and widely used class of semiparametric models is formed by the varying-coefficient models. Although the varying coefficients are traditionally assumed to be smooth functions, the varying-coefficient model is considered here with the coefficient functions containing a finite set of...