Skip to main content

Crate solow_copula

Crate solow_copula 

Source
Expand description

§solow-copula

Bivariate copulas for the Solow statistical library.

Two families are provided:

  • Archimedean copulas in closed form: ClaytonCopula, FrankCopula, and GumbelCopula. Each exposes cdf(u, v), pdf(u, v), and the Kendall’s-tau mapping tau().
  • Elliptical copulas: GaussianCopula (with closed-form pdf via the normal-quantile transform, an analytic tau/spearmans_rho, and a cdf built on a bivariate-normal CDF) and an optional StudentTCopula pdf.

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§

ClaytonCopula
Clayton copula, theta > 0 (the independence limit is theta -> 0).
FrankCopula
Frank copula, theta != 0 (independence limit theta -> 0).
GaussianCopula
Bivariate Gaussian copula parameterised by a single correlation rho.
GumbelCopula
Gumbel copula, theta >= 1 (independence at theta = 1).
StudentTCopula
Bivariate Student-t copula parameterised by a correlation rho and degrees of freedom df.

Functions§

bvn_cdf
Standard bivariate-normal CDF P(X <= h, Y <= k) with correlation r.
kendalls_tau
Kendall’s tau-b rank correlation coefficient for paired data.
spearmans_rho
Spearman’s rank correlation rho for paired data.