orlitsky: Orlitsky's diminishing attenuation estimator (q2/3).

View source: R/util.R

orlitskyR Documentation

Orlitsky's diminishing attenuation estimator (q2/3).

Description

Orlitsky's diminishing attenuation estimator (q2/3).

Usage

orlitsky(counts)

Arguments

counts

A vector of counts for which to approximate discrete probablities.

Value

A named vector 'p' assigning a probability to each event in data. Those do not sum up to one since there is also a remaining probability to observe a new event given as p(new) = 1 - sum(p).

Examples

 x <- sample(1:10, 100, replace=TRUE)
 p <- orlitsky(x)

Gibbons-Lab/mbtools documentation built on Jan. 28, 2024, 11:08 a.m.