This is a help function for NMixMCMC
function. If
inity
is not given, it calculates reasonable initial values for
censored observations. If inity
argument is given then it is
checked for consistency and formatted on output.
THIS FUNCTION IS NOT TO BE CALLED BY ORDINARY USERS.
NMixMCMCinity(y0, y1, censor, sd.init,
are.Censored, are.Right, are.Exact, are.Left, are.Interval,
p, n, inity, random=FALSE)
A \(n\times p\) matrix with reasonable initial values for censored observations.
see output from NMixMCMCdata
see output from NMixMCMCdata
see output from NMixMCMCdata
a vector of length \(p\) with initial values for overall standard deviations in each margin
see output from NMixMCMCdata
see output from NMixMCMCdata
see output from NMixMCMCdata
see output from NMixMCMCdata
see output from NMixMCMCdata
dimension of the data
number of observations
a vector (if \(p=1\)) or a \(n\times p\) matrix (if \(p \geq 1\)) of initial values of censored observations to be checked for consistency. If not given then reasonable initials are generated.
logical value. If TRUE
then some randomness is
used when generating initial values.
Arnošt Komárek arnost.komarek@mff.cuni.cz
NMixMCMC
.