>> U = ksdensity(X,X,'function','cdf');
V = ksdensity(Y,Y,'function','cdf');
>> rho_norm = copulafit('Gumbel',[U(:), V(:)])
Error using copulafit (line 67)
U must contain values strictly between 0 and 1.
U是核分布估计生成的累计概率分布,肯定是在0到1之间啊,实在找不到出错原因
麻烦各路大神帮帮解答一下

 채택된 답변

muegjsr
muegjsr 2023년 5월 21일

1 개 추천

看 你的描述 应该是 出现 0,1了。可能需要的是开区间(0,1),把两端点0与1值删掉看看。

추가 답변 (0개)

카테고리

태그

질문:

2023년 5월 21일

답변:

2023년 5월 21일

Community Treasure Hunt

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

Start Hunting!