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

Simulate SDE with white noise? #334

Open
jakeyeung opened this issue Nov 28, 2023 · 3 comments
Open

Simulate SDE with white noise? #334

jakeyeung opened this issue Nov 28, 2023 · 3 comments
Labels
question User queries

Comments

@jakeyeung
Copy link

jakeyeung commented Nov 28, 2023

Hi,

I was wondering if it's possible to simulate SDEs using white noise, rather than the brownian motion (e.g. brownian_motion = VirtualBrownianTree(t0, t1, tol=1e-3, shape=(), key=jrandom.PRNGKey(0))) shown in the docs?

I searched around the github but did not see any functions related to white noise.

Kindest regards,

Jake

@patrick-kidger
Copy link
Owner

Hey there! What does "simulate an SDE using white noise" mean to you? What precise numerical opertion are you looking to describe?

(For context, I usually think of white noise as being "the derivative of Brownian motion". So formally, it is the X given by (X, φ) = - integral w(t) φ'(t) dt, using integration by parts to move the derivative on to the actually-differentiable test function.)

@patrick-kidger patrick-kidger added the question User queries label Nov 28, 2023
@jakeyeung
Copy link
Author

Hi,

Yes I am thinking of white noise as the derivative of Brownian motion.

Practically, I would like to compare SDEs simulated with Brownian motion (where 95% quantiles increase proportionally to square root of time) versus with white noise (95% quantiles are constant over time). I was wondering how to do that with diffrax.

@patrick-kidger
Copy link
Owner

Do you have a reference for the mathematical operation you're trying to perform?

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

No branches or pull requests

2 participants