summary-methods: Methods for Function summary in Package "bild"

summary-methodsR Documentation

Methods for Function summary in Package "bild"

Description

Summarize objects

Usage

## S4 method for signature 'bild'
summary(object, cov=FALSE, cor=FALSE)

Arguments

object

an object of class bild.

cov

if set to TRUE prints the matrix of covariances between parameters estimates. The default is FALSE.

cor

if set to TRUE prints the matrix of correlations between parameters estimates. The default is FALSE.

Details

Computes and returns a list of summary statistics of the fitted linear model given a bild object, using the components (list elements) "call" and "terms" from its argument, plus depending on the structure of the dependence model chosen, the table for the estimates of coefficients will appear log.psi1 if the dependence structure of the process corresponds to a first-order Markov chain, or both log.psi1 and log.psi2 if the dependence structure of the process corresponds to a second-order Markov chain. log.psi1 is the log-odds ratio between adjacent observations and log.psi2 is the logarithm of conditional odds ratio for observations separated by one time point. If the structure of the dependence model chosen includes the random intercept (models "indR", "MC1R" and "MC2R") the estimate of the random effect (omega) will also appear where \omega=\log\sigma^2.

Methods

signature(object = "ANY"):

Generic function.

signature(object = "bild"):

Prints a summary as an object of class summary.bild, containing information about the matched call to bild, the number of profiles in the data, the number of profiles used in the fit, the log-likelihood, the AIC, a table with estimates, asymptotic SE, t-values and p-values, the estimated correlation and variance-covariance matrix for the estimated parameters if the user wishes, and a message giving additional information returned by the optimizer.


bild documentation built on Nov. 3, 2023, 5:06 p.m.