summary.lcacov {lcca}R Documentation

Summarize information from latent-class analysis with covariates

Description

Method for summarizing the result from a call to lcacov

Usage


## S3 method for class 'lcacov'
summary(object, show.all = FALSE, show.header = TRUE,
   show.data.model = FALSE, show.fit = TRUE, show.param = TRUE,
   show.se.gamma = FALSE, show.se.rho = FALSE, show.odds = FALSE,
   show.wald.alpha = FALSE, ...)

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

Arguments

object

an object of class "lcacov" which is produced as the result of a call to lcacov; 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 analysis with covariates.

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.gamma

if TRUE, then a table will be printed displaying the standard errors for the estimated average prevalences (marginal gamma's).

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.wald.alpha

if TRUE, then a table will be printed displaying the Wald statistics and significance levels for testing the significance of the effect of each covariate in the presence of the others (Type III).

x

a result from summary.lcacov.

...

additional arguments to be passed to the methods.

Details

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

The result from summary.lcacov is an object of class "summary.lcacov" 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 lcacov object.

Value

The result from summary.lcacov 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

lcacov, permute.class


[Package lcca version 2.0.0 Index]