Is there a way to constrain the search for parameter values on fitnlm? I keep running into issues when trying to solve for 3 to 9 variables and on a single iteration one of the parameters takes a value that causes an error and the whole thing stops. Then I have to do a bunch of exploratory analysis to come up with a better starting value.
Thanks, Joe

回答 (1 件)

Star Strider
Star Strider 2014 年 12 月 12 日

0 投票

It is not possible to constrain the parameters in the Statistics Toolbox functions. The Optimization Toolbox function lsqcurvefit will allow you to limit the to ranges.

カテゴリ

ヘルプ センター および File Exchange で Model Statistics についてさらに検索

質問済み:

2014 年 12 月 12 日

回答済み:

2014 年 12 月 12 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by