Take the 2-minute tour ×
Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It's 100% free, no registration required.

I'm searching for the moments of geometric brownian motion using the gmm optimization program. the aim is to make the process y(t) of returns follows a normal distribution Are there any packages in MATLAB that are capable of this?

share|improve this question
add comment

1 Answer

I found these nice lecture note by Karl Sigman on the web. On page three you see if $X\sim N(\mu,\sigma)$ then the moment generating function (mgf) of $X$ is given by $$M_X(s) = E(exp(sX)) = \exp( \mu s + \sigma^2 s^2 /2)$$ Thus for Brownian motion with drift $X_t$ you get $$ M_{X_t}(s) = E(exp(s X_t)) = \exp( \mu t s + \sigma^2 s^2 t /2). $$ Finally for $S_t = S_0 \exp(X_t)$, i.e. the geometric Brownian motion you get $$ E[S_t^n] = S_0^n E[\exp(X_t)^n] = S_0^n E[\exp(n X_t)] = S_0^n M_{X_t}(n), $$ which can be calculated by the mgf of $X_t$. Then you get all moments by a simple formula.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.