On Wed, 7 Mar 2012, Data Analytics Corp. wrote:
I have car data that I imported from excel. The first column of the
excel worksheet has a car designation label: econ or prestige. The
first 40 observations are econ cars and the next 40 are prestige cars.
In Gretl, the designation appears as a row label. I'd like to subset
the data to model the econ cars. I tried to create a dummy variable,
seg, as
seg = (obs == "econ")
Try seg = (obs < 41)
Allin Cottrell