multivariate regression coefficients add up to one
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, friend,
I am working on a constrained regression, of which I regress Y on several variables. But I need the sum of regression coefficients is one. would you please advise me how to proceed?
thanks
0 Kommentare
Akzeptierte Antwort
the cyclist
am 25 Jul. 2013
Bearbeitet: the cyclist
am 25 Jul. 2013
I think your best bet would be to use the Statistics Toolbox function nlinfit() to do this. Then, you can explicitly define your coefficients in a way that they sum to 1.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Regression finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!