adjusted X data after using the multivariate fitlm regression fit

2 vues (au cours des 30 derniers jours)
Regina Katsman
Regina Katsman le 19 Mar 2023
Commenté : Regina Katsman le 20 Mar 2023
hi,
how can I retrieve the single adjusted X data vector after using the multivariate regression fit with fitlm function (single adjusted X vector which stems from several X-input predictors)? I need to split the scatter data of the adjusted X value and to plot it by the different scatter colors related to some categories? thanks, Regina

Réponse acceptée

Jeff
Jeff le 19 Mar 2023
What you call a "single adjusted X vector" sounds to me like what I call "predicted Y" (with predictions based on several X's). If that is what you are after, you can get it with the predict function.

Plus de réponses (0)

Tags

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by