I construct the function but not fully sure if it is the best way to put all the variables together. I am building a simulation and trying to model human decisions but my model is very simple. The function is above with the question. x and y represent positive and negative personal experiences...
Hi,
I have the following function, which is computed by: (x+n)/(x+y+n+m),
where x, y are real numbers
n, m are natural numbers
What techniques I can use to smooth the function preventing it to jump up or down at an early stage.
I would appreciate your suggestion.
Thanks
Hi,
I am looking for changing the logit f(z) = 1/(1+exp(-z)), where z range is [-inf,+inf]. I want to adapt it as follows:
if z > 0.5 then f > 0.5
z < 0.5 then f < 0.5
Thanks
Thanks all. I think I would like to do something that can't be done using the ratio. The idea is to generate two values (P,N) between 0 and 1. If x is high P increases, and if y is high N increases. Where x and y >= 0.
I will try P=x/(1+x) and N = y/(1+y)
Hi,
There are two variables x and y. I compute a proportion of the x as x/(x+y), and the proportion of y as y/(x+y). I want to emphasize more on the amount of x or y. If x is high then the proportion should be high.
Using the above formulas if x=4229, y= 80, then x proportion = 0.981, when...
Thank you @pbuk, for your answer!. I noticed that the weighted sum doesn't give what I expect. I don't have data but just some intuition. For example consumption = w1*X +w2 * Infpositive - w2 * infnegative.
I assume w1 should not be too small(> 0.5). I found that using the weighted sum can't...
Hello,
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...