I am using random-gamma with NetLogo. When I add division to the syntax of random-gamma, NetLogo gets an error. The following is an example of calculation syntax using random-gamma. (In addition, these variables "number-dead, S, T" are registered in global variables.) In my simulation it is necessary to add division after random-gamma calculation result. What should I do? Please give some advice to this. We thank you for your cooperation.
set sim precision((number-dead * random-gamma(1 / (S * S))(1 / (T * (S * S)))) / number-dead)3
The following is a popup message when an error occurs.
It is divided by 0.
error while observer running /
called by procedure GOPARALLEL
called by button 'goparallel'