Dear root users,
I need help on using RooKeysPdf to fit data.
1.I m not certain how to find the best smoothing parameter which fits the data.
Is there any technique to find the best smoothing parameter ?

  1. What is the technique used in RooFit (RooKeysPdf) to find the optimum band with for the kernels.



Hi Ayesh,

The default smoothing parameter of rho=1 works fine for most cases. The technique
used to calculate the adaptive kernel width is described in the following article
(which is also listed in the online class doc of RooKeysPdf)

// Cranmer KS, Kernel Estimation in High-Energy Physics.
//Computer Physics Communications 136:198-207,2001 -
// e-Print Archive: hep ex/0011057