summary.norm {norm2} | R Documentation |
Method for summarizing the results from a call to the functions
emNorm
or mcmcNorm.
## S3 method for class 'norm' summary(object, show.variables = (object$method == "EM"), show.patterns = (object$method == "EM"), show.params = (object$method =="EM"), ...) ## S3 method for class 'summary.norm' print(x, ...)
object |
an object of class |
show.variables |
if |
show.patterns |
if |
show.params |
if |
x |
a result from |
... |
values to be passed to the methods. |
The result from a call to emNorm
or mcmcNorm
is an object of
class "norm"
, which is a list containing results from the EM
or MCMC run. The function summary.norm
, which is
invoked through the generic method summary
, summarizes the
information contained in this object.
The result from summary.norm
is an object of
class "summary.norm"
which can be displayed or printed via
the generic method print
.
A list that includes all
the original components of obj
plus some additional summaries
that are printed via a call to the generic method print
.
These include:
x.table |
a summary of all variables appearing in the model as predictors or covariates. |
y.table |
a summary of all variables appearing in the model as responses or outcomes. |
em.summary |
a summary of the results from the EM run, including: the number of iterations; whether EM converged; and an empirical estimate of the rate of convergence which estimates the worst fraction of missing information. |
mcmc.summary |
a summary of the results from the MCMC run, including: the number of iterations; whether imputations were created and, if so, how many; and whether parameter series were saved. |
Joe Schafer Joseph.L.Schafer@census.gov
For more information about this function and other functions in
the norm2
package, see User's Guide for norm2
in the library subdirectory doc
.
## run EM for cholesterol data and summarize data(cholesterol) emResult <- emNorm(cholesterol) summary(emResult) ## run MCMC starting from the ML estimates and summarize mcmcResult <- mcmcNorm(emResult) summary(mcmcResult)