startvalues: startvalues

Description Usage Arguments

View source: R/6_auxiliary_functions.R

Description

Function providing initial values for the Expectation-Maximization algorithm.

Usage

1
startvalues(z, x, v, link.mean, link.precision, model)

Arguments

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.

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

model

The model to which the initial values will be applied, "bessel" or "beta".


vpnsctl/bbreg documentation built on March 14, 2021, 12:11 a.m.