累积分布函数(Cumulative Distribution Function,CDF)就具有这样的功能。点x的CDF能告诉我们哪部分事件发生在x的"左边"。换而言之,CDF是满足xi≤x的所有xi。
>> figure;
[h,stats]=cdfplot(t);
set(h,'color','r','LineStyle',':','LineWidth',2);
hold on
title('');
xlabel('t');
ylabel('F(x)');
>> [f_ks,xi]=ksdensity(t,'function','cdf');
plot(xi,f_ks,'k','linewidth',2);
>> y=normcdf(xi,stats.mean,stats.std);
plot(xi,y,'b-.','LineWidth',2);
legend('经验分布函数','核估计分布函数','理论正态分布','Location','Northwest');
输入以上命令,所得核估计累积分布函数如图所示。
请问,我想求横坐标在0.0000072处的纵坐标值是多少?怎么求?在线等