 Usage:  xnew = glmmultshape(x,m,format)  

 

 Input:



  x                      n x r matrix, the predictor variables. x can 

                         be either in matrix format, then r=m*q, i.e. 

                         x consists of q nxm matrices. If x is in panel 

                         format, n=m*k. 

                         

  m                      number of alternatives. 

                         

  format                 either "panel" or "matrix", the format that 

                         the output should have. 

                         

 Output:



  xnew                   reshaped x matrix. 

                         

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

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

