Hi,
I'm trying to incorporate a loss aversion component into my asset pricing model. This requires a function that, I believe, has an if-then statement inside the function. I've searched the user guide and examples but have found none that could help guide me. Would this require an "external" if-then MATLAB code?
Can anybody point me to the right direction?
Thanks, guys.