Almost Sure *– (adj) true on a set of probability one.*

Welcome to my maths blog, *almost sure*, which will contain posts on a variety of mathematical subjects. Although my background is mainly in stochastic processes, the aim of this blog is to discuss any interesting mathematical topics that arise. This could involve approaches to tackling unsolved theorems, any new techniques applied to old problems, or any other maths which seems to be worth posting. Hopefully, others will find at least some of what I post here to be interesting and worthy of discussion. Any feedback and constructive criticism is very welcome.

*George Lowther*

Advertisements

Hi.

I have found an answer you gave on mathoverflow.

http://mathoverflow.net/questions/1294?sort=votes#sort-top

I have a similar problem that relates to that question.

I do genomic research. Modern techniques allows to sequence the genome at relatively low cost. They produce short sequences randomly (and let’s say uniformly) distributed reads. What I need is to know the distribution of distances between two consecutive reads, knowing the total length of the DNA molecule and the total number of reads.

If we generalize the problem, we could ask:

What is the distribution of distances among two consecutive points randomly distributed over linear space, knowing its average distance is k?

I know it is somehow related to the Poisson distribution, but I do not want to know how many times an event occurs, but the distance between two events. My knowledge of probability is very poor, maybe you can give me a hint.

going back to the original post, what is N in the formula?

I guess:

n = number of points

d = required minimal distance

L = total length

N = ?

Thank you

Comment by Stefano — 25 February 10 @ 6:22 PM |

Hi. I assume that when you talk about points “randomly distributed over linear space”, you mean some fixed number of points uniformly distributed on a line segment? Then, the sample average distance is k = length / (number of points + 1). Or do you mean something different? Either way, at least in the limit as number of points→infinity, the distances between points should be approximately exponentially distributed (like with the Poisson process).

Also, to answer “what is N in the formula?” N=n. Just a typo:)

Comment by George Lowther — 27 February 10 @ 5:33 PM |

In fact, your question, if I understood it properly, does have a very simple answer. Cut a line segment of length L at N uniformly chosen random points, and pick one of the N+1 pieces at random. By a symmetry argument, you may as well pick the first piece. Then, letting X be the length of the segment, the probability that X>x is the same as the probability that none of the random points are in the initial interval [0,x]. By independence, this has probability P(X>x)=(1-x/L)

^{N}. We can normalize X by the average length k=L/(N+1) to getP(X/k > x) = (1-x/(N+1))

^{N}.As I hinted in my other reply, for large N this is approximately exponential,

P(X/k > x) ≈ exp(-x).

Comment by George Lowther — 27 February 10 @ 6:29 PM |

I googled for the integration of correlated processes in hope to get some ideas on how to proceed next with my problem. And that is how I uncovered your blog. Great description of stochastic calculus. I think I am getting better understanding of many difficult spots in stochastic calculus because you chose to explain the topics from a different angle. I will be reading your blog regularly…

If you can provide some clues I would greatly appreciate this.

So here is a problem. Suppose we have two correlated processes Y and X. We also have, in general, deterministic time-dependent functions a(t) and rho(t). And we have Brownian motions W1 and W2. Here are the equations in differential form:

The task is to get an integral for Y(t) = … If there was no correlation (rho=0) then we would end up with double integral, I guess. But how to proceed if we have a correlation, any idea?

Thank you!

Comment by Mik — 16 July 10 @ 4:38 AM |

Welcome Mik.

There’s three points which come to mind,

we really just need to rearrange it to get a simpler or easier to understand form for Y.

I’ll give this third point a try. The SDE for Y would just give a lognormal process for X, if X were deterministic. So, let’s start by taking its logarithm . By Ito’s lemma,

Next, introduce the BM

which is independent of W2 (this is essentially Gram-Schmidt orthonormalization).

Putting back into the expression for Z,

This can be integrated out,

So, conditional on X, Z(t)=log(Y(t)) will be normal with mean and variance

Being lognormal, X is easy to simulate and this expression then allows you to simulate samples for Y(t). I don’t think I can go much further than this though.

(Btw, I latexed the formula in your post.)

Comment by George Lowther — 16 July 10 @ 9:51 PM |

Thank you George. Of course, it is finance and the original problem is quite more messier. But as an honest scholar I did not want to ask someone to solve the problem for me. I wanted to see if there is a systematic way of getting correlation into the integral. I thought for a sec about Gram-Schmidt too (but I was not persistent enough). You showed clearly how to proceed with it to get the expression for Z(t). But this technique will probably get much more messier when we have 3 processes X(t), Y(t), Z(t). At some point I thought if there is a way to exploit the identity(?)

