SSJ
3.3.1
Stochastic Simulation in Java
|
ANOVA variance estimator. More...
Public Member Functions | |
MonteCarloModelDouble | getModel () |
double | getApproximateMean () |
void | setModel (MonteCarloModelDoubleRQMC model, double approxMean) |
Integrator | getIntegrator () |
void | setIntegrator (RandomIntegrator integrator) |
Sets the integrator. More... | |
List< CoordinateSet > | getCoordinateSets () |
Returns the list of coordinate sets under consideration. | |
void | setCoordinates (List< CoordinateSet > coordSets) |
Set the coordinate sets to consider to coordSets . | |
void | setCoordinates (CoordinateSet coords) |
Set the coordinate sets to consider to all non-empty subsets of coords . | |
void | setCoordinates (CoordinateSet coords, int maxOrder) |
Set the coordinate sets to consider to all non-empty subsets of coords , up to cardinality maxOrder . | |
void | simulate (RandomStream stream) |
Simulates the model once. More... | |
double [] | getPerformance () |
Recovers and returns the realization of the performance measure, of type E. | |
int | getDimension () |
Returns the number of dimensions for the input. | |
String | toString () |
Returns a description of the partial variance estimator. | |
Protected Attributes | |
PartialVarianceEstimator | varEstimator |
RandomIntegrator | integrator |
Package Attributes | |
double [] | vars = null |
ANOVA variance estimator.
Estimates the partial variances of multiple coordinate sets using the PartialVarianceEstimator class.
void setIntegrator | ( | RandomIntegrator | integrator | ) |
Sets the integrator.
The integrator must provide twice the dimension of the model.
void simulate | ( | RandomStream | stream | ) |
Simulates the model once.
Returns vars
such that:
vars.length
is coordSets.size()
+ 2. vars
[nSets
] contains the correction to the approximate mean. vars
[nSets+1
] contains the total variance. Implements MonteCarloModel< E >.