Generate simulated data from covariate-augmented Poisson factor models
gendata_simu(
seed = 1,
n = 300,
p = 50,
d = 20,
q = 6,
rank0 = 3,
rho = c(1.5, 1),
sigma2_eps = 0.1
)
a postive integer, the random seed for reproducibility of data generation process.
a postive integer, specify the sample size.
a postive integer, specify the dimension of count variables.
a postive integer, specify the dimension of covariate matrix.
a postive integer, specify the number of factors.
a postive integer, specify the rank of the coefficient matrix.
a numeric vector with length 2 and positive elements, specify the signal strength of regression coefficient and loading matrix, respectively.
a positive real, the variance of overdispersion error.
return a list including the following components: (1) X, the high-dimensional count matrix; (2) Z, the high-dimensional covriate matrix; (3) bbeta0, the low-rank large coefficient matrix; (4) B0, the loading matrix; (5) H0, the factor matrix; (6) rank: the true rank of bbeta0; (7) q: the true number of factors.
None
None