Multivariate Regression with coeffcients constrained to lie on a k polynom

2 ビュー (過去 30 日間)
Oli
Oli 2016 年 3 月 16 日
コメント済み: Oli 2016 年 4 月 25 日
I would like to run a regression of age cohorts in % (x1,x2,x3) on the a return level (20yr time series), including a control variable in the regression for the interest rate level. The coefficients of these age cohorts are constrained to satisfy a polynomial of order k. The coefficients are in addition constrained to sum to 0. Any help much appreciated.

回答 (1 件)

Roger Wohlwend
Roger Wohlwend 2016 年 3 月 18 日
You have to use optimization for your Problem. Use the Matlab function fmincon.
  1 件のコメント
Oli
Oli 2016 年 4 月 25 日
Roger, thank you very much. It would be very helpful if you could be a little bit more specific. I guess I have to use the function polyfit in connection with fmincon. But how can I combine the multivariate regression (5 age cohorts: 1-10y, 10-40y,40-60y,60-70y, 70y+) on variable y over 20 time periods with the constraint that the 5 variables should lie on a 3th order polynomial and constrained in sum to 1? I am struggling how to construct the logic of this function. Any advice would be very much appreciated.

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

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by