Learn R Programming

LongDecompHE (version 0.1.0)

summary.LongDecompHE: Summarizing outputs of a LongDecompHE object

Description

#' This function prints or returns a summary of results from an attribution or decomposition analysis using the LongDecompHE framework.

Usage

# S3 method for LongDecompHE
summary(object, ...)

Value

If the input is an attribution or decomposition object (e.g., from Attribution_sullivan or Decomp_sullivan), the function prints summary tables of contributions to disability and death and returns the object invisibly. Otherwise, it returns a list with model diagnostics including:

  • copula: the copula family used.

  • m.dist: marginal distribution type.

  • summary: coefficient estimates and standard errors.

  • llk: log-likelihood.

  • AIC: Akaike Information Criterion.

  • code: convergence code.

The returned object has class "summary.LongDecompHE".

Arguments

object

a LongDecompHE object

...

further arguments