 Usage:  hrot = denrotp(x {,K {,opt}})  

 

 Input:



  x                      n x 1 vector, the data. 

                         

  K                      string, univariate kernel function on [-1,1] 

                         or Gaussian kernel "gau". The rule-of-thumb is 

                         determined for the product kernel obtained from 

                         K. If K is not given, "qua" is used. 

                         

  opt                    string, if opt equals "robust", a robust estimate 

                         for the standard deviations of the data is used. 

                         

 Output:



  hrot                   scalar, rule-of-thumb bandwidth. 

                         

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

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

