 Usage:  {zlag}=panlag(z,a, {T})  

 

 Input:



  z                      NT x {2+} + k Matrix 

                         

  T                      Number of time periods for a BALANCED Dataset. 

                         Optional, only for a Dataset with the same T 

                         for all Individuals = BALANCED PANEL 

                         

  a                      parameter used to compute y(i,t)=(1-a)*z(i,t)+a*z(i,t-1). 

                         a=0: No lag but truncation of the first observation 

                         a=1; Lag with truncation of the last observation 

                         

                         

 Output:



  zlag                   output matrix with lagged (truncated) observations. 

                         For unbalanced data: First two columns are the adapted 

                         indices for the individuals and time periods. 

                         

--------------------------------------------------------------

(C) MD*TECH Method and Data Technologies, 21.9.2000

