startvalues: startvalues

Description Usage Arguments

View source: R/explore_functions.R

Description

Function providing initial values for the Expectation-Maximization algorithm.

Usage

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

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


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