summary.BMRMM {BMRMM}R Documentation

Summary Method for Objects of Class BMRMM

Description

Summarizing an object of class BMRMM, including results for transition probabilities and duration times, if applicable.

Usage

## S3 method for class 'BMRMM'
summary(object, delta = 0.02, digits = 2, ...)

Arguments

object

an object of class BMRMM.

delta

threshold for the null hypothesis for the local tests of transition probabilities (see Details). Default is 0.02.

digits

integer used for number formatting. Default is 2.

...

further arguments for the summary function.

Details

We give more explanation for the global tests and local tests results.

Value

An object of class BMRMMsummary with the following elements:

trans.global global test results for transition probabilities (see Details).
trans.probs.mean mean for the posterior transition probabilities.
trans.probs.sd standard deviation for the posterior transition probabilities.
trans.local.mean.diff the absolute difference in transition probabilities for a pair of covariate levels (see Details).
trans.local.null.test probability for the null hypothesis that the difference between two covariate levels is not significant (see Details).
dur.global global test results for duration times (see Details).
dur.mix.params mixture parameters taken from the last MCMC iteration if duration times follow a mixture gamma distribution.
dur.mix.probs mixture probabilities for each covariate taken from the last MCMC iteration if duration times follow a mixture gamma distribution.

See Also

plot.BMRMMsummary for plotting the summary results.

Examples

results <- BMRMM(foxp2sm, num.cov = 2, simsize = 50, 
                 cov.labels = list(c("F", "W"), c("U", "L", "A")),
                 duration.distr = list('mixgamma',shape=rep(1,3),rate=rep(1,3)))
sm <- summary(results)
sm


[Package BMRMM version 1.0.1 Index]