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

 

 Input:



  x                      n x p matrix, the data. 

                         

  h                      scalar or p x 1 vector, bandwidth. If not given, 

                         the rule of thumb bandwidth computed by denrotp 

                         is used (Scott's rule of thumb). 

                         

  K                      string, kernel function on [-1,1]^p. If not given, 

                         the product Quartic kernel "qua" is used. 

                         

  v                      m x p, values of the independent variable on 

                         which to compute the regression. If not given, 

                         a grid of length 100 (p=1), length 30 (p=2) 

                         and length 8 (p=3) is used in case of p<4. When 

                         p>=4 then v is set to x. 

                         

 Output:



  fh                     n x (p+1) or m x (p+1) matrix, the first p columns 

                         contain the grid or the sorted x[,1:p], the 

                         second column contains the density estimate 

                         on the values of the first p columns. 

                         

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

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

