>> 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之间啊,实在找不到出错原因
麻烦各路大神帮帮解答一下

 Réponse acceptée

muegjsr
muegjsr le 21 Mai 2023

1 vote

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

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!