NMixMCMC. It computes
estimated posterior predictive cumulative distribution function for each margin.
NMixPredCDFMarg(x, ...)
"NMixPredCDFMarg"(x, scale, K, w, mu, Li, Krandom=TRUE, ...)
"NMixPredCDFMarg"(x, grid, lgrid=500, scaled=FALSE, ...)
"NMixPredCDFMarg"(x, grid, lgrid=500, scaled=FALSE, ...)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
NMixPredCDFMarg.default function.
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 list with
numeric vectors as components giving the grids for each margin.
If grid is not specified, it is created automatically using
the information from the posterior summary statistics stored in x.
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.