python - 如何在 python 中为 copula (copulafit) 复制 matlab 模型
问题描述
我发现了这个简单且解释清楚的 copula 示例,这对我的目的来说绝对没问题。 https://it.mathworks.com/help/stats/copulafit.html
我只需要复制它。
但是,我不能使用 Matlab,只能使用 Python。你知道我如何在 python 中复制这里的内容吗?例如,我尝试过 Copulas,但由于某种原因,我无法将 copula 可视化,而是直接将我的重采样数据的多元分布可视化
解决方案
在 python 中,您可以使用 Copulas 库 ( https://sdv.dev/Copulas/index.html )