## Nonlinear Model |

A nonlinear model describes nonlinear relationships in experimental data. Nonlinear regression models are generally assumed to be parametric, where the model is described as a nonlinear equation. Typically machine learning methods are used for non-parametric nonlinear regression.

Parametric nonlinear regression models the dependent variable (also called the response) as a function of a combination of nonlinear parameters and one or more independent variables (called predictors). The model can be univariate (with a single response variable) or multivariate (with multiple response variables).

The parameters can take the form of an exponential, trigonometric, power, or any other nonlinear function. To determine the nonlinear parameter estimates, an iterative algorithm is typically used.

`y = f(X,β) + ε`

where, β represents nonlinear parameter estimates to be computed and ε represents the error terms.

Common algorithms for fitting a nonlinear model include:

- Gauss-Newton algorithm
- Gradient descent algorithm
- Levenberg-Marquardt algorithm

Parametric nonlinear regression can be used to:

- Fit a nonlinear model to data and compare different models
- Generate predictions
- Evaluate parameter confidence intervals
- Evaluate goodness-of-fit

For detail, see Statistics and Machine Learning Toolbox. To create a nonlinear model that fits curves, surfaces, and splines to data interactively, see Curve Fitting Toolbox. To create nonparametric models using neural networks and decision trees, see the machine learning functions available with MATLAB. To create nonlinear models of dynamic systems from measured input-output data, see System Identification Toolbox.

- Weighted Nonlinear Regression (Example)
- Data Driven Fitting with MATLAB 36:26 (Webinar)
- Nonparametric Fitting 4:07 (Video)
- Tips and Tricks: Data Analysis and Surface Fitting with MATLAB 42:33 (Webinar)
- Estimating Nonlinear Black-Box Models 4:29 (Video)
- Machine Learning with MATLAB 3:02 (Video)

- What Are Parametric Nonlinear Regression Models? (Documentation)
- Nonlinear Regression (Documentation)
- Fitting a Nonlinear Model with MATLAB (Function)
- Interactive Modeling with MATLAB (Function)
- Predict or Simulate Responses to New Data (Documentation)

*See also*: *machine learning*, *linear model*, *classification and ANOVA*, *data fitting*, *data analysis*, *mathematical modeling*