public class Multinomial.M.Trials extends UPModel
'n' trials over
'k' categories, of Vectors of 'k' frequencies
f_i, i=0..k-1, that sum to 'n'.
Note that 'Trials' is only a partially implemented model –
just enough for the purposes of Multinomial.| Modifier and Type | Class and Description |
|---|---|
class |
Multinomial.M.Trials.TM
|
UPModel.Est, UPModel.M, 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 |
|---|---|
int |
n
The number of trials, 'n', of the
'k' categories. |
| Constructor and Description |
|---|
Trials(Value n)
'n' is the number of trials. |
| Modifier and Type | Method and Description |
|---|---|
Multinomial.M.Trials.TM |
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)
Not implemented, throw an
RTE! |
Value |
stats(Vector ds,
int lo,
int hi)
Not implemented, throw an
RTE! |
apply, defnParams, estimator, main, stats, stats, toString, transformpublic final int n
'k' categories.public Trials(Value n)
'n' is the number of trials.
This is supplied by Multinomial.M.condModel(la.la.Value).public Multinomial.M.Trials.TM sp2Model(double msg1, double msg2, Value sp)
UPModel