Qf_bet_dbb {bbreg}R Documentation

Qf_bet_dbb

Description

Q-function related to the beta model. This function was adapted for the discrimination test between bessel and beta (DBB) required in the Expectation-Maximization algorithm.

Usage

Qf_bet_dbb(lam, phiold, z, v, mu, link.precision)

Arguments

lam

coefficients in lambda related to the covariates in v.

phiold

previous value of the precision parameter (phi).

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).

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

Scalar representing the output of this auxiliary function for the beta case.


[Package bbreg version 2.0.2 Index]