I have some problems with the Montecarlo simulation to price a generic Call option. I want to explain something regarding MC simulation with a simple cases, and after that I am going to talk about my problem.
- Montecarlo - Simple case: considering a set of parameters: S=1, K=1, sigma=0.5, r=0, T=1, N=1000 (number simulation MC); the montecarlo with this example works in this way:
1.1 $S$ = [1,1, ..., 1] I am going to repeat the value of underlying a number of times equal to $N$
1.2 $X$ = $S e^{Z}$ where $Z$ = ($1\times N$) vector of Browniam motion --> I get a vector ($1\times N$) where I multiply each value of $S$ with each value of $e^{Z}$
1.3 In the vector $X$, I take the $\max(X-K,0)$ so between each value inside the vector minus K, and zero
1.4 Finally, I find the payoff, that is the average of the vector.
- Montecarlo - Another case: considering a set of parameters: S=[1.1,1.2], K=1, sigma=0.5, r=0, T=1, N=1000 (number simulation MC); the montecarlo with this example works in this way:
2.1 $S = \begin{pmatrix} 1.1 & \dots & 1.1\\ 1.2 & \dots & 1.2 \end{pmatrix}$ ($2 \times N$); so we repeat the value of underlying a number of times equal to $N$
1.2 $X$ = $S e^{Z} $ = $\begin{pmatrix} 1.1 \exp{Z_1} & \dots & 1.1\exp{Z_N}\\ 1.2 \exp{Z_1}& \dots & 1.2\exp{Z_N} \end{pmatrix} $ where $Z$ = ($1\times N$) vector of Browniam motion --> I get a vector ($2\times N$) where I multiply each value of first row $S$ with each value of $e^{Z}$, the same for the second row of $S$
1.3 In the vector $X$, I take the $\max(X-K,0)$
1.4 Finally, I find the two payoffs, that is the average of the first row (for first payoff) and average of second payoff (for second row)
Now i can explain my problem: How can I find the payoff, if I have both $S$ and $\sigma$ that are vectors? for example, $S$=[1.1,1.2], $\sigma$=[0.5,0.6]
I have tried in this way, but I think it is wrong..
$S = \begin{pmatrix} 1.1 & \dots & 1.1\\ 1.2 & \dots & 1.2 \end{pmatrix}$($2 \times N$)
$\sigma = \begin{pmatrix} 0.5 & \dots & 0.5\\ 0.6 & \dots & 0.6 \end{pmatrix}$($2 \times N$)
I generate two Brownian motion (because I have two values of sigma) = $Z = \begin{pmatrix} BM_{11} & \dots & BM_{1N}\\ BM_{21} & \dots & BM_{2N} \end{pmatrix}$
$X = S e^{Z} = \begin{pmatrix} \begin{pmatrix} 1.1 e^{BM_{11}} & \dots & 1.1 e^{BM_{1N}}\\ 1.2 e^{BM_{11}} & \dots & 1.2 e^{BM_{1N}} \end{pmatrix} \\ \begin{pmatrix} 1.1 e^{BM_{21}} & \dots & 1.1 e^{BM_{2N}}\\ 1.2 e^{BM_{21}} & \dots & 1.2 e^{BM_{2N}} \end{pmatrix} \end{pmatrix}$
After that, I take the maximum as before, and the average, but in this case I obtain 4 payoff! And for this reason I am not sure about this method..