NMixMCMC. It computes
estimated posterior predictive cumulative distribution function for each margin.NMixPredCDFMarg(x, ...)## S3 method for class 'default':
NMixPredCDFMarg(x, scale, K, w, mu, Li, Krandom=TRUE, \dots)
## S3 method for class 'NMixMCMC':
NMixPredCDFMarg(x, grid, lgrid=50, scaled=FALSE, \dots)
## S3 method for class 'GLMM_MCMC':
NMixPredCDFMarg(x, grid, lgrid=50, scaled=FALSE, \dots)
NMixMCMC for
NMixPredCDFMarg.NMixMCMC function. An object of class GLMM_MCMC for
NMixPredCDFMarg.GLMM_MCMC function.
A list with the grid values (see below) for
shift and the scale.Krandom$=$FALSE) or a
numeric vector with the chain for the number of mixture components. If x$dim is 1 then grid may be a numeric vector. If
x$dim is higher than then grid must be a
grid if
that is not specified.TRUE, the CDF of shifted and scaled data is
summarized. The shift and scale vector are taken from the
scale component of the object x.NMixPredCDFMarg which has the following components:x1, ...or take names from
grid argument.freqK.1, ..., i.e.,
cdf[[1]]$=$cdf[["1"]] is the predictive
cdf for margin 1 etc.1, .... That is,
cdf[[1]][[1]] $=$ cdf[["1"]][[1]] is the predictive
CDF for margin 1 conditioned by $K=1$,
cdf[[1]][[2]] $=$ cdf[["1"]][[2]] is the predictive
CDF for margin 1 conditioned by $K=2$ etc. Note that cdfK provides some additional information only
when Krandom $=$ TRUE or when x results from
the NMixMCMC call to the reversible jump MCMC.
plot method implemented for the resulting object.plot.NMixPredCDFMarg, NMixMCMC, GLMM_MCMC.