multivariate regression coefficients add up to one
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
the cyclist
2013-7-25
编辑:the cyclist
2013-7-25
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!