From cottrell@wfu.edu Sat Mar 12 16:50:37 2011 From: Allin Cottrell To: gretl-users@gretlml.univpm.it Subject: Re: [Gretl-users] Threshold VAR: Coding Help Date: Sat, 12 Mar 2011 16:50:36 -0500 Message-ID: In-Reply-To: =?utf-8?q?21700=5F1299964457=5Fp2CLEG5c021904=5FAANLkTi=3DP?= =?utf-8?q?oeaGiRZfod=3D=3Dkypht-2RMvT1Gfen-q3zFMDi=40mail=2Egmail=2Ecom?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5944025103653930038==" --===============5944025103653930038== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Sat, 12 Mar 2011, Henrique Andrade wrote: > *Y(t) = X(t-1) + e1(t); if z(t-d)>=tau* > *Y(t) = X(t-1) + e2(t); if z(t-d)= tau, otherwise 0. In that case something like the following should do it: Allin Cottrell --===============5944025103653930038==--