Fit the covariate-augmented overdispersed Poisson factor model
a count matrix, the observed count matrix.
an optional vector, the normalization factor for each unit; default as full-one vector.
an optional matrix, the covariate matrix; default as a full-one column vector if there is no additional covariates.
an optional integer, specify the rank of the regression coefficient matrix; default as 5.
an optional string, specify the number of factors; default as 15.
an optional positive vlaue, tolerance of relative variation rate of the envidence lower bound value, defualt as '1e-5'.
the maximum iteration of the VEM algorithm. The default is 30.
a logical value, whether output the information in iteration.
a logical value, whether use the joint optimization method to update bbeta. The default is FALSE
, which means using the separate optimization method.
a logical value, whether use the fast SVD algorithm in the update of bbeta; default is TRUE
.
return a list including the following components: (1) H, the predicted factor matrix; (2) B, the estimated loading matrix; (3) bbeta, the estimated low-rank large coefficient matrix; (4) invLambda, the inverse of the estimated variances of error; (5) H0, the factor matrix; (6) ELBO: the ELBO value when algorithm stops; (7) ELBO_seq: the sequence of ELBO values.
None
None
RR_COAP