J
jdizzile
Guest
I have been doing some data analysis using the ocean Monte Carlo
functions. At the end of my simulations I would like to make a nice
report of the results, but I am having trouble finding funtions that
will let me directly access my Monte Carlo data without parsing.
Here's what I mean. Currently I set up a Monte Carlo simulation with
some expressions, and run it. I would like to loop through all of the
expressions I set up and perform some of my own calculations on them.
I imagine the sudo code would look like this.
myexpressions = monteGetExprs() ;This would be similar to
monteDisplay(), but would output a list or an array instead of text
foreach( a myexpressions
get array of data for myexpressions ;This would be similar to
iterVsValue(), but array out.
find mean of array
find max of array
find stddev of array
find +-6*stddev of array
print all of above to a document
)
functions. At the end of my simulations I would like to make a nice
report of the results, but I am having trouble finding funtions that
will let me directly access my Monte Carlo data without parsing.
Here's what I mean. Currently I set up a Monte Carlo simulation with
some expressions, and run it. I would like to loop through all of the
expressions I set up and perform some of my own calculations on them.
I imagine the sudo code would look like this.
myexpressions = monteGetExprs() ;This would be similar to
monteDisplay(), but would output a list or an array instead of text
foreach( a myexpressions
get array of data for myexpressions ;This would be similar to
iterVsValue(), but array out.
find mean of array
find max of array
find stddev of array
find +-6*stddev of array
print all of above to a document
)