Displaying 1 result from an estimated 1 matches for "pvmpc".
Did you mean:
pvmpa
2012 Feb 18
3
foreach %do% and %dopar%
...TIR, EVA, etc.) of the simulation.
foreach (simx = NsimT, .combine=cbind, .inorder=FALSE, .verbose=TRUE) %do% {
MCPVMPA = MCVAMPA[simx] #The *[simx] variables are vectors containing
100,000 simulations of each variable.
MCPVMPB = MCVAMPB[simx] #Wich then I want to parse to the script below
MCPVMPC = MCVAMPC[simx] #In order for the model to take the values of
each variable.
MCPVMPD = MCVAMPD[simx]
source(paste(pathglobal, "Valuation.R", sep="")) #This script does
everyting
#Before you suggest making it a function, let me say I CAN'T.
#This script is about 3000 l...