Skip to main content

get_best_copula_rotation

Select the optimal copula rotation based on a provided function. This helper function applies each rotation defined in BaseCopulaRotation to the data u and v, computes a criterion value using the provided function which takes u, v and theta as arguments-and returns the rotation that minimizes this value. Parameters: Returns: Note: Equivalent to:

apply_copula_rotation_nb

Apply a bivariate copula rotation using the standard (clockwise) convention. The transformations are defined as follows:
  • BaseCopulaRotation.R0 (0°): (u,v)(u,v)(u, v) \mapsto (u, v)
  • BaseCopulaRotation.R90 (90°): (u,v)(v,1u)(u, v) \mapsto (v, 1 - u)
  • BaseCopulaRotation.R180 (180°): (u,v)(1u,1v)(u, v) \mapsto (1 - u, 1 - v)
  • BaseCopulaRotation.R270 (270°): (u,v)(1v,u)(u, v) \mapsto (1 - v, u)
Parameters: Returns:

apply_cumulative_density_rotation_nb

Apply a copula rotation to u and v and compute the corresponding cumulative density values. Parameters: Returns:

apply_partial_derivatives_rotation_nb

Apply a copula rotation to u and v and compute the corresponding partial derivatives. Parameters: Returns:

apply_truncate_rotation_nb

Apply a copula rotation to truncate mask. Parameters: Returns: Raises:

apply_triangle_rotation_nb

Apply a copula rotation to truncate mask. Parameters: Returns: Raises:

BaseCopulaRotation

Rotation (in degrees) to apply to a bivariate copula.

Ancestors

  • enum.Enum

Class variables

  • R0: int: No rotation (0°) (u,v)(u,v)(u, v) \mapsto (u, v).
  • R90: int: 90° rotation (u,v)(v,1u)(u, v) \mapsto (v, 1 - u).
  • R180: int: 180° rotation (u,v)(1u,1v)(u, v) \mapsto (1 - u, 1 - v).
  • R270: int: 270° rotation (u,v)(1v,u)(u, v) \mapsto (1 - v, u).