 Usage:  locpol(x, xg, y, h, logi)  

 

 Input:



  x                      n x d matrix explanatory variables 

                         

  xg                     m x d matrix grid points at which the estimation will be done 

                         

  y                      n x q matrix dependent variable 

                         

  h                      d x 1 matrix vector of bandwidthes 

                         

  logi                   logical scalar 0 if linear, 1 if quadratic polynomials are wished 

                         

 Output:



  mh                     m x dd x q matrix regression function and its v'th derivatives 

                         divided by v at xg in the following order: 

                         regression function, 

                         first derivatives respectively x1, x2, x3, ... , 

                         derivatives respectively x1x1, x1x2, ..., x2x2, x2x3, ... 

                         

                         

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

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

