can check_dparams and check_regression be combined? AFAICS they both estimate the same model.