Update the beta weights according to the gradient ascent
FitBeta( beta.init, psi, maxIter = 50, eps = 1e-06, unlinked = NULL, sum.weights )
beta.init | Initial beta weight matrix |
---|---|
psi | Psi matrix, filled with ratios of bivariate probabilities over marginals, which can in the Gaussian case be deduced from the correlation matrix. |
maxIter | Maximum number of iterations |
eps | Precision parameter controlling the convergence of weights beta |
unlinked | An optional vector of nodes which are not linked with each other |
sum.weights | Sum constraint for the weight matrix |
edges_prob: p x p matrix of edges probabilities
edges_weight: p x p matrix of edges weights for any spanning tree
logpY: vector of log-likelihoods
maxIter: final number of iterations EMtree has ran
timeEM: EMtree computation time