On Wed, 7 Jan 2015, Clive Nicholas wrote: > -gretl- 1.9.92, Kubuntu 14.10 Plasma 4 > > On 7 January 2015 at 17:51, Allin Cottrell <cottrell(a)wfu.edu> wrote: > > [...] > > <hansl> >> open data4-1 >> list L = sqft price >> series x = L[1] >> print sqft x --byobs >> ols L[2] 0 L[1] >> matrix m = L >> printf "The series at position 1 in L has ID %d\n", m[1] >> </hansl> >> > > [...] > > Produces an error for me when I run it: > > ? ols L[2] 0 L[1] > 'L[2]' is not the name of a variable > > Error executing script: halting
Right, that won't work with gretl 1.9.92. The syntax is new in gretl CVS. Allin Cottrell
