Making the "then" if If Then Else permanent
Posted: Sun Nov 15, 2009 3:35 am
Hi everyone,
I'm having a bit of trouble with a model with a threshold effect. I want it to return a 0 until a threshold is passed, and then return a 1. Currently I have that as
IF THEN ELSE (Threshold difference<0,0,1)
However, what happens is that once the threshold difference goes back to zero or below, the 0 is reinputted into the variable instead of the 1. Is there a way to structure a statement so that once the threshold is crossed it permanently becomes a 1?
Many thanks,
Brian
I'm having a bit of trouble with a model with a threshold effect. I want it to return a 0 until a threshold is passed, and then return a 1. Currently I have that as
IF THEN ELSE (Threshold difference<0,0,1)
However, what happens is that once the threshold difference goes back to zero or below, the 0 is reinputted into the variable instead of the 1. Is there a way to structure a statement so that once the threshold is crossed it permanently becomes a 1?
Many thanks,
Brian