Learn R Programming

profdpm (version 3.3)

summary.profLinear: Summarize objects of class profLinear.

Description

summary.profLinear is an S3 method to summarize objects of the class profLinear.

Usage

"summary"(object, ...)

Arguments

object
an instance of class profLinear
...
additional arguments (not used)

Value

A list of lists, one for each unique cluster, each with the following elements:
groups
The number of observation groups assigned to the corresponding cluster
obs
The number of observations assigned to the corresponding cluster
summary
A data frame containing the estimate and 95% credible limits for each linear coefficient

Details

The summary.profLinear function outputs summary information using the cat and print functions. For each unique value of x$clust, the summary.profLinear function outputs the number of observations, and observation groups assigned to the corresponding cluster. The estimated linear coefficients and their approximate 95% credible intervals are also printed for each cluster. The 95% credible intervals are computed using a Laplace approximation to the marginal posterior distribution for the linear coefficients, conditional on the estimated data partition. See the package vignette for additional information.

References

Matthew S. Shotwell (2013). profdpm: An R Package for MAP Estimation in a Class of Conjugate Product Partition Models. Journal of Statistical Software, 53(8), 1-18. URL http://www.jstatsoft.org/v53/i08/.

See Also

profLinear