Generate simulated data from a Poisson factor model with missing values.
generate_count_data_miss(n = 100, p = 50, q = 3, miss_prop = 0.05)A named list with components:
Integer matrix (n x p). Generated data with missing values (NA).
Integer matrix (n x p). Complete data before missingness.
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.
Numeric. Proportion of entries set to missing.
Integer. Number of observations.
Integer. Number of variables.
Integer. True number of latent factors.
Numeric in (0,1). Proportion of missing values (default 0.05).