mmm_stats: Retrieve Statistics from a Mixture Markov Model (MMM)
Description
Retrieve Statistics from a Mixture Markov Model (MMM)
Usage
mmm_stats(x, level = 0.05)
# S3 method for tna_mmm
mmm_stats(x, level = 0.05)
# S3 method for mhmm
mmm_stats(x, level = 0.05)
Value
A data.frame with one row per cluster (other than the reference
cluster) and covariate of the membership model, with the columns
cluster, variable, estimate, std_error, ci_lower, ci_upper
(the 1 - level confidence interval), z_value, and p_value.
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.