public class NearInverse extends Continuous
NearInverse.M
.Modifier and Type | Class and Description |
---|---|
class |
NearInverse.M
The fully parameterised NearInverse Model of positive reals.
|
Continuous.Bounded, Continuous.Transform, Continuous.Uniform
UPModel.Est
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 |
---|
NearInverse(Value t) |
Modifier and Type | Method and Description |
---|---|
NearInverse.M |
sp2Model(double msg1,
double msg2,
Value sp)
Given two-part message lengths msg1 & msg2, and statistical
parameter sp, return a fully parameterised
M-Model . |
Vector |
stats(boolean add,
Value ss0,
Value ss1)
Combine sufficient statisticses 'ss0' and 'ss1' additively
(add=true), or remove ss1 from ss0 (add=false).
|
Vector |
stats(Vector ds,
int lo,
int hi)
Sufficient statistics,
|
transform
apply, defnParams, estimator, main, stats, stats, toString, transform
public NearInverse(Value t)
public Vector stats(Vector ds, int lo, int hi)
here
.public Vector stats(boolean add, Value ss0, Value ss1)
UPModel
stats(ds,lo,hi)
.public NearInverse.M sp2Model(double msg1, double msg2, Value sp)
UPModel
M-Model
.
If 'this' UPModel produces a Model m, then
sp2Model(m.msg1(), m.msg2(), m.statParams())
must be equivalent to m. Also see apply(sp)
.sp2Model
in class Continuous