pEmp {pkmon} | R Documentation |
Empirical estimator of a discrete function
Description
Empirical estimator of a discrete function
Usage
pEmp(X)
Arguments
X |
A random sample from a discrete probability. |
Details
The empirical estimator is defined as p(j)=\Sigma_{i=1}^n \bold{1}_{x_j=j}
.
Value
support |
The points of the support of the estimator |
count |
The counts of the sample |
freq |
The normalized counts |
Author(s)
Jade Giguelay
Examples
x=rpois(100, lambda=0.3)
ptild=pEmp(x)
[Package pkmon version 1.1 Index]