Continuous Regression Models

Continuous Regression Models - Linear vs Non-Linear

Linear Regression (LR) Models

Non-Linear Regression (NLR) Models

both types of models are the functional forms
both forms of regression can fit curvature in your data

the functional form is a linear combination of feature functions 𝑓𝑖(𝒙) whose inputs are regressors 𝒙 and do not contain any regression coefficients 𝜃𝑖:

  • 𝑦̂ = 𝜃0 + 𝜃1𝑓1(𝒙) + … + 𝜃𝑝𝑓𝑝(𝒙)

function form are those that do NOT follow the form of linear regression models

as 𝑓𝑖(𝒙) increases by one unit, the mean of the dependent variable 𝑦̂ always changes by a specific amount 𝜃𝑖

as 𝑓𝑖(𝒙) increases by one unit, the mean of the dependent variable 𝑦̂ changes by some ARBITRARY amount

relatively restricted in the shapes of the curves that it can fit

much more flexible in the shapes of the curves that it can fit

easier to use, simpler to interpret, and you obtain more statistics that help you assess the model

can require more effort both to find the best fit and to interpret the role of the independent variables

  • R-Squared is valid for linear regression
  • p-values can be calculated for the parameter estimates 𝜃𝑖ˆ
  • R-Squared is NOT valid for nonlinear regression
  • p-values are impossible to calculate for the parameter estimates 𝜃𝑖ˆ

How to Choose Between Linear and Nonlinear Regression

The general guideline is to use linear regression first to determine whether it can fit the particular type of curve in your data. If you can’t obtain an adequate fit using linear regression, that’s when you might need to choose nonlinear regression

Curve Fitting using Linear and Nonlinear Regression

Resources