-gretl- 1.9.92, Kubuntu 14.10 Plasma 4

On 7 January 2015 at 17:51, Allin Cottrell <cottrell@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

--
Clive Nicholas

"My colleagues in the social sciences talk a great deal about methodology. I prefer to call it style." -- Freeman J. Dyson