From ignacio.diaz-emparanza@ehu.es Mon Feb 15 12:38:29 2010 From: Ignacio Diaz-Emparanza To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] ema, obs and optional parameter Date: Mon, 15 Feb 2010 18:38:28 +0100 Message-ID: <1266255508.2263.17.camel@U001082.ehu.es> In-Reply-To: 1266227865.2244.34.camel@U001082.ehu.es MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7665741443736347372==" --===============7665741443736347372== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit El lun, 15-02-2010 a las 10:57 +0100, Ignacio Diaz-Emparanza escribió: > El vie, 12-02-2010 a las 13:44 -0500, Allin Cottrell escribió: > > On Fri, 12 Feb 2010, Ignacio Diaz-Emparanza wrote: > > > > > With periodicity ($pd)> 1 (quarterly or monthly data,..) > > > y[1] is refering to the first observation of the series, > > > but with annual data it is refering to the observation of year '1'. > > > > Duh, sorry, I wasn't paying enough attention. I'll think about it, > > but here's a quick work-around: > > > > > > > > Allin > > Oh, yes it works ! I did not try with 't' because I thought it was an > alias of 'obs', given the explanation in the function reference: > Sorry I am seeing I was absolutely confused about that. I didn't notice that you were using a loop in 't'. In general in genr commands really 't' is an alias of 'obs'. So the problem persists also with 't'. -- Ignacio Diaz-Emparanza DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA) UPV/EHU Avda. Lehendakari Aguirre, 83 | 48015 BILBAO T.: +34 946013732 | F.: +34 946013754 www.ea3.ehu.es --===============7665741443736347372==--