Regression Analysis: An introduction to Linear and Logistic Regression