powered by
Empirical estimator of a discrete function
pEmp(X)
The points of the support of the estimator
The counts of the sample
The normalized counts
A random sample from a discrete probability.
Jade Giguelay
The empirical estimator is defined as \(p(j)=\Sigma_{i=1}^n \bold{1}_{x_j=j}\).
x=rpois(100, lambda=0.3) ptild=pEmp(x)
Run the code above in your browser using DataLab