Home | Trees | Indices | Help |
|
---|
|
object --+ | PosteriorOneDPDF
A data structure representing one parameter in a chain of posterior samples. The Posterior class generates instances of this class for pivoting onto a given parameter (the Posterior class is per-Sampler oriented whereas this class represents the same one parameter in successive samples in the chain).
|
|||
|
|||
|
|||
|
|||
string |
|
||
number |
|
||
number |
|
||
number |
|
||
number |
|
||
undefined |
|
||
undefined |
|
||
|
|||
|
|||
numpy.array |
|
||
|
|||
scipy.stats.kde.gaussian_kde |
|
||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Create an instance of PosteriorOneDPDF based on a table of posterior_samples.
|
Container method. Defined as number of samples. |
Container method . Returns posterior containing sample idx (allows slicing). |
Return the string literal name of the parameter.
|
Return the arithmetic mean for the marginal PDF on the parameter.
|
Return the median value for the marginal PDF on the parameter.
|
Return the standard deviation of the marginal PDF on the parameter.
|
Return the 'standard accuracy statistic' (stacc) of the marginal posterior of the parameter. stacc is a standard deviant incorporating information about the accuracy of the waveform recovery. Defined as the mean of the sum of the squared differences between the points in the PDF (x_i - sampled according to the posterior) and the true value (x_{ m true}). So for a marginalized one-dimensional PDF: stacc = \sqrt{rac{1}{N}\sum_{i=1}^N (x_i-x_{ m true})2}
|
Return the injected value set at construction . If no value was set will return None .
|
Return the trigger values set at construction. If no value was set will return None .
|
Set the injected/real value of the parameter.
|
Set the trigger values of the parameter.
|
Return a 1D numpy.array of the samples.
|
Remove samples from posterior, analagous to numpy.delete but opperates in place.
|
Return a SciPy gaussian_kde (representing a Gaussian KDE) of the samples.
|
Returns the KL divergence between the prior and the posterior. It measures the relative information content in nats. The prior is evaluated at run time. It defaults to None. If None is passed, it just returns the information content of the posterior."
|
Evaluate probability intervals.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 12 01:21:42 2017 | http://epydoc.sourceforge.net |