 Usage:  {a,b} = select(x,y,id,h)  

 

 Input:



  x                      n x M regressor matrix. WARNING: x may not contain a vector of ones ! 

                         

  id                     n x 1 vector containing the estimated index of the first-step selection equation. 

                         

  y                      n x 1 matrix containing n observ. of the dependent variable 

                         

  h                      2 x 1 vector of bandwidth. the first element of h is the bandwidth 

                         used for estimating the intercept coefficient while the second element of h 

                         is the bandwidth used for estimating the slope coefficients. 

                         

 Output:



  a                      scalar estimated intercept coefficient 

                         

  b                      M x 1 vector of estimated slope coefficients 

                         

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

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

