matlab中应该如何自定义一个累积分布函数(cdf)呢?。
Show older comments
如题,matlab中应该如何自定义一个累积分布函数(cdf)呢?比如拉普拉斯的cdfy=0.5.*(1+sign(xi-b).*(1-exp(-abs(xi-a)./b)));应该如何去定义呢,因为想做ks检验
直接这样做似乎不行 kstest(xi,[xi,y],0.05);
报错 CDF must define an increasing function of X.
所以想问一下麻烦各位老师了,
Accepted Answer
More Answers (0)
Categories
Find more on 均匀分布(离散) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!