Learn R Programming

tcv (version 0.1.0)

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

Description

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) .

Copy Link

Version

Install

install.packages('tcv')

Monthly Downloads

92

Version

0.1.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Zhijing Wang

Last Published

September 23rd, 2025

Functions in tcv (0.1.0)

multiDT

Perform Thinning Cross-Validation to Select Factor Number
add_identifiability

Enforce Identifiability Constraints on Factor Model Components
chooseFacNumber_ratio

Estimating the Number of Factor by Eigenvalue Ratio of Natural Parameter Matrix in Generalized Factor Model.