EMrun_bes_dbb: EMrun_bes_dbb

Description Usage Arguments Value

View source: R/EM_DBB.R

Description

Function (adapted for the discrimination test between bessel and beta - DBB) to run the Expectation-Maximization algorithm for the bessel regression.

Usage

1
EMrun_bes_dbb(lam, z, v, mu, epsilon, link.precision)

Arguments

lam

initial values for the coefficients in lambda related to the precision parameter.

z

response vector with 0 < z_i < 1.

v

matrix containing the covariates for the precision submodel. Each column is a different covariate.

mu

mean parameter (vector having the same size of z).

epsilon

tolerance to controll convergence criterion.

link.precision

a string containing the link function the precision parameter. The possible link functions for the precision parameter are "identity", "log", "sqrt", "inverse".

Value

Vector containing the estimates for lam in the bessel regression.


bbreg documentation built on Jan. 13, 2021, 8:13 p.m.