How to find out the impact of independents variables on dependent variable?

3 views (last 30 days)
Hi all! I have 365 values of evapotranspiration and 365 values of temperature, solar radiation, relative humidity and wind speed which i used them to calculate the evapotranspiration. i need to know which one of these four variables affects more the evapotranspiration.. is anyone to know how to do it..?

Answers (1)

Andrei Bobrov
Andrei Bobrov on 14 May 2019
Let A - array of your data (365 x 5) : evapotranspiration, temperature, solar radiation, relative humidity and wind speed
c = corrcoef(A);
c = c(:,1);
[out,ii] = max(c(2:end));

Categories

Find more on Develop Apps Using App Designer 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!