threshold ACE model with a covariate