Home | Trees | Indices | Help |
|
---|
|
object --+ | ProbDistI --+ | LidstoneProbDist
The Lidstone estimate for the probability distribution of the
experiment used to generate a frequency distribution. The Lidstone
estimate
is paramaterized by a real number gamma, which typically ranges from 0 to 1. The Lidstone
estimate approximates the probability of a sample with count c from an experiment with N outcomes
and B bins as (c+gamma)/(N+B*gamma). This is equivalant to adding gamma to the count for each bin, and taking the maximum
likelihood estimate of the resulting frequency distribution.
|
|||
|
|||
FreqDist
|
|
||
float |
|
||
any |
|
||
list
|
|
||
float
|
|
||
string
|
|
||
Inherited from Inherited from |
|
|||
SUM_TO_ONE = False True if the probabilities of the samples in this probability distribution will always sum to one. |
|
|||
Inherited from |
|
Use the Lidstone estimate to create a probability distribution for the
experiment used to generate
|
|
|
|
|
|
repr(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:56 2008 | http://epydoc.sourceforge.net |