Sequence Measure for Species Sampling Models
seq_measure(idx, pars, hpars, Pn, Po)
A seq_measure
object for use in the exchangeable sequence
resampling scheme for mixtures.
A unique index for the sequence measure.
A list of parameters used in Pn
and Po
to generate a
sequence.
A list of hyperparameters used to generate pars
.
A function on a sequence length n
and a number of unique values
k
that returns the probability of the next member in the sequence having
a new value.
A function on a sequence length n
, a number of unique values k
,
and the number of values equal to j
, kj
, that returns the probability
of the next member in the sequence having the value j
.
seqre()