[Gretl-users] Simple variable generation question

2012-03-07 Thread Data Analytics Corp .
Hi, 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

Re: [Gretl-users] Simple variable generation question

2012-03-07 Thread Allin Cottrell
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

Re: [Gretl-users] Simple variable generation question

2012-03-07 Thread Data Analytics Corp .
Thanks. This will work for my current problem. But what if I have a very large data set and the econ observations are scattered throughout the data set? This won't work. Walt On 3/7/2012 3:54 PM, Allin Cottrell wrote: > On Wed, 7 Mar 2012, Data Analytics Corp. wrote: > >> I have car data tha

Re: [Gretl-users] Simple variable generation question

2012-03-07 Thread Allin Cottrell
On Wed, 7 Mar 2012, Data Analytics Corp. wrote: > Thanks. This will work for my current problem. But what if I have a very > large data set and the econ observations are scattered throughout the data > set? This won't work. Put your string-valued categorical variable somewhere other than th

Re: [Gretl-users] Simple variable generation question

2012-03-07 Thread Data Analytics Corp .
Perfect -- thanks Walt On 3/7/2012 4:23 PM, Allin Cottrell wrote: > On Wed, 7 Mar 2012, Data Analytics Corp. wrote: > >> Thanks. This will work for my current problem. But what if I have a >> very large data set and the econ observations are scattered >> throughout the data set? This won't w