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!