I want to thank Professor Cottrell for this simple adjustment to my index variable.  It
worked much better than my idea for months appearing as decimals.  
Randy Kesselring
-----Original Message-----
From: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces@lists.wfu.edu] On
Behalf Of Allin Cottrell
Sent: Thursday, February 26, 2015 6:14 PM
To: Gretl list
Subject: Re: [Gretl-users] unbalanced panel data problem
On Thu, 26 Feb 2015, Randy Kesselring wrote:
 At first this seemed a simple problem to me, but I have failed to
find 
 a solution.  I have a very large unbalanced panel data set that I am 
 having difficulty declaring as such.  The data set includes a 
 numerical year variable and a numerical month variable (1-12).  Then, 
 there are a large number of observations whose numbers vary per month.  
 Gretl had no problem reading the data set, but it was read as undated.  
 At first I thought I simply needed a time index that included both the 
 year and month information in a single variable.  So, I created this:  
 series tindex = year + month/100.  This created the expected numerical 
 variable.  But, when I tried to use this as an index variable in the 
 panel data structure declaration, it doesn't show up in the drop down 
 menu. 
Try
tindex = year*100 + month
gretl is expecting an integer-valued index.
Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users