OLS regression for multiplr Ys, Xs
Show older comments
Hi all,
I need to regress multiple Ys on Xs and Zs so the model to look like:
Yij = aj+ bj*Xij+ kj*Zij
for i=1...n and j=1....256
Is there any code to do so?
Thanks in advance
Panos
Accepted Answer
More Answers (1)
the cyclist
on 15 Dec 2011
0 votes
The function mvregress() in the Statistics Toolbox will do this.
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!