Description Usage Arguments Details Value Author(s) References See Also Examples
Given a sample X, builds the family of regular histograms using the procedure described in the 'histogram' package.
1 | TBuildRegularHisto(X, n = length(X), Dmax = NULL, Dtab = NULL)
|
X |
numeric vector. The sample to build the regular histograms. |
n |
size of the sample. |
Dmax |
maximum number of bins. If NULL (default) Dmax=ceiling(n/log(n)). |
Dtab |
vector of number of bins. If NULL (default) Dtab=1:Dmax. |
We refer to the 'histogram' package for more details about the different options available.
TBuildRegularHisto returns a list with components:
f |
gives the explicit expression of the corresponding density function, |
cuts |
gives the vector of break points (the same as breaks in histo), |
descript |
list containing:
|
Nelo Magalhães and Yves Rozenholc.
'histogram' R-package: http://cran.r-project.org/web/packages/histogram/index.html
Y. Rozenholc, T. Mildenberger and U. Gather: "Combining Regular and Irregular Histograms by Penalized Likelihood", Computational Statistics and Data Analysis, 54(12), 3313-3323 (2010).
N. Magalhães and Y. Rozenholc, "A non-combinatorial algorithm for T-estimation", (2014).
DensityTestim
, TBuildList
, TBuildIrregularHisto
, TBuildKernel
, TBuildParametric
1 2 3 4 5 | ## Not run:
## build regular histograms for a sample of the lognormal density:
TBuildRegularHisto(X=rlnom(1000))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.