This latest installment of the draft of the 2nd edition of the RATS Programming Manual adds Chapter 5 on "Standard Programming Structures". This includes DO loops, IF-ELSE blocks and WHILE and UNTIL loops. The principal example is a threshold autoregression done first using a fairly inflexible (first "draft") calculation, and then a more flexible coding that uses more advanced programming features like EQUATIONS.
The zip file includes all examples, not just from chapter 5, but from all previous ones.
RATS Programming Manual, Installment 4
Moderator: TomDoan