public class Dependent extends Multivariate
upm
, of the input (independent) datum, id, and from an
UnParameterised FunctionModel, upfm
, of the output
(dependent) datum, od, conditional on id.
Also see the fully parameterised Dependent.M
,
and Independent
.Modifier and Type | Class and Description |
---|---|
class |
Dependent.M
A fully parameterised
Dependent Model of
data pairs, 〈id, od〉, made from a Model, im,
of the input (independent) datum, id, and from a FunctionModel ,
fm, of the ouput (dependent) datum, od, conditional upon id. |
UPModel.Est, UPModel.Transform
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
Modifier and Type | Field and Description |
---|---|
UPFunctionModel |
upfm
UnParameterised FunctionModel of id→od.
|
UPModel |
upm
UnParameterised input Model of input datum id.
|
Modifier and Type | Method and Description |
---|---|
UPModel.Est |
estimator(Value ps)
The Estimator's parameter is a pair,
ps = 〈upm's, upfm's〉.
|
Dependent.M |
sp2Model(double m1,
double m2,
Value sps)
Given 2-part message lengths, m1 & m2, and statistical
parameters sps = 〈upm's, upfm's〉,
return a fully parameterised
M Model . |
Value.Tuple |
stats(boolean add,
Value ss0,
Value ss1)
|
Value.Tuple |
stats(Vector ds,
int lo,
int hi)
Given a data-set, ds, return sufficient statistics,
ss = 〈upm's, upfm's〉.
|
int |
width()
Two columns, width = 2.
|
public final UPModel upm
public final UPFunctionModel upfm
public Dependent(Value dp)
public int width()
width
in class Multivariate
public Dependent.M sp2Model(double m1, double m2, Value sps)
M Model
.
"upm's" is the statistical parameter given to upm etc..public Value.Tuple stats(Vector ds, int lo, int hi)
M.stats(,,)
.
More on stats here
.public Value.Tuple stats(boolean add, Value ss0, Value ss1)
public UPModel.Est estimator(Value ps)