startvalues: startvalues

View source: R/explore_functions.R

startvaluesR Documentation

startvalues

Description

Function providing initial values for the Expectation-Maximization algorithm.

Usage

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 March 18, 2022, 6:21 p.m.