 Usage:  fh = denxest(x {,h {,K} {,v} })  

 

 Input:



  x                      n x 1 vector, the data. 

                         

  h                      scalar, bandwidth. If not given, the rule of 

                         thumb bandwidth computed by denrot is used 

                         (Silverman's rule of thumb). 

                         

  K                      string, kernel function on [-1,1] or Gaussian 

                         kernel "gau". If not given, the Quartic kernel 

                         "qua" is used. 

                         

  v                      m x 1, values of the independent variable on 

                         which to compute the density estimate. If not given, 

                         x is used. 

                         

 Output:



  fh                     n x 2 or m x 2 matrix, the first column is the 

                         sorted first column of x or the sorted v, the 

                         second column contains the density estimate on 

                         on the values of the first column. 

                         

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

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

