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

3 ビュー (過去 30 日間)
Thodoris Ptrks
Thodoris Ptrks 2019 年 5 月 14 日
回答済み: Andrei Bobrov 2019 年 5 月 14 日
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..?
  2 件のコメント
darova
darova 2019 年 5 月 14 日
What this quiestion has in common with MATLAB? You didn't attach any formulas
Thodoris Ptrks
Thodoris Ptrks 2019 年 5 月 14 日
i need to know if there is a way to do it..

サインインしてコメントする。

回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2019 年 5 月 14 日
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));

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by