Learn R Programming

SemiMarkov (version 1.4.6)

summary.semiMarkov: Summary method for objects of class semiMarkov

Description

Summary method for objects of class semiMarkov.

Usage

# S3 method for semiMarkov
summary(object, all = TRUE, transitions = NULL, ...)

Arguments

object

An object of class semiMarkov.

all

A logical value indicating if the results should be displayed for all the possible transitions. If set to FALSE, the transitions to be displayed must be specified using the argument transitions. Default is TRUE.

transitions

A vector of characters specifying the transitions to be displayed when the argument all is set to FALSE.

Further arguments for summary.

Value

A list of data frames giving

Transition_matrix

A matrix containing the informations on the model definition : the possible transitions and the distribution of waiting times for each transition (Exponential, Weibull or Exponentiated Weibull).

param.init

Recall the initial values of the parameters. The third column of this object can be used in hazard function.

table.state

A table, with starting states as rows and arrival states as columns, which provides the number of observed transitions between two states. This argument can be used to quickly summarize multi-state data.

Ncens

Number of individuals subjected to censoring.

%\item{Transition.probability}{ % Quadratic matrix giving the estimation of the transition probabilities of the Markov chain. %}

%\item{table.dist}{ %A data frame giving the distribution parameters estimation results. It consists of the estimated values, the standard deviations, the confidence intervals, the Wald test statistics and Wald test p-values. %} %\item{table.coef}{ %A data frame giving the regression coefficients estimation results. It consists of the estimated values, the standard deviations, the confidence intervals, the Wald test statistics and Wald test p-values. % Likelihood ratio statisitc and p-value of Likelihood ratio test. % }

table.param

List of data frames (one for each transition). A data frame includes, for each parameter (distribution parameters, the transition probabilities and the regression coefficients), the estimation, the standard deviation, the lower and upper bounds of confidence interval, the Wald test statistic and Wald test p-value (for the distribution parameters and the regression coefficients).

See Also

semiMarkov, print.semiMarkov