- #1

- 13

- 3

I have been thinking of it for a long time, and I would appreciate suggestions from math experts.

I am working on a simulation of human agents. I want to set up a formula that defines the consumption probability (0,1), which consists of X, a value between 0 and 1, and two positive and negative integer values (0,1). The idea is to combine these variables. If positive influence is high, consumption should increase if negative influence is high, consumption should decrease. X represents personal belief without any influence.

The X and the influences variables are computed differently.

I thought of a weighted sum but that doesn't give the expected output.

Thank you!