Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed-Exponential Jump Diffusion #1

Open
stevenlvkai opened this issue May 9, 2019 · 5 comments
Open

Mixed-Exponential Jump Diffusion #1

stevenlvkai opened this issue May 9, 2019 · 5 comments

Comments

@stevenlvkai
Copy link

Why you use a uniform random variable multiplying a normal random variable as Mixed-Exponential Jump Diffusion?
J[j] <- J[j] + runif(1,min=0,max=1) * rnorm(1, mean = 0, sd = 1)

@jirotubuyaki
Copy link
Owner

Thank you for pointing out the issue.
I implemented it for random jump size. But even if I remove "runif(1,min=0,max=1)" , Random jumps will occur.
Do you think this codes have problems?

@stevenlvkai
Copy link
Author

Thank you for pointing out the issue.
I implemented it for random jump size. But even if I remove "runif(1,min=0,max=1)" , Random jumps will occur.
Do you think this codes have problems?

No, I don't think this is a problem. I just don't understand why using a uniform distribution here. It seems like the uniform distribution just shrinks the amplitude of the jump. As you said, rnorm() has already provided a random generator. So, why we need a uniform variable to adjust it? Is there any paper mentions this method?

@jirotubuyaki
Copy link
Owner

I mainly refer "Stochastic Calculus for Finance II: Continuous-Time Models (Springer Finance)".
But this book is not mention jump size and I don't refer any academic papers.

@stevenlvkai
Copy link
Author

I mainly refer "Stochastic Calculus for Finance II: Continuous-Time Models (Springer Finance)".
But this book is not mention jump size and I don't refer any academic papers.

Ok, understand. Thank you very much. I really appreciate your work. Maybe you can mention a little more detail about $Yi$ in the mixed-exponential jump-diffusion model in your vignette.

@jirotubuyaki
Copy link
Owner

I will better my repository and vignette.
Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants