fitting a linear model with constraints

I am trying to use fitlm, but by using nonnegative least squares. I am aware of lsqnonneg, but I am interested in looking at the p-values upon fitting too.
Is there a fitlm for nonnegative least squares?

回答 (1 件)

madhan ravi
madhan ravi 2018 年 10 月 22 日

0 投票

See lsqlin

1 件のコメント

cgo
cgo 2018 年 10 月 22 日
I don't see the pvalues. Can you point where it is?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeLinear and Nonlinear Regression についてさらに検索

質問済み:

cgo
2018 年 10 月 22 日

コメント済み:

cgo
2018 年 10 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by