public class Int1 extends Discretes
Int1.M.MML.WallaceInt0, MML.logStar0,
MML.Poisson0 and MML.Geometric0, but Int1
might be useful and does make a simple case study.| Modifier and Type | Class and Description |
|---|---|
class |
Int1.M
A (trivially) fully parameterised model of integers >0 where
pr(n) = 1/(n(n+1)).
|
Discretes.Bounded, Discretes.Shifted, Discretes.UniformUPModel.Est, UPModel.TransformFunction.Native.WithInverseFunction.Cts2Cts, Function.Cts2Cts2Cts, Function.CtsD2CtsD, Function.HasInverse, Function.Native, Function.Native2, Function.Native3Value.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| Modifier and Type | Method and Description |
|---|---|
Int1.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. |
Value |
stats(boolean add,
Value ss0,
Value ss1)
Combine sufficient statisticses 'ss0' and 'ss1' additively
(add=true), or remove ss1 from ss0 (add=false).
|
Value |
stats(Vector ds,
int lo,
int hi)
Sufficient statistics 'ss' are the data-set itself.
|
defnParams, estimator, main, stats, stats, toString, transformpublic Int1(Value dp)
public Value stats(Vector ds, int lo, int hi)
public Value stats(boolean add, Value ss0, Value ss1)
UPModelstats(ds,lo,hi).