Skip to content

Constrained Nonlinear Regression

Nonlinear least squares with limits on the parameters: bounds (b ≥ 0) and linear or nonlinear constraints (a + c ≤ 10).

  • Parameters must stay in a meaningful range (rates are positive, proportions lie between 0 and 1).
  • Theory imposes a relation between parameters.
  • As for nonlinear regression: correct model, independent errors with constant variance, sensible starting values.
  • When a constraint is active at the solution the usual standard errors are not valid; use the bootstrap option.
  • Parameter Estimates: an estimate exactly at a bound means that constraint is active.
  • Std. Error (bootstrap) appears when bootstrapping is requested; otherwise standard errors are asymptotic.
  • ANOVA and R² as in nonlinear regression.

The decay model was fitted with the asymptote constrained to c ≤ 0.3; the constraint was active, and the bootstrap (200 samples) gave b = 0.58, SE = 0.03.

Syntax: CNLR y /MODEL='a * EXP(-b * x) + c' /PARAMETERS a=1 b=0.1 c=0 /BOUNDS b >= 0, c <= 0.3 /BOOTSTRAP=200.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.