summary.profLinear: Summarize objects of class 'profLinear'.

Description Usage Arguments Details Value Author(s) References See Also

View source: R/summary.profLinear.R

Description

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

Usage

1
2
## S3 method for class 'profLinear'
summary(object, ...)

Arguments

object

an instance of class profLinear

...

additional arguments (not used)

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.

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

Author(s)

Matt Shotwell <matt.shotwell@vanderbilt.edu>

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


profdpm documentation built on May 1, 2019, 10:25 p.m.