Expand description
§solow-copula
Bivariate copulas for the Solow statistical library.
Two families are provided:
- Archimedean copulas in closed form:
ClaytonCopula,FrankCopula, andGumbelCopula. Each exposescdf(u, v),pdf(u, v), and the Kendall’s-tau mappingtau(). - Elliptical copulas:
GaussianCopula(with closed-formpdfvia the normal-quantile transform, an analytictau/spearmans_rho, and acdfbuilt on a bivariate-normal CDF) and an optionalStudentTCopulapdf.
The free functions kendalls_tau and spearmans_rho compute the
sample rank correlations for paired data.
All quantities are cross-validated against the canonical Python
reference (distributions.copula.api) in tests/reference.rs.
Structs§
- Clayton
Copula - Clayton copula,
theta > 0(the independence limit istheta -> 0). - Frank
Copula - Frank copula,
theta != 0(independence limittheta -> 0). - Gaussian
Copula - Bivariate Gaussian copula parameterised by a single correlation
rho. - Gumbel
Copula - Gumbel copula,
theta >= 1(independence attheta = 1). - StudentT
Copula - Bivariate Student-t copula parameterised by a correlation
rhoand degrees of freedomdf.
Functions§
- bvn_cdf
- Standard bivariate-normal CDF
P(X <= h, Y <= k)with correlationr. - kendalls_
tau - Kendall’s tau-b rank correlation coefficient for paired data.
- spearmans_
rho - Spearman’s rank correlation
rhofor paired data.