Regression Analysis Confusion!
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
%%Regression analysis for ice drift anomalies
for i=1:361,
for j=1:361,
if ((~isnan(anom_wint_r(i,j,:))))
stats = regstats(squeeze(anom_wint_r(i,j,:)),years','linear',{'beta' 'rsquare' 'fstat'});
idanom_trend_per_winter(i,j) = stats.beta(2);
else
idanom_trend_per_winter(i,j) = NaN;
end
end
end
anom_wint_r is in cm/s, but i am plotting idanom_trend_per_winter i it unitless or is it cm/s/year .. Am i plotting the p-value here
This is the part that confuses me, any explanation would be helpful idanom_trend_per_winter(i,j) = stats.beta(2);
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Regression finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!