2
$\begingroup$

I want to simulate a geometric binomial process with state/time dependent increments.

So the model is given by

\begin{align}R_t=\frac{X_t}{X_{t-1}}\end{align} \begin{align}P(R_t=u)=p(X_{t-1},t) \hspace{1cm} P(R_t = d)=1-p(X_{t-1},t)\end{align}

and \begin{align}p(X_{t-1},t)=\frac{1}{2^{|X_{t-1}|+1}}\end{align}

So e.g. how can I do this, if the initial value is equal to one? I want to use R.

The clue is, that \begin{align}P(R_t=u)=p(X_{t-1},t)\end{align} and also for $R_t=d$ is not constant?

$\endgroup$
2
  • $\begingroup$ I can write a sketch of a MATLAB code, would it help you? $\endgroup$
    – SBF
    Commented May 21, 2013 at 11:35
  • $\begingroup$ @Ilya well, to be honest, I changed the process, so for me it is not necessary anymore. I did not delete the question, since it may be relevant for user users..... $\endgroup$ Commented May 21, 2013 at 19:40

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.