MLE regression

These are the first questions. I am still working on the next ones