Plot statistically significant values!

4 次查看(过去 30 天)
Sophia
Sophia 2017-7-12
评论: Sophia 2017-7-17
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);
stats_pvalues = stats.fstat;
tpval(i,j) = stats_pvalues.pval;
else
idanom_trend_per_winter(i,j) = NaN;
tpval(i,j) = NaN;
end
end
end
I just want to plot the areas where the trends are statistically significant,i.e.plot idanom_trend_per_winter where tpval<=0.5*
  2 个评论
KSSV
KSSV 2017-7-13
What plot you expecting? A surface plot or line?
Sophia
Sophia 2017-7-17
I am expecting a contour plot.. with contourf (filled contours)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Model Building and Assessment 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by