Last answered:

28 Aug 2023

Posted on:

17 Jun 2023

0

why is the range( 1, t_intervals + 1)

In MC: Forecasting Stock Prices, the loop uses for t in range( 1, t_intervals)

However, in MC:Euler Discretization, the loop uses for t in range( 1, t_intervals +1 )


Why do we have to add +1 for Euler and not for Stock Pricing?

1 answers ( 0 marked as helpful)
Posted on:

28 Aug 2023

0

It might be a mistake because the size of the array under Euler's method is 25-1 rows * 10000columns

Submit an answer