likelihood based regression, goodness of fit and confidence bound determination