public abstract class UPModel.Est extends Estimator
UnParameterised
Model. Hopefully it is
instantiated in a particular UPModel.Function.Native.WithInverse
Function.Cts2Cts, Function.Cts2Cts2Cts, Function.CtsD2CtsD, Function.HasInverse, Function.Native, Function.Native2, Function.Native3
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 |
---|
Est(Value ps)
Given parameter 'ps', possibly trivial, construct an
Estimator of fully parameterised
M-Models . |
Modifier and Type | Method and Description |
---|---|
Value |
defnParams()
Return the enclosing UPModel's problem defining parameters,
UPModel.this.
defnParams() . |
Model |
sp2Model(double m1,
double m2,
Value sp)
Given part 1 and part 2 message lengths, m1 and m2, and
statistical parameter(s), sp, return the fully parameterised Model
UPModel.this.
sp2Model(m1,m2,sp) . |
Value |
stats(boolean add,
Value ss0,
Value ss1)
Return
UPModel's
stats(add,ss0,ss1) . |
Value |
stats(Vector ds,
int lo,
int hi)
Given a data-set ds and element bounds
[lo, hi), return sufficient statistics by calling the
enclosing
UPModel's
stats(ds,lo,hi) ,
for use in ss2Model(ss) , say. |
java.lang.String |
toString()
Return a String representation of 'this' Estimator.
|
apply, asUPModel, ds2Model, ds2ModelSp, ss2Model, ss2ModelSp, stats, stats
public Value defnParams()
defnParams()
.defnParams
in class Estimator
public final Model sp2Model(double m1, double m2, Value sp)
sp2Model(m1,m2,sp)
.public final Value stats(Vector ds, int lo, int hi)
UPModel's
stats(ds,lo,hi)
,
for use in ss2Model(ss)
, say.public Value stats(boolean add, Value ss0, Value ss1)
UPModel's
stats(add,ss0,ss1)
.