필터 지우기
필터 지우기

how to make CCDF plot

조회 수: 24 (최근 30일)
Pichawut Manopkawee
Pichawut Manopkawee 2017년 8월 4일
댓글: fujian chang 2017년 8월 4일
Hi All,
I have a large set of data and I'm trying to fit those data with complementary cumulative distribution function (ccdf). for example, data1 = 1 2 3 4 5 6 7 8
I went through some people talking about this, but honestly It didn't make sense for me and It didn't work for me as well.
Please help me, I'm stucked with this for many days and future work is extremely depended on this.
Thanks in advance, Pich
  댓글 수: 1
fujian chang
fujian chang 2017년 8월 4일
Because cdf + ccdf =1, then the cdf can be estimated by thematlab function "ecdf". Try this.
[f,x]=ecdf(data);
myccdf = 1-f;
plot(x,myccdf)

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by