Example of estimation of a STAR Model.
This is based on example 3 from Terasvirta(1994), "Specification, Estimation and Evaluation of Smooth Transition Autoregressive Models", JASA, vol 89, pp 208-218.