# Tag Info

3

You can use copulas. The probability that B rises given A rises is $P(- R_B < 0 | - R_A < 0) = \frac{P(-R_B < 0, - R_A < 0)}{P(-R_A < 0)} = \frac{C(F_{-B}(0),F_{-A}(0))}{F_{-A}(0)}$. You can specify the marginals as a GARCH process and use either non parametric or parametric copulas to get your final conditional probability.

1

if you agree that the marginal probability $P(u\le Y\le v)=F_Y(v)-F_Y(u)$, then your formula follows immediately, because next you simply plug the marginals into the copula. your 3rd equation for the joint probabilities is incorrect for $P(Z\le z,u\le Y\le v)$, I'm not sure where you got it from

1

I have written R code for some time-varying bivariate fat-tailed copula functions (ripped off Patton's Matlab code) and played around with various optimizers. You can then use Rsolnp, nloptr, alabama or DEoptim packages to find an optimisation solution. Here is some R code where I play around with different optimisation algorithms. Note that the data2.csv ...

Only top voted, non community-wiki answers of a minimum length are eligible