Calculates the maximum likelihood estimates of the parameters for the
mutlinomial logit-Normal distribution under various values
of the penalization parameter lambda. Parameter lambda controls
the sparsity of the covariance matrix Sigma, and penalizes the false
large correlations that may arise in high-dimensional data.
The MLE estimates of y for each element lambda of lambda.gl, (est);
the value of the estimates which produce the minimum EBIC, (est.min);
the vector of lambdas used for graphical lasso, (lambda.gl); the index of
the minimum EBIC (extended Bayesian information criterion), (min.idx);
vector containing the EBIC for each lambda, (ebic).
Arguments
y
Matrix of counts; samples are rows and features are columns.
max.iter
Maximum number of iterations
max.iter.nr
Maximum number of Newton-Raphson iterations
tol
Stopping rule
tol.nr
Stopping rule for the Newton Raphson algorithm
lambda.gl
Vector of penalization parameters lambda, for the graphical lasso penalty
lambda.min.ratio
Minimum lambda ratio of the maximum lambda,
used for the sequence of lambdas
n.lambda
Number of lambdas to evaluate the model on
n.cores
Number of cores to use (for parallel computation)
gamma
Gamma value for EBIC calculation of the log-likelihood