public final class PosteriorSummary
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PosteriorSummary(double center,
double lower,
double upper)
Constructs a PosteriorSummary with only given central tendency and upper/lower credible-interval bounds.
|
Modifier and Type | Method and Description |
---|---|
double |
getCenter() |
DecileCollection |
getDeciles()
Gets the
DecileCollection if it was set previously by setDeciles(DecileCollection) . |
double |
getLower() |
double |
getUpper() |
void |
setDeciles(DecileCollection deciles) |
public PosteriorSummary(double center, double lower, double upper)
center
- central tendencylower
- lower credible-interval boundupper
- upper credible-interval boundpublic double getCenter()
public double getLower()
public double getUpper()
public DecileCollection getDeciles()
DecileCollection
if it was set previously by setDeciles(DecileCollection)
.java.lang.IllegalStateException
- if deciles were not set previouslypublic void setDeciles(DecileCollection deciles)