You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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) =yC(y, 1) =yC(y**1/2, y**1/2) =yC(x, y/x) =y# ( in this case for any x != 0)
Should we pick one option or leave it unimplemented?
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.
Activity
[-]Add independence copula[/-][+]Add independence bivariate class[/+]ManuelAlvarezC commentedon Mar 14, 2019
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_distributionis just the product of the two variables. For this reason, thepercent_point, which is the reverse of thecumulative_distributioncan have multiple outputs, as for a givenyin [0,1], there are infinite valuesu,vthat fulfillC(u,v) = y.Some examples:
Should we pick one option or leave it unimplemented?
What do you think @aliciasun @csala ?
ManuelAlvarezC commentedon Apr 23, 2019
There was a misunderstanding in my last post.
The
percent_pointmethod in Bivariate copulas is not the inverse ofcumulative_distributionbut the inverse ofconditional_probability.With that in mind, we can solve the question easily, because the
conditional_probabilityof an independence copulas is the identity, and its inverse is also the identity.