QuestionbankMonteCarloMethodsLetNbeannx1vectorofindependentdrawsfromastandardnormaldistribution,andletVbeacovariancematrixofmarkettime-seriesdata
Then,ifLisadiagonalmatrixoftheeigenvaluesofV,EisamatrixoftheeigenvectorsofV,andCCistheCholeskyfactorizationofV,whichofthefollowingwouldgenerateanormallydistributedrandomvectorwithmeanzeroandcovariancematrixVtobeusedinaMonteCarlosimulationNC'CNNCELECannotbedeterminedfromdatagivenConsiderastockthatpaysnodividends,hasavolatilityof25%paandanexpectedreturnof13%pa
ThecurrentstockpriceisS0=$30
ThisimpliesthemodelSt+1=St(1+At+e),whereeisastandardnormalrandomvariable
Toimplementthissimulation,yougenerateapathofthestockpricebystartingatt=0,generatingasamplefore,updatingthestockpriceaccordingtothemodel,incrementingtby1andrepeatingthisprocessuntiltheend