You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: multivariate gof tests and distance measures #7265
use case and special case copulas and multivariate dependence structure.
has larger literature for it e.g. for selecting a copula family for data modelling
For confidence intervals or test we will need bootstrap or simulated inference.
We still need that also for univariate case with estimated parameters
We need this for unit testing random number generation for copulas.
Basic gridded 2-d chisquare test might be ok for unit tests. (similar to univariate case)
For copula we need two versions, one where cdf is available to compute prob of each bin, and an approximate pdf version, where we use, the, e.g. midpoint, pdf of the bin to compute prob for bin.
For elliptical distributions and copulas we can use similar transformation as for multivariate normal and check only radial components.
simulated p-values and prob plot envelope (under parametric null)
to the last point simulated p-values:
This assumes our rvs is correct. Up to now in PR #7408 I looked mainly at the case of verifying that rvs is correct when we cannot use simulated values yet.
to first point:
Using transformation to normal scores, then we have a mv-normal distribution if the copula is gaussian. Then we can just use standard tests for multivariate normality.
e.g. #382
Activity
josef-pkt commentedon Jan 20, 2021
We need this for unit testing random number generation for copulas.
Basic gridded 2-d chisquare test might be ok for unit tests. (similar to univariate case)
For copula we need two versions, one where cdf is available to compute prob of each bin, and an approximate pdf version, where we use, the, e.g. midpoint, pdf of the bin to compute prob for bin.
For elliptical distributions and copulas we can use similar transformation as for multivariate normal and check only radial components.
josef-pkt commentedon Jun 5, 2021
example use case: testing and selecting elliptical copulas, gaussian, t
Kole, Erik, Kees Koedijk, and Marno Verbeek. 2007. “Selecting Copulas for Risk Management.” Journal of Banking & Finance 31 (8): 2405–23. https://doi.org/10.1016/j.jbankfin.2006.09.010.
(I read this article in my initial work on copulas, 2011 -2013)
to the last point simulated p-values:
This assumes our
rvsis correct. Up to now in PR #7408 I looked mainly at the case of verifying that rvs is correct when we cannot use simulated values yet.to first point:
Using transformation to normal scores, then we have a mv-normal distribution if the copula is gaussian. Then we can just use standard tests for multivariate normality.
e.g. #382