summary.lcca {lcca}R Documentation

Summarize information from latent-class causal analysis

Description

Method for summarizing the result from a call to lcca

Usage


## S3 method for class 'lcca'
summary(object, show.all = FALSE, show.header = TRUE,
   show.data.model = FALSE, show.fit = TRUE, show.param = TRUE,
   show.se.rho = FALSE, show.odds = FALSE, show.mu = TRUE,
    show.ate = TRUE, ...) 

## S3 method for class 'summary.lcca'
print(x, ...)

Arguments

object

an object of class "lcca" which is produced as the result of a call to lcca; see DETAILS below.

show.all

if TRUE, then all summary information will be printed.

show.header

if TRUE, then a header will be printed identifying the output as results from a latent-class causal analysis.

show.data.model

if TRUE, then a table will be printed summarizing the input variables, sample size, details of the model being fit and the modeling options.

show.fit

if TRUE, then a table will be printed summarizing the basic results of the fitting procedure and model fit statistics.

show.param

if TRUE, then tables will be printed showing the estimated model parameters.

show.se.rho

if TRUE, then a table will be printed displaying the standard errors for the estimated item-response probabilities (rho-parameters).

show.odds

if TRUE, then a table will be printed displaying the exponentiated logistic coefficients (alpha-parameters) which can be interpreted as odds ratios.

show.mu

if TRUE, then a table will be printed displaying the estimated average potential outcomes.

show.ate

if TRUE, then a table will be printed displaying the estimated average treatment effects.

x

a result from summary.lcca.

...

additional arguments to be passed to the methods.

Details

The result from a call to lcca is an object of class "lcca", which is a list containing results from the latent-class causal analysis procedure. The function summary.lcca, which is invoked through the generic method summary, summarizes the information contained in this object.

The result from summary.lcca is an object of class "summary.lcca" which can be displayed or printed via the generic method print.

To change the order of the latent classes in the summary output tables, apply the function permute.class to the lcca object.

Value

The result from summary.lcca is a list that includes all the original components of object plus some additional summary tables that may or may not be printed when the the generic method print is called, depending on the values of show.all, show.data.model, etc.

Author(s)

Joe Schafer

Send questions to mchelpdesk@psu.edu

References

For more information on using this function and other functions in the LCCA package, see the manual LCCA Package for R, Version 1 in the subdirectory doc.

See Also

lcca, permute.class


[Package lcca version 2.0.0 Index]