Description Usage Arguments Value Author(s) References See Also Examples
Estimates the density of a vector of observations by a Poisson regression fit to histogram counts.
1 2 |
x |
a numeric vector containing the observations for which the density should be estimated. |
n.interval |
an integer specifying the number of cells for the histogram.
If |
df |
integer specifying the degrees of freedom of the natural cubic spline used in the Poisson regression fit. |
knots.mode |
if |
type.nclass |
character string specifying the procedure used to compute the
number of cells of the histogram. Ignored if |
addx |
should |
An object of class denspr
consisting of
y |
a numeric vector of the same length as |
center |
a numeric vector specifying the midpoints of the cells of the histogram |
counts |
a numeric vector of the same length as |
x.mode |
the estimated mode |
ns.out |
the output of |
type |
the method used to estimate the numbers of cells |
x |
the input vector |
Holger Schwender,holger.schw@gmx.de
Efron, B., and Tibshirani, R. (1996). Using specially designed exponential families for density estimation. Annals of Statistics, 24, 2431–2461.
Wand, M.P. (1997). Data-based choice of histogram bin width. American Statistician, 51, 59–64.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.