ABSTRACT

Chapter 8 briefly introduced the concepts of linear regression and showed how cross-validation can be used to determine a model that provides a good fit to the data. We return to linear regression in this section to help introduce other parametric models for estimating relationships between variables. We first revisit classical linear regression, providing more information on how to analyze and visualize the results of the model. We will also examine more of the capabilities available in MATLAB® for this type of analysis. In section 12.2, we present spline regression models for fitting curves. Logistic regression, which is useful for binary response variables, is discussed in section 12.3. Finally, generalized linear models are presented in section 12.4.