This repository contains a coding example and documentation to partially reproduce the results of "Mildiner Moraga, S. and Aarts, E. A Bayesian multilevel hidden Markov model with Poisson-lognormal emissions for intense longitudinal count data. Accessible at arXiv, 2024 Mar, doi: https://doi.org/10.48550/arXiv.2403.12561".
data: contains the empirical data.outputs: contains the intermediate model outputs.
To reproduce the results of the study, follow these steps:
- Download the repository and open the R project
coding_example.Rproj. - Modify and run
analysis.qmd, or alternatively, inspectanalysis.html.
For any further questions, please contact s.mildinermoraga@uu.nl or smildiner@gmail.com.