paste3.glmpca.glmpca_init
- paste3.glmpca.glmpca_init(Y, fam, sz=None, nb_theta=None)[source]
create the glmpca_family object and initialize the A array (regression coefficients of X) Y is the data (JxN array) fam is the likelihood sz optional vector of size factors, default: sz=colMeans(Y) or colSums(Y) sz is ignored unless fam is 'poi' or 'nb'