Page 1 of 1

Making the "then" if If Then Else permanent

Posted: Sun Nov 15, 2009 3:35 am
by bhoule
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

Posted: Sun Nov 15, 2009 8:24 am
by Administrator
Will SAMPLE IF TRUE do the job?

Tony.

permanent if the else

Posted: Sun Nov 15, 2009 10:31 am
by LAUJJL
Hi

Here is joined a model that does the same thing that the sample if true without using it and is eventually easier to understand.
Regards.
JJ

Posted: Sun Nov 15, 2009 8:58 pm
by bhoule
Many thanks to both of you for your prompt and helpful replies, I think both of these should do the trick!

Best,
Brian