d(X(t) Y(t)) = X(t) dY(t) + Y(y) dX(t) + dX(t) dY(t)

But then the last term is going to yield correlation explicitly. The trick, of course, is to have a closed form Y(t) = f( X(t), rho, … )

But as you mentioned above, not all SDE can give the closed form solution. Which is pretty much true for Ordinary Differential Equations.

In ODEs, however, there is a nice apparatus of approximations (via asymptotic expansions, etc) of an original nasty equation. People use it extensively in Fluids problems where the full Navier-Stokes equations are pretty much intractable analytically. The approximations help yield closed form expressions around some limiting cases. Do you know if there is something similar in the SDE world? Any prominent publications are out there in which they apply asymptotics to SDE directly? One can in principle transform SDE to some PDE and then apply approximations there. But I was wondering if approximations can be applied to SDE directly…

Thank you!

Comment by Mik — 18 July 10 @ 4:50 PM |

Yes, there are various approximations and asymptotic expansions available. You could have a look at Option Valuation Under Stochastic Volatility by Alan Lewis. This uses series expansions for a certain class of stochastic volatility models. My copy of this is 10 years old now, so there might be more recent treatments around.

Comment by George Lowther — 18 July 10 @ 7:43 PM |

@Milk: This is not really Gram-Schmidt, but rather Cholesky decomposition which is performed here.

Also for approximations of Ito SDE solutions, you have all the tools coming from diffusion PDEs: perturbation methods, Heat Kernel Expansion,… By the way, Lewis contains outdated material (financially speaking, but also mathematically). You can grab a copy of Pierre Henry-Labordère’s “Analysis, Geometry, and Modeling in Finance” for applications of HKE in option pricing. Also, in your case, carrying an asymptotic expansion of the moments of Y with respect to the volvol process a should be straightforward with physicists’ perturbation theory.

There is quite a great deal of quant. finance papers about various approximations to SDE solutions. SSRN and Arxiv are good starting places.

Also, let me take the opportunity to thank you, Mr Lowther for your blog. Stochastic processes is a complex topic, and you manage to cut it down into manageable pieces in a very delightful way.

Regards

Comment by kebabroyal — 5 December 11 @ 8:18 PM |

Sorry to intrude, is there a way to contact you? I sent you a “planetmath” email, but I’m not sure you’re reading those. Many thanks

Comment by quant — 30 August 10 @ 5:21 PM |

yes, I see, I’ll respond by mail.

Comment by George Lowther — 1 September 10 @ 11:30 PM |

Hi, I found my way to your blog through your answer to the following problem, which by the way helped me improve a paper I was writing by replacing a bound by the exact probability. Thank you.

http://mathoverflow.net/questions/1294/mean-minimum-distance-for-n-random-points-on-a-one-dimensional-line/1308#1308

I am thinking about the same problem in a two-dimensional region (let’s say a unit square). Do we know the exact distribution for the minimum distance between n points inside the unit square chosen uniformly at random? And, how about other type of distances like l_infinity distance (so we avoid the problem of packing circles inside a square)?

One thing I have noticed when researching these questions is that, because there are so many open problems related to these kind of problems, it becomes very confusing to separate what is known (or even trivial) and what is not. One example is the 1-d problem you answered. Honestly, until I found your answer, I was lost among a lot of papers talking about all kinds of fancy stuff about the spanning tree formed by the points, distance to the k’th neighbor, etc. A reference which says “okay, n points inside the unit square (or whatever it is), here’s what we know, here’s what’s probably really hard to calculate” would really work for me.

Again thanks a lot for all your contribution.

Comment by Job — 19 January 11 @ 7:44 AM |

Welcome Job,

I think this is the kind of problem which will get very difficult very quickly as you add complications, such as increasing the dimension, changing the shape of the region, using different metrics, etc. So, I’m not surprised that you encountered lots of papers using fancy methods.

As you increase the dimension, the simple argument I used does not work anymore. You could obtain bounds using results on sphere packing. For exact formulas, even the case of just two points can be difficult in higher dimensions, according to Wadim Zudilin’s comment to this mathoverflow question. I’m not sure about a list of what is known and what isn’t, other than by searching through available papers on the subject.

I think that some other related problems such as the minimum distance of a randomly chosen point to the other points can be a bit easier.

Comment by George Lowther — 19 January 11 @ 9:35 PM |

Thanks a lot for your quick reply and the reference. I’ll have a look.

Comment by Anonymous — 19 January 11 @ 10:54 PM |

Hi, this is an offtopic question, but i wasn’t sure at which topic to put it, so i put it at the most recent.

Can a local martingale have decreasing paths? thank you very much.

Comment by soumik — 28 February 11 @ 11:55 AM |

Hi. It’s not completely clear to me what you mean. Are you asking if a local martingale can

almost surelyhave decreasing paths? In that case, the answer would be no. This is because a martingale cannot have almost surely decreasing paths, as its expectation should be constant. The same statement hold for local martingales by localizing this argument. Maybe you mean, can a local martingale have decreasing paths with nonzero probability? In that case, the answer is yes. Consider the process which starts at zero and, then at some positive time, jumps to ±1 each with 50% probability. This has decreasing paths with 50% probability and is a martingale. Forcontinuouslocal martingales the answer would be no, it is not possible to have decreasing paths with positive probability, because it must have infinite variation whenever it is non-constant. However, it is possible to find continuous local martingales which have decreasing paths when restricted to a discrete set of times. Eg, letWbe a Brownian motion started from zero and τ be the first time when it hits −1. Then,is a local martingale with

X_{1}= −1 < 0 =X_{0}.btw, I moved your post to the About page because, as you say, it was off-topic.

Comment by George Lowther — 28 February 11 @ 7:58 PM |

Thank you very much for your detailed response. I was refering at local martingales that can hace decreasing paths with positive probability.

But I didn’t understood your last example: how can you discus the value of X in 1, because then t/(1-t) doesn’t make sense(1/0)?

Comment by soumik — 28 February 11 @ 9:43 PM |

I edited my reply to clarify this.

Comment by George Lowther — 28 February 11 @ 10:11 PM |

Hi,

Could someone help me please with the following problem(which actually could be very simple): If X and Y are two random variables such that:

X => 0 and E[Y|F] =>0 prove that E[XY|F]=>0.(X and Y are not independent, nor is X and Y independent of F, or measurable with respect to F).

Thank you very much.

Comment by soumik — 19 May 11 @ 3:20 PM |

Soumik,

Hi. It’s not really the intention of this blog to answer arbitrary maths questions. I’m not sure where the best place is for this kind of question is, possibly http://math.stackexchange.com would be suitable. But, as it is quite quick, I can tell you that the result you state is not true. Consider a uniformly distributed variable

Yon the interval [−1,1], takeX= 1_{{Y≤0}}and letFbe the trivial sigma-algebra. Then,X≥ 0, E[Y|F] = E[Y] = 0 but E[XY|F] = E[XY] = −1/4.Comment by George Lowther — 19 May 11 @ 11:55 PM |

Dear Prof George Lowther,

you may find the following “almost sure convergence/approximation” results by me in Stochastic calculus interesting:

Rajeeva Karandikar (rlk@cmi.ac.in)

Pathwise solution of stochastic dierential equations. Sankhya A, 43, 1981,pp: 121-132.

On quadratic variation process of a continuous martingales.Illinois journal of

Mathematics, 27, 1983, pp: 178-181.

A. S. approximation results for multiplicative stochastic integrals. Seminaire de

Probabilites XVI, Lecture notes in Mathematics 920, Springer-Verlag,Berlin,

1982, pp: 384-391.

On Metivier-Pellaumail inequality, Emery topology and pathwise formulae in

stochastic calculus.Sankhya A, 51, 1989, pp: 121-143.

On a. s. convergence of modied Euler-Peano approximations to the solution of

a stochastic dierential equation Seminaire de Probabilites XVII, Lecture

notes in Mathematics 1485, Springer-Verlag, Berlin, 1991, pp: 113-120.

On pathwise stochastic integrationStochastic processes and their applica-

tions, 57, 1995, pp: 11-18.

Comment by Rajeeva Karandikar — 25 October 11 @ 5:16 PM |

I’ll have a look at those. Thanks!

Comment by George Lowther — 25 October 11 @ 7:01 PM |

BOO!

Comment by Richard Marsden — 25 May 12 @ 11:02 PM |

Hello there!

Comment by George Lowther — 26 May 12 @ 1:09 PM |

It has been a long time, how’s things? What are you upto? I’ve been living in the Dallas area for the last 10+ years. Switch to email if you like. If it isn’t visible in WordPress, try winwaed.com and use the contact form.

Comment by Richard Marsden — 26 May 12 @ 4:21 PM |

Yes, I’ll switch to email.

Comment by George Lowther — 6 June 12 @ 2:23 AM

Your blog is awesome. Please consider publishing a book.

Comment by Alex — 9 June 12 @ 10:17 PM |

Thanks! I don’t have the time to be writing a book right now though.

Comment by George Lowther — 13 July 12 @ 12:08 AM |

Dear George Lowther,

Thanks for the great blog, it’s much easier to study from than wading through textbooks.

One question: with reference to this StackExchange question http://math.stackexchange.com/questions/168566/stopped-filtration-filtration-generated-by-stopped-process/, I’m wondering if you (or anyone else) have any knowledge regarding the equivalence of the two sigma algebras described here. As I mentioned in my reply, the equivalence of the stopping time (wrt the natural filtration) sigma algebra and the the sigma algebra generated by the stopped process have been shown to be equivalent in 1970 by Haezendonck and Delbaen. However I can’t find the proof anywhere online, despite it being quite useful in practice. Maybe it’s too deep to be included here, but it seems like an important result to be included somewhere…

,

Comment by Dominic — 7 December 12 @ 3:39 PM |

Typo: shown to be equivalent -> shown to be equivalent for cadlag processes

Comment by Dominic — 7 December 12 @ 3:41 PM |

Nevermind, the proof’s in Dellacherie and Meyer.

Comment by Dominic — 10 December 12 @ 3:40 AM |

Dear George,

Can you please tell me what your main literature source was for the post about compensators?

Kind regards

Comment by Peter — 17 July 13 @ 5:10 PM |

I believe some of your work has found a new home:

http://largesse-directory.blogspot.com/2013/11/simulacrum.html

Comment by David Sullivan — 3 November 13 @ 6:01 AM |

Certainly looks like it! Thanks for pointing that out.

Comment by George Lowther — 6 November 13 @ 12:01 AM |

Dear George,

first of all thanks a lot for all this material you post for free on the web..

I am wondering if there is a pdf version available, just to print it out and read it more easily..

I saw the same question has already been asked, but that was a long time ago..

thanks a lot

Tom

Comment by Anonymous — 8 November 13 @ 10:57 AM |

Hi George,

You posted a solution to a question of mine on stackexchange at the address below. I would like to first inquire as to whether it has been published anywhere. If not, I have developed a fundamentally different proof which I am interested in publishing (I will be happy to explain in detail if you are interested), and I would like to include your proof as well, so I would like to discuss this with you.

Thanks,

Trevor Richards

http://math.stackexchange.com/questions/437598/conjecture-every-analytic-function-on-the-closed-disk-is-conformally-a-polynomi

Comment by Trevor Richards — 25 November 13 @ 4:46 AM |

Happy new year dear George

but we miss your posts.

Best regards

Comment by Anonymous — 14 January 14 @ 1:11 PM |

Dear George,

I had a follow-up question to a comment of yours to the following question at

http://mathoverflow.net/questions/76625/there-are-d-random-variables-given-all-k-d-joint-probability-distributions-with

You mention that

“For k=2 then you need the covariance matrix to be positive semidefinite. This is not guaranteed just by having the one dimensional distributions being consistent. – George Lowther Sep 29 ’11 at 6:46”

I can see that as a necessary condition but I do not see how to prove this is sufficient as well. Is there somewhere I can look this up?

Best regards,

Jibran

Comment by Jibran — 26 March 14 @ 5:31 PM |

Hi George

Thanks for your notes. They are very nice and thoughtful. On the page , you mention notes. Is there a chance you will post a pdf version of your notes? I find it much easier to read a printed version, especially if it’s long and requires annotations etc.

Thanks

Comment by Anonymous — 3 July 14 @ 5:07 AM |

Sorry, I meant to say the page on Stochastic Calculus, and wrote down a website https://almostsure.wordpress.com/2009/10/31/stochastic-calculus-notes/, which didn’t want to appear.

Comment by Anonymous — 3 July 14 @ 5:08 AM |

Dear George

I have a question in your post on this problem on mathoverflow:

http://mathoverflow.net/questions/70922/on-the-average-of-continuous-functions-f-mathbbr2-rightarrow0-1/70940#70940

In your answer you said the random walk is recurrent, where are i.i.d uniform on unit circle. I can not see why. Could you explain me further? thanks very much.

Comment by zhaoliang — 5 October 14 @ 9:43 AM |

Hi. It is a standard result that random walks in the plane are recurrent. See, for example, Kallenberg, Foundations of Modern Probability (2nd Ed), Theorem 9.2.

Comment by George Lowther — 6 June 16 @ 12:44 AM |

I’ve just found this fantastic blog, which solves a lot of my questions. Thank you very much!

Comment by Yuchen Xie — 11 April 15 @ 12:01 PM |

Sorry, I have been away from this blog for a while now. I plan to resurrect it soon, continuing with the stochastic calculus posts and, maybe, branch out with some other stuff too.

Comment by George Lowther — 6 June 16 @ 12:35 AM |