Generate simulated data from a Poisson factor model.
generate_count_data(n = 100, p = 50, q = 3)A named list with components:
Integer matrix (n x p). Generated Poisson observations.
Integer. True number of factors used in simulation.
Numeric matrix (n x (q+1)). True latent factor scores with intercept.
Numeric matrix (p x (q+1)). True factor loadings.
Integer. Number of observations.
Integer. Number of variables.
Integer. True number of latent factors.