How to control for continuous covariates in multiple regression
2 views (last 30 days)
Show older comments
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
1 Comment
Haidong Zhao
on 24 Jan 2021
Hi, do you please get idea for this question? I have also similar question. Thanks.
Answers (0)
See Also
Categories
Find more on Linear 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!