Determining the Number of Factors in Poisson Factor Models via Thinning Cross-Validation

Implements methods for selecting the number of factors in Poisson factor models, with a primary focus on Thinning Cross-Validation (TCV). The TCV method is based on the 'data thinning' technique, which probabilistically partitions each count observation into training and test sets while preserving the underlying factor structure. The Poisson factor model is then fit on the training set, and model selection is performed by comparing predictive performance on the test set. This toolkit is designed for researchers working with high-dimensional count data in fields such as genomics, text mining, and social sciences. The data thinning methodology is detailed in Dharamshi et al. (2025) and Wang et al. (2025) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tcv")

0.1.0 by Zhijing Wang, a year ago


https://github.com/Wangzhijingwzj/tcv


Report a bug at https://github.com/Wangzhijingwzj/tcv/issues


Browse source code at https://github.com/cran/tcv


Authors: Zhijing Wang [aut, cre] , Heng Peng [aut] , Peirong Xu [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports stats, GFM, countsplit, irlba

Suggests knitr, rmarkdown, testthat

Linking to Rcpp, RcppArmadillo

System requirements: C++17


See at CRAN