[Gretl-users] adf test retreival question

Riccardo (Jack) Lucchetti r.lucchetti at univpm.it
Tue May 22 12:35:19 EDT 2007


On Tue, 22 May 2007, Franck Nadaud wrote:

[snip]

> gretl does not excute the commands because it says :
>
> "no formula in given in genr" (translated from french)
>
> I do not understand why it does not work
>
> the code looks like :
>
> adf 1 x1
> genr a=$test
> genr p=$pvalue
> matrix A($i,1)=a
> matrix A($i,2)=p
> adf 1 x2
>
> etc
>

To access matrix elements, you must use square brackets, not round.

A[$i,1] = a

should work just fine.


Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti


More information about the Gretl-users mailing list