Skip to contents

Retrieve Statistics from a Mixture Markov Model (MMM)

Usage

mmm_stats(x, level = 0.05)

# S3 method for class 'tna_mmm'
mmm_stats(x, level = 0.05)

# S3 method for class 'mhmm'
mmm_stats(x, level = 0.05)

Arguments

x

A mhmm object (from the seqHMM package) or a tna_mmm object built by random_tna_mmm().

level

A numeric value representing the significance level for hypothesis testing and confidence intervals. Defaults to 0.05.

Value

A data.frame object.

See also

Cluster-related functions communities(), group_model(), rename_groups()

Examples

mmm_stats(engagement_mmm)
#>     cluster    variable  estimate std_error   ci_lower ci_upper   z_value
#> 1 Cluster 2 (Intercept) 1.1880881 0.9856987 -0.7438459 3.120022 1.2053258
#> 2 Cluster 3 (Intercept) 0.9495465 2.1560282 -3.2761911 5.175284 0.4404147
#>     p_value
#> 1 0.2280775
#> 2 0.6596368