Multivariate Regression
4 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
How can I perform a multivariate regression? My dependent variable Y has n rows and m columns. I have z independent variables, which have n rows, but columns size is variable. So I want to regress: Y(n*m)=X1(n*1)+X2(n*5)+...+Xp(n*p) Can anyone help?
Many Thanks!
0 件のコメント
回答 (2 件)
the cyclist
2012 年 1 月 6 日
If you have the Statistics Toolbox, you can do this with the mvregress() function.
0 件のコメント
Léon
2012 年 1 月 11 日
Or you might use the following function that does not require the statistics toolbox to be installed
I will add a STATA like output in the command window as well in the near future.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!