To cite hdpGLM in publications use:

Ferrari D (2020). “Hierarchial Dirichlet Process Generalized Linear Mixed Model (hdpGLM).” Political Analysis, 1(28), 20-46. https://doi.org/10.1017/pan.2019.13.

Corresponding BibTeX entry:

  @Article{,
    title = {Hierarchial Dirichlet Process Generalized Linear Mixed
      Model (hdpGLM)},
    author = {Diogo Ferrari},
    journal = {Political Analysis},
    year = {2020},
    volume = {1},
    number = {28},
    pages = {20-46},
    url = {https://doi.org/10.1017/pan.2019.13},
  }