pEmp | R Documentation |
Empirical estimator of a discrete function
pEmp(X)
X |
A random sample from a discrete probability. |
The empirical estimator is defined as p(j)=\Sigma_{i=1}^n \bold{1}_{x_j=j}
.
support |
The points of the support of the estimator |
count |
The counts of the sample |
freq |
The normalized counts |
Jade Giguelay
x=rpois(100, lambda=0.3)
ptild=pEmp(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.