View source: R/6_auxiliary_functions.R
Function providing initial values for the Expectation-Maximization algorithm.
1 | startvalues(z, x, v, link.mean, link.precision, model)
|
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". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.