A complex Google Spreadsheet has many inputs and one output, and I need to run MonteCarlo analysis on it. In Excel, I would have used a "DYI" MonteCarlo approach by putting formulas like
=norminv(rand(),expected_return,st_deviation)
on the inputs, and having a simple macro with a loop, typically run 1000 times ore more, that trigger a spreadsheet recalculation (equivalent to pressing F9), and record the result of output cell.
On Google Spreadsheets, I can't find a way to trigger a spreadsheet recalculation from google apps scripts.
Is there any way, or a better/smarter architecture to do MonteCarlo analysis in google-spreadsheets (preferably not using add-ins that I don't understand what they are doing with the data, or require unlimited access to all my files)?
Thanks in advance!