Skip to content

Add independence bivariate class #46

Closed

Description

@aliciasun

Description

Add a independence copula class to fit data that are not correlated.

Activity

  1. added this to the 0.2.0 milestone on Aug 14, 2018
  2. added
    feature request
    on Aug 14, 2018
  3. changed the title [-]Add independence copula[/-] [+]Add independence bivariate class[/+] on Aug 14, 2018
  4. self-assigned this
    on Aug 14, 2018
  5. modified the milestones: 0.2.0, 0.2.1 on Aug 21, 2018
  6. modified the milestones: 0.2.1, 0.2.2 on Nov 19, 2018
  7. ManuelAlvarezC commented on Mar 14, 2019

    @ManuelAlvarezC
    Contributor

    This has been mostly implemented on the branch 46_independence_bivariate_copula. However there is an implementation detail that should be discussed before merging it:

    In the case of independent random variables, the cumulative_distribution is just the product of the two variables. For this reason, the percent_point, which is the reverse of the cumulative_distribution can have multiple outputs, as for a given y in [0,1], there are infinite values u, vthat fulfill C(u,v) = y.

    Some examples:

    C(1, y) = y
    C(y, 1) = y
    C(y ** 1 / 2, y ** 1 / 2) = y
    C(x, y / x) = y  #  ( in this case for any x != 0)

    Should we pick one option or leave it unimplemented?

    What do you think @aliciasun @csala ?

  8. added
    under discussion
    on Apr 12, 2019
  9. ManuelAlvarezC commented on Apr 23, 2019

    @ManuelAlvarezC
    Contributor

    There was a misunderstanding in my last post.

    The percent_point method in Bivariate copulas is not the inverse of cumulative_distribution but the inverse of conditional_probability.
    With that in mind, we can solve the question easily, because the conditional_probability of an independence copulas is the identity, and its inverse is also the identity.

  10. removed
    under discussion
    on Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions