Parameter estimation and statistical inference of a two-regime car-following model