To cite package ‘ptcompare’ in publications use: Awaya N, Ma L (2024). “Hidden Markov Polya Trees for High-Dimensional Distributions.” _Journal of the American Statistical Association_, *119*(545), 189-201. doi:10.1080/01621459.2022.2105223 . A BibTeX entry for LaTeX users is @Article{, title = {Hidden Markov Polya Trees for High-Dimensional Distributions}, author = {Naoki Awaya and Li Ma}, journal = {Journal of the American Statistical Association}, year = {2024}, volume = {119}, number = {545}, pages = {189--201}, doi = {10.1080/01621459.2022.2105223}, }