If the correlation is <= 0.7, I want to take these variables. If both are 0.7, I want to choose the one with the highest r2 among the two variables. I just couldn’t manage to write. Which path should I follow?
I tried all the ways I could think of but I couldn’t do it.
New contributor
MMERT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1