Lee,
<snip>
What is the preferred use of these in hansl? I've started using
scalar for all scalar computations (but in any old code I used genr); sometimes I use
series instead of genr to generate new variables. I do realize that series will generate
a series from a scalar.
I don't know about *the* preferred method, but fwiw *my* preference is not to use any
of the prefixes unless I have to or unless I want to make sure I'm getting what I
think I'm getting. Maybe that's because I worked primarily in matlab before
learning gretl. Matlab thinks (almost) everything in sight is a matrix and doesn't
differentiate between scalars, series, or matrices. Maybe my way is too sloppy, but it
works for me (usually).
So for example I'd just write
b = $coeff(income), or
y1 = 80+10*income+u
Another way of saying this is that I'm much more likely to use 'series',
'matrix' or 'scalar' than 'genr', because I know exactly what
I'm getting.
PS