full implementation of DBT regression
regression gives resonable output correction values