Skip to content

nl

Fit a nonlinear regression model.

When to use

How do I estimate a nonlinear relationship that cannot be written as a linear model?

Syntax

nl y = <expression> [, params(name...) start(value...) options]

Examples

nl cost = a + b * exp(c * age), params(a b c) start(1 1 1)

See also