Linear regression fit model for Multi-variant responses

조회 수: 4 (최근 30일)
Rania Elashmawy
Rania Elashmawy 2021년 9월 23일
답변: the cyclist 2021년 9월 23일
I'm looking for a function for linear regression to fit a model, where you can have multiple responses, like y is a matrix not a vector.
So the function lm =regress(X,Y) gives a trained model, but it only accepts Y as vector, I'm looking for a cunction that gives the model but when I have Y matrix.

답변 (1개)

the cyclist
the cyclist 2021년 9월 23일
I think you need mvregress.

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by