Multi-linear regression - How to set the input variables impact (+ or -) on Output in Regression learner app

5 views (last 30 days)
정화 윤
정화 윤 on 7 Jan 2021
Answered: Anmol Dhiman on 20 Jan 2021
I want to do a multi-linear regression modeling with the Regression learner app.
I have full data set with 1 output and 7 input variables in 2 years.
I set-up the training data-set for early 1.5 year and want to predict the output with 7 input variables for last 0.5 year.
I did analysis but I found that "A" variable affect the output negatively(opposite direction) but, it should be the forward direction. So I want to set whether the slope is negative or positive for specific input variable.
How can I do this in the Regression learner app.
Or Could you elaborate how to make it in the workspace?

Answers (1)

Anmol Dhiman
Anmol Dhiman on 20 Jan 2021
Hi 정화 윤,
Refer to documentation link.
Hope it Helps
Anmol Dhiman

Community Treasure Hunt

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

Start Hunting!