Qf_bes_dbb: Qf_bes_dbb

Description Usage Arguments Value

View source: R/EM_DBB.R

Description

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

Usage

1
Qf_bes_dbb(lam, wz, z, v, mu, link.precision)

Arguments

lam

coefficients in lambda related to the covariates in v.

wz

parameter wz representing E(1/W_i|Z_i = z_i, theta).

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 bessel case.


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