I'm trying to generate sets of causally connected random variables and started off doing this with a monte carlo approach.
The baseline is a 2-dimensional measured histogram from which I draw random values.
In my concrete examples these variables are acceleration $\bf{a}$ and velocity $\bf{v}$ - so obviously $v_{i+1} = v_{i} + a_i * dt$ has to hold.
My current naive approach is:
I start with a some $v_0$. Then I generate a random $a_0$ according to the measured probability of $\bf{a}$ for the value of $v_0$. Using this $a_0$ I can calculate $v_1$ and the whole procedure starts over again.
So when I check the generated accelerations $\bf{a}$ in bins of $\bf{v}$ everything's fine. But I obviously this does not at all respect the marginal distribution of $\bf{v}$.
I'm kind of familiar with basic monte carlo methods, though lacking some theoretical background as you might guess. I'd be fine if the two variables where just connected by some correlation matrix, but the causal connection between the two gives me headaches.
I didn't manage to find an example for this kind of problem somewhere - I might be googl'ing the wrong terms. I'd be satisfied if somebody could point me to some literature/example or promising method to get a hold on this.
(Or tell me that's is not really possible given my inputs - that's what I'm guessing occasionally...)
EDIT:
The actual aim of this whole procedure: I have a set of measurements $\bf{a}$ and $\bf{v}$, represented in a two-dimensional histogram $N(a,v)$. Given this input I'd like to generate sets of random $\bf{a_r}$ and $\bf{v_r}$ that reproduce the measured distribution.