 Usage:  hrot = lpregrot(x {,p})  

 

 Input:



  x                      n x 2 vector, the data. 

                         

  p                      odd integer <=7, order of polynomial. If not 

                         given, p=1 (local linear) is used. 

                         

 Output:



  hrot                   scalar, rule-of-thumb bandwidth. 

                         

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

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

