Skip to content
All library documents

Fitting a Clayton, Student-t, and Gumbel Mixed Copula for Pairs Trading

Code Stratmill research code

Summary

This module fits a bivariate mixture of Clayton, Student-t, and Gumbel copulas, motivated by a mixed-copula pairs trading approach. It first maps each input series to empirical cumulative probabilities, then estimates component parameters and mixture weights using an expectation-maximization procedure. The expectation step updates weights, while the maximization step optimizes a penalized likelihood; a SCAD penalty can shrink weak components toward zero.

The fit returns a log-likelihood and stores the component parameters and weights for later use. A weight threshold can discard negligible components, and the procedure has a special optimization path when the Student-t component becomes small. The documentation warns that penalty settings can materially affect results, its defaults were explored on limited stock price and return datasets, and iteration limits may need adjustment. It recommends tuning parameters, potentially with cross-validation, and checking fitted samples against observed data. The excerpt describes an estimation tool, not a complete entry, exit, or risk-management strategy, and supplies no independent performance evidence.

Key ideas

  • The model combines Clayton, Student-t, and Gumbel copulas to represent bivariate dependence.
  • Empirical marginal distributions transform observations into quantile data before fitting.
  • An expectation-maximization routine alternates mixture-weight updates and penalized parameter optimization.
  • A SCAD penalty and weight threshold can suppress components with little estimated contribution.
  • Penalty tuning and initialization can affect fit quality, so diagnostics and validation matter.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.