IDEAS home Printed from https://ideas.repec.org/a/eee/csdana/v202y2025ics0167947324001403.html
   My bibliography  Save this article

Beta-CoRM: A Bayesian approach for n-gram profiles analysis

Author

Listed:
  • Perusquía, José A.
  • Griffin, Jim E.
  • Villa, Cristiano

Abstract

n-gram profiles have been successfully and widely used to analyse long sequences of potentially differing lengths for clustering or classification. Mainly, machine learning algorithms have been used for this purpose but, despite their predictive performance, these methods cannot discover hidden structures or provide a full probabilistic representation of the data. A novel class of Bayesian generative models designed for n-gram profiles used as binary attributes have been designed to address this. The flexibility of the proposed modelling allows to consider a straightforward approach to feature selection in the generative model. Furthermore, a slice sampling algorithm is derived for a fast inferential procedure, which is applied to synthetic and real data scenarios and shows that feature selection can improve classification accuracy.

Suggested Citation

  • Perusquía, José A. & Griffin, Jim E. & Villa, Cristiano, 2025. "Beta-CoRM: A Bayesian approach for n-gram profiles analysis," Computational Statistics & Data Analysis, Elsevier, vol. 202(C).
  • Handle: RePEc:eee:csdana:v:202:y:2025:i:c:s0167947324001403
    DOI: 10.1016/j.csda.2024.108056
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0167947324001403
    Download Restriction: Full text for ScienceDirect subscribers only.

    File URL: https://libkey.io/10.1016/j.csda.2024.108056?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. P. Damlen & J. Wakefield & S. Walker, 1999. "Gibbs sampling for Bayesian non‐conjugate and hierarchical models by using auxiliary variables," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 61(2), pages 331-344, April.
    2. David L. Olson & Dursun Delen, 2008. "Advanced Data Mining Techniques," Springer Books, Springer, number 978-3-540-76917-0, March.
    3. Rodríguez, Abel & Dunson, David B & Gelfand, Alan E, 2008. "The Nested Dirichlet Process," Journal of the American Statistical Association, American Statistical Association, vol. 103(483), pages 1131-1154.
    4. Bitto, Angela & Frühwirth-Schnatter, Sylvia, 2019. "Achieving shrinkage in a time-varying parameter model framework," Journal of Econometrics, Elsevier, vol. 210(1), pages 75-97.
    5. Annalisa Cadonna & Sylvia Frühwirth-Schnatter & Peter Knaus, 2020. "Triple the Gamma—A Unifying Shrinkage Prior for Variance and Variable Selection in Sparse State Space and TVP Models," Econometrics, MDPI, vol. 8(2), pages 1-36, May.
    6. Teh, Yee Whye & Jordan, Michael I. & Beal, Matthew J. & Blei, David M., 2006. "Hierarchical Dirichlet Processes," Journal of the American Statistical Association, American Statistical Association, vol. 101, pages 1566-1581, December.
    7. Jim E. Griffin & Fabrizio Leisen, 2017. "Compound random measures and their use in Bayesian non-parametrics," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 79(2), pages 525-545, March.
    8. José A. Perusquía & Jim E. Griffin & Cristiano Villa, 2022. "Bayesian Models Applied to Cyber Security Anomaly Detection Problems," International Statistical Review, International Statistical Institute, vol. 90(1), pages 78-99, April.
    9. J. E. Griffin & M. Kolossiatis & M. F. J. Steel, 2013. "Comparing distributions by using dependent normalized random-measure mixtures," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 75(3), pages 499-529, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Antonio Lijoi & Bernardo Nipoti, 2013. "A class of hazard rate mixtures for combining survival data from different experiments," DEM Working Papers Series 059, University of Pavia, Department of Economics and Management.
    2. Marta Catalano & Claudio Del Sole & Antonio Lijoi & Igor Prünster, 2024. "A Unified Approach to Hierarchical Random Measures," Sankhya A: The Indian Journal of Statistics, Springer;Indian Statistical Institute, vol. 86(1), pages 255-287, November.
    3. Jin, Xin & Maheu, John M., 2016. "Bayesian semiparametric modeling of realized covariance matrices," Journal of Econometrics, Elsevier, vol. 192(1), pages 19-39.
    4. J. Griffin, 2011. "Bayesian clustering of distributions in stochastic frontier analysis," Journal of Productivity Analysis, Springer, vol. 36(3), pages 275-283, December.
    5. Yu Bai & Andrea Carriero & Todd E. Clark & Massimiliano Marcellino, 2022. "Macroeconomic forecasting in a multi‐country context," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(6), pages 1230-1255, September.
    6. Martínez-Ovando Juan Carlos & Walker Stephen G., 2011. "Time-series Modelling, Stationarity and Bayesian Nonparametric Methods," Working Papers 2011-08, Banco de México.
    7. Peter Knaus & Sylvia Fruhwirth-Schnatter, 2023. "The Dynamic Triple Gamma Prior as a Shrinkage Process Prior for Time-Varying Parameter Models," Papers 2312.10487, arXiv.org, revised Jan 2025.
    8. Bassetti, Federico & Casarin, Roberto & Leisen, Fabrizio, 2014. "Beta-product dependent Pitman–Yor processes for Bayesian inference," Journal of Econometrics, Elsevier, vol. 180(1), pages 49-72.
    9. Helmut Lutkepohl & Fei Shang & Luis Uzeda & Tomasz Wo'zniak, 2024. "Partial Identification of Heteroskedastic Structural VARs: Theory and Bayesian Inference," Papers 2404.11057, arXiv.org.
    10. Camerlenghi, Federico & Lijoi, Antonio & Prünster, Igor, 2017. "Bayesian prediction with multiple-samples information," Journal of Multivariate Analysis, Elsevier, vol. 156(C), pages 18-28.
    11. François Caron & Emily B. Fox, 2017. "Sparse graphs using exchangeable random measures," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 79(5), pages 1295-1366, November.
    12. Jääskinen Väinö & Parkkinen Ville & Cheng Lu & Corander Jukka, 2014. "Bayesian clustering of DNA sequences using Markov chains and a stochastic partition model," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 13(1), pages 105-121, February.
    13. Sudhir Voleti & Praveen K. Kopalle & Pulak Ghosh, 2015. "An Interproduct Competition Model Incorporating Branding Hierarchy and Product Similarities Using Store-Level Data," Management Science, INFORMS, vol. 61(11), pages 2720-2738, November.
    14. Yong Song & Tomasz Wo'zniak, 2020. "Markov Switching," Papers 2002.03598, arXiv.org.
    15. Leisen, Fabrizio & Lijoi, Antonio, 2011. "Vectors of two-parameter Poisson-Dirichlet processes," Journal of Multivariate Analysis, Elsevier, vol. 102(3), pages 482-495, March.
    16. Jim Griffin & Maria Kalli & Mark Steel, 2018. "Discussion of “Nonparametric Bayesian Inference in Applications”: Bayesian nonparametric methods in econometrics," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 27(2), pages 207-218, June.
    17. Sylvia Fruhwirth-Schnatter & Peter Knaus, 2022. "Sparse Bayesian State-Space and Time-Varying Parameter Models," Papers 2207.12147, arXiv.org.
    18. Bassetti, Federico & Casarin, Roberto & Leisen, Fabrizio, 2011. "Beta-product Poisson-Dirichlet Processes," DES - Working Papers. Statistics and Econometrics. WS 12160, Universidad Carlos III de Madrid. Departamento de Estadística.
    19. Fabrizio Leisen & Antonio Lijoi, 2010. "Vectors of two-parameter Poisson-Dirichlet processes," Quaderni di Dipartimento 119, University of Pavia, Department of Economics and Quantitative Methods.
    20. Minjung Kyung & Jeff Gill & George Casella, 2011. "Sampling schemes for generalized linear Dirichlet process random effects models," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 20(3), pages 259-290, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:csdana:v:202:y:2025:i:c:s0167947324001403. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/csda .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.