public class Independent extends Multivariate
Dependent, and the fully parameterised
Independent.M Model.| Modifier and Type | Class and Description |
|---|---|
class |
Independent.M
A fully parameterised Model of Tuples made from a Tuple of
independent Models by the UnParameterised
Independent Model. |
UPModel.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 | Field and Description |
|---|---|
UPModel[] |
upms
The sub-UPModels making 'this' Independent.
|
| Constructor and Description |
|---|
Independent(Value upms)
Given a Tuple of UnParameterised Models, 'upms',
construct an UnParameterised Model of Tuples —
of multivariate data.
|
| Modifier and Type | Method and Description |
|---|---|
UPModel.Est |
estimator(Value ps)
|
Independent.M |
sp2Model(double m1,
double m2,
Value sps)
Statistical parameter
sps = ⟨upms[0]'s, ... etc.⟩.
|
Value.Tuple |
stats(boolean add,
Value ss0,
Value ss1)
Calls upon the stats(,,) of the
upms[]. |
Value.Tuple |
stats(Vector ds,
int lo,
int hi)
Given a multivariate data-set, ds, return sufficient statistics,
ss, a Tuple of course, one element per sub-
upms. |
int |
width()
The number of variables (columns) and of
upms[]. |
public int width()
upms[].width in class Multivariatepublic Independent.M sp2Model(double m1, double m2, Value sps)
public Value.Tuple stats(Vector ds, int lo, int hi)
upms.
Note that the components of a datum are modelled
independently so an element of ss depends
on just the corresponding column of ds.
May or may not equal Independent.M.stats(Vector,int,int).
More on stats here.public Value.Tuple stats(boolean add, Value ss0, Value ss1)
upms[].
May or may not equal Independent.M.stats(boolean,Value,Value).