D
- a Distribution derived instance which represents the assumed distribution for the estimatepublic abstract class Estimate<D extends Distribution> extends RandomVariable<D>
Modifier and Type | Class and Description |
---|---|
static class |
Estimate.EstimatorType
The type of estimator.
|
Modifier and Type | Field and Description |
---|---|
protected Estimate.EstimatorType |
estimatorType |
protected java.util.List<java.lang.String> |
rowIndex |
Modifier | Constructor and Description |
---|---|
protected |
Estimate(D distribution) |
Modifier and Type | Method and Description |
---|---|
abstract ConfidenceInterval |
getConfidenceIntervalBounds(double oneMinusAlpha)
This method returns the probability of getting a lower valueand upper bound of a confidence intervals at probability
level 1 - alpha
|
Estimate<?> |
getDifferenceEstimate(Estimate<?> estimate2)
This method returns an difference estimate.
|
Estimate.EstimatorType |
getEstimatorType()
This method returns the type of the estimator.
|
Estimate<?> |
getProductEstimate(double scalar)
This method returns an difference estimate.
|
SimpleEstimate |
getProductEstimate(Estimate<?> estimate)
Returns an estimate of the product of two parametric univariate estimate.
|
static SimpleEstimate |
getProductOfManyEstimates(java.util.List<Estimate> estimates) |
Matrix |
getRandomDeviate()
This method returns a random deviate from this estimate.
|
java.util.List<java.lang.String> |
getRowIndex()
This method returns the row index.
|
Estimate<?> |
getSumEstimate(Estimate<?> estimate2)
This method returns a sum of two estimates.
|
protected boolean |
isMergeableEstimate(Estimate<?> estimate)
This method checks if the two point estimates are compatible.
|
void |
setRowIndex(java.util.List<java.lang.String> rowIndex)
This method makes it possible to set an optional row index.
|
getDistribution, getMean, getVariance
protected Estimate.EstimatorType estimatorType
protected java.util.List<java.lang.String> rowIndex
protected Estimate(D distribution)
public Estimate.EstimatorType getEstimatorType()
public void setRowIndex(java.util.List<java.lang.String> rowIndex)
rowIndex
- a List of String instancepublic java.util.List<java.lang.String> getRowIndex()
public Matrix getRandomDeviate()
public Estimate<?> getDifferenceEstimate(Estimate<?> estimate2)
estimate2
- an Estimate to be subtracted from this estimate.public Estimate<?> getSumEstimate(Estimate<?> estimate2)
estimate2
- an Estimate to be added to this estimate.public Estimate<?> getProductEstimate(double scalar)
scalar
- a double to be multiplied by this estimatepublic abstract ConfidenceInterval getConfidenceIntervalBounds(double oneMinusAlpha)
oneMinusAlpha
- is 1 minus the probability of Type I errorprotected boolean isMergeableEstimate(Estimate<?> estimate)
estimate
- public SimpleEstimate getProductEstimate(Estimate<?> estimate)
estimate
- an Estimate instancepublic static SimpleEstimate getProductOfManyEstimates(java.util.List<Estimate> estimates)