How to control for continuous covariates in multiple regression

4 views (last 30 days)
If I have two predictor variables, say x1 x2, and would like to see what the effect of x1 is on the dependent variable y, how can I remove the effect of x2?
Also how can I visualise this in plot?
Thanks in advance

Answers (0)

Community Treasure Hunt

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

Start Hunting!