[Gretl-users] Problem with series...

Allin Cottrell cottrell at wfu.edu
Tue May 20 08:55:32 EDT 2008


On Tue, 20 May 2008, Mariusz Doszy? wrote:

> I've got identity matrix D=I(16,16) and can't create series from 
> columns by means of (for example) such a command: series 
> d1=D[,1]. I've got data file with 16 observations (spatial data) 
> and using Gretl 1.7.2 (Windows version)... Thanks for help...

You should be able to create a series from a column of D, provided 
the length of your data set is 16 (or the length of the current 
sample is 16):

<script>
nulldata 16
matrix D = I(16)
series d1 = D[,1]
print d1 -o
</script>

The above does the right thing here.  It's possible there was a 
problem in 1.7.2 that prevented this.  Right now I'd recommend
using the CVS build of 1.7.4/1.7.5:

http://ricardo.ecn.wfu.edu/pub/gretl/gretl_install.exe

Allin Cottrell


More information about the Gretl-users mailing list