EMrun_bes {bbreg} | R Documentation |
EMrun_bes
Description
Function to run the Expectation-Maximization algorithm for the bessel regression.
Usage
EMrun_bes(kap, lam, z, x, v, epsilon, link.mean, link.precision)
Arguments
kap |
initial values for the coefficients in kappa related to the mean parameter. |
lam |
initial values for the coefficients in lambda related to the precision parameter. |
z |
response vector with 0 < z_i < 1. |
x |
matrix containing the covariates for the mean submodel. Each column is a different covariate. |
v |
matrix containing the covariates for the precision submodel. Each column is a different covariate. |
epsilon |
tolerance to control the convergence criterion. |
link.mean |
a string containing the link function for the mean. The possible link functions for the mean are "logit","probit", "cauchit", "cloglog". |
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 kappa and lambda in the bessel regression.