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

3 visualizzazioni (ultimi 30 giorni)
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..?

Risposte (1)

Andrei Bobrov
Andrei Bobrov il 14 Mag 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));

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by