Regression Analysis Confusion!

2 次查看(过去 30 天)
Sophia
Sophia 2016-12-19
编辑: Sophia 2016-12-20
%%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 个)

类别

Help CenterFile Exchange 中查找有关 Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by