Home | Trees | Indices | Help |
|
---|
|
|
|||
|
Density Analyze a density distribution of values. |
||
|
Test Test class |
|
|||
float
|
p_lognormal(x,
alpha,
beta) Get the probability of x from a lognormal density distribution that is described by two parameters alpha and beta. |
||
(float, float)
|
logConfidence(x,
R,
clip=1e-32) Estimate the probability of x NOT beeing a random observation from a lognormal distribution that is described by a set of random values. |
|
|||
|
test = Test()
|
|
Get the probability of x from a lognormal density distribution that is described by two parameters alpha and beta. Alpha and beta are not the usual mean and standard dev of the lognormal distribution itself but are the mean and stdev of the distribution after log-transformation. The two parameters can hence be calculated from n sample values v: alpha = 1/n N.sum( ln(vi) ) beta = N.sqrt( 1/(n-1) N.sum( ln(vi) - alpha )^2 )
|
Estimate the probability of x NOT beeing a random observation from a lognormal distribution that is described by a set of random values. The exact solution to this problem is in Biskit.Statistics.lognormal.
|
|
test
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 22 20:11:38 2006 | http://epydoc.sourceforge.net |