summary.bayesm.nmix {bayesm} | R Documentation |
summary.bayesm.nmix
is an S3 method to display summaries of the distribution implied
by draws of Normal Mixture Components. Posterior means and variance-covariance matrices are
displayed.
Note: 1st and 2nd moments may not be very interpretable for mixtures of normals. This summary function can take a minute or so. The current implementation is not efficient.
## S3 method for class 'bayesm.nmix' summary(object, names, burnin=trunc(0.1*nrow(probdraw)), ...)
object |
an object of class |
names |
optional character vector of names fo reach dimension of the density |
burnin |
number of draws to burn-in (def: 0.1*nrow(probdraw)) |
... |
parms to send to summary |
An object of class bayesm.nmix
is a list of three components:
a matrix of R/keep rows by dim of normal mix of mixture prob draws
not used
list of list of lists with draws of mixture comp parms
Peter Rossi, Anderson School, UCLA, perossichi@gmail.com.
summary.bayesm.mat
, summary.bayesm.var
## Not run: out=rnmix(Data,Prior,Mcmc); summary(out)