Modelling longitudinal polytomous animal data using Bayesian hierarchical models
The analysis of longitudinal categorical data can be complex and unfeasible due to the number of parameters involved, characterised by overparameterisation leading to model non-convergence, in addition to problems related to sample size and the presence or absence of overdispersion. In this context, we adopt the Bayesian hierarchical models as an alternative methodology to classical statistical techniques for analysing nominal polytomous data in longitudinal studies. The theoretical foundation is based on the use of non-informative priors and parameter estimation performed via Markov Chain Monte Carlo (MCMC) methods, which enable a robust and flexible data analysis framework. As a motivating example, the procedure is illustrated through an applied study in agrarian science, focusing on animal welfare, which assessed seven types of behaviours exhibited by pigs over twelve weeks. Model comparison based on the deviance information criterion (DIC) indicated that the model including the sex and enrichment interaction provided the best fit to the data. The results illustrate the applicability of Bayesian hierarchical models for the analysis of longitudinal nominal polytomous data. Since the computational procedures were implemented in the R software and the codes are available, this work will serve as support for those who need such analyses, especially in agricultural designs, where longitudinal categorical data are frequently encountered.
Authors
- Mariana Coelly Modesto Santos Tavares
- Iran José Oliveira da Silva (ORCID: https://orcid.org/0000-0002-4416-8433)
- Maria Letícia Salvador
- Gabriel Rodrigues Palma (ORCID: https://orcid.org/0000-0003-0718-2954)
- Idemauro Antônio Rodrigues de Lara (ORCID: https://orcid.org/0000-0002-1172-9855)
Publication Details
- Journal
- Brazilian Journal of Biometrics
- Published
- 2026-09-30
- DOI
- https://doi.org/10.28951/bjb.v44i3.977
- Primary Topic
- Genetic and phenotypic traits in livestock
- Type
- article
- Field-Weighted Citation Impact
- 0.00