public abstract class UPSeriesModel.M extends SeriesModel
UPSeriesModel
.SeriesModel.Analysis
Model.Defaults, Model.Transform
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Constructor and Description |
---|
M(double msg1,
double msg2,
Value sp)
Two-part message length, msg1 and msg2, and statistical
parameter(s), construct a fully parameterised Series Model.
|
Modifier and Type | Method and Description |
---|---|
UPSeriesModel.M |
asGiven(double msg2)
Calls
asGiven(0,msg2) . |
UPSeriesModel.M |
asGiven(double msg1,
double msg2)
Enables setting the first- and second-part message lengths, msg1
and msg2, after having estimated the statistical parameter(s),
say.
|
Value |
stats(boolean add,
Value ss0,
Value ss1)
Use the enclosing UPSeriesModel's
stats(add,ss0,ss1)
to combine statisticses ss0 and ss1. |
Value |
stats(Vector ds,
int lo,
int hi)
Use the enclosing UPSeriesModel's
stats(ds,lo,hi) to return
statistics of elements [lo, hi) of data-set 'ds'. |
java.lang.String |
toString()
Return a String representation of 'this' SeriesModel.
|
analysis, asUPModel, nlPr
asEstimator, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, nlLH, pr, random, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
public M(double msg1, double msg2, Value sp)
public Value stats(Vector ds, int lo, int hi)
stats(ds,lo,hi)
to return
statistics of elements [lo, hi) of data-set 'ds'.
This is often, but not always, valid;
more on stats here
.public Value stats(boolean add, Value ss0, Value ss1)
stats(add,ss0,ss1)
to combine statisticses ss0 and ss1. This is often,
but not always, valid.public UPSeriesModel.M asGiven(double msg2)
asGiven(0,msg2)
.asGiven
in class SeriesModel
public UPSeriesModel.M asGiven(double msg1, double msg2)
asGiven(msg2)
.asGiven
in class SeriesModel