Hot answers tagged

3

you just add in any auxiliary variables accumulated along the path that determine the pay-off to the regression variables. So path-dependence is not a problem. If you have previous decisions, you may need to do different regressions based on their possible values or make them into a continuous variables that can be used for regression.


3

Yes you can! Any SDE that has an analytic solution can be simulated exactly. The vasicek model has dynamics $dr=a(b-r)dt+\sigma dW_t$. By Ito's lemma, $$d\left(e^{at}r\right)=e^{at}\left(a(b-r)dt+\sigma dW_t\right) +a e^{at} r dt$$ Simplifying, $$d\left(e^{at}r\right)=e^{at} ab +e^{at}\sigma dW_t$$ Integrating, $$e^{aT} r_T=r_0+b(e^{aT}-1)+\sigma \int_0 ...


2

As your code works for the short maturity case, I assume that it is correct. The volatility of $80 \%$ is simply huge. Thus the area covered by the paths is huge too. As you can read e.g. here the sampling error is proportional to the variance of the process, which is huge in your case. As a brute force solution you can just enlarge the number of samples. ...


1

The first objective is to minimize the variance by choosing a proper control variate. First note that an expectation value is just a constant, so the covariance between an expectation value and a random variable is zero: $$\text{Cov}\left(\mathbb{E}[Y], X\right) = 0$$ Similarly for the variance of an expectation value, $\text{Var}(\mathbb{E}[Y])=0$. The ...


1

Your adjusted scheme is correct. Basically, taking a maturity $T$, you can consider the forward price process $F_t^T = S_t e^{r(T-t)}$. You apply the Andersen scheme to $F_t^T$ and then note that \begin{align*} S_{t+\Delta} &= F_{t+\Delta}^T e^{-r(T-(t+\Delta))}\\ &=F_t^T \exp(\ \Box \ ) e^{-r(T-(t+\Delta))}\\ &=S_t e^{r(T-t)}\exp(\ \Box \ ) ...



Only top voted, non community-wiki answers of a minimum length are eligible