|
SSJ V. 1.2.5. |
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
StatProbe | The objects of this class are statistical probes or collectors, which are elementary devices for collecting statistics. |
Tally | This type of statistical collector takes a sequence of real-valued observations and can return the average, the variance, a confidence interval for the theoretical mean, etc. |
TallyStore | This class is a variant of Tally , but for which the individual
observations are stored in a list implemented as a
DoubleArrayList . |
This package provides elementary tools for collecting statistics and computing
confidence intervals. The base class
StatProbe
implements common methods needed for all probes.
Its extension class Tally
collects data as a sequence of observations
X1, X2,..., and computes
sample averages, sample standard deviations and confidence intervals
based on the normality assumption.
The class TallyStore
is
similar, but it also stores the individual observations in a list
implemented as a DoubleArrayList
.
This permits one to compute more quantities and to use the methods
provided by COLT for computing descriptive statistics.
The class Accumulate
computes integrals and averages with respect to time.
This class is in package simevents because its operation depends
on the simulation clock.
All classes in this package extend the
Observable
class of Java, which provides
the basic support for the observer design pattern, well-known
in software engineering.
This pattern facilitates the separation of data generation (by the
simulation program) from data processing (for statistical reports and
displays). This can be very helpful in particular in large simulation
programs or libraries, where different objects may need to process
the same data in different ways.
An Observable object in Java maintains a list of registered
Observer objects, and broadcasts information to all its registered
observers whenever appropriate. For the
StatProbe
class,
this happens whenever a new observation is given to the probe.
Any object that implements the interface Observer
can register as an observer.
|
SSJ V. 1.2.5. |
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |