Function (adapted for the discrimination test between bessel and beta - DBB) to run the Expectation-Maximization algorithm for the beta regression.
EMrun_bet_dbb(lam, z, v, mu, epsilon, link.precision)
initial values for the coefficients in lambda related to the precision parameter.
response vector with 0 < z_i < 1.
matrix containing the covariates for the precision submodel. Each column is a different covariate.
mean parameter (vector having the same size of z).
tolerance to controll convergence criterion.
a string containing the link function the precision parameter. The possible link functions for the precision parameter are "identity", "log", "sqrt", "inverse".
Vector containing the estimates for lam in the beta regression.