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?

Réponses (1)

madhan ravi
madhan ravi le 22 Oct 2018

0 votes

See lsqlin

1 commentaire

cgo
cgo le 22 Oct 2018
I don't see the pvalues. Can you point where it is?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Centre d'aide et File Exchange

Question posée :

cgo
le 22 Oct 2018

Commenté :

cgo
le 22 Oct 2018

Community Treasure Hunt

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

Start Hunting!

Translated by