Regression with time-varying coefficients