 Usage:  fh = denest(x {,h {,K} {,d} })  

 

 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. 

                         

  d                      scalar, discretization binwidth. d must be smaller 

                         than h. If not given, the minimum of h/3 and 

                         (max(x)-min(x))/100 is used. 

                         

 Output:



  fh                     m x 2 matrix, the first column is a grid and the 

                         second column contains the density estimate on 

                         that grid. 

                         

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

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

