For a given data sample, the function gives a summary of the results of five computed values: p.m.f. *f_0*, estimated values *\tilde{f}_n*, *ISE_0*, normalizing constant *C_n* and smoothing parameter *h*; see Kokonendji and Senga Kiessé (2011), and also Zougab et al. (2012).

1 |

`Vec` |
The data sample. |

`ker` |
The kernel function: "dirDU" DiracDU,"bino" Binomial, "triang" Discrete Triangular. |

`h` |
The bandwidth or smoothing parameter. If NULL,it is calculated depending on the value of type_bw. |

`type_bw` |
The technique of bandwidth selection: Bayesian or cross-validation. |

`a` |
The arm in the Discrete Triangular kernel. |

`c` |
The number of categories in DiracDU. |

Returns a list containing:

`n ` |
The number of observations. |

`support_of_f_n` |
The support of the p.m.f. fn. |

`f_0 ` |
The couples (x,f0(x)). |

`f_n ` |
The couples (x,fn(x)). |

`ISE_0 ` |
The integrated square error. |

`C_n ` |
The normalizing constant. |

`h ` |
The bandwith parameter used to compute fn. |

W. E. Wansouwé, C. C. Kokonendji and D. T. Kolyang

Kokonendji, C.C. and Senga Kiessé, T. (2011). Discrete associated kernel method and extensions,
*Statistical Methodology* **8**, 497 - 516.

Zougab, N., Adjabi, S. and Kokonendji, C.C. (2012). Binomial kernel and Bayes local bandwidth in discrete functions estimation.
*Journal of Nonparametric Statistics* **24**, 783 - 795.

1 2 3 4 5 6 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.