Inference on stochastic time-varying coefficient models