initiate_startValues {mBvs} | R Documentation |
The function that initiates starting values
Description
The function initiates starting values. Users are allowed to set some non-null values to starting values for a set of parameters. The function will automatically generate starting values for any parameters whose values are not specified.
Usage
initiate_startValues(Formula, Y, data, model = "MMZIP", B = NULL, beta0 = NULL,
V = NULL, SigmaV = NULL, gamma_beta = NULL, A = NULL, alpha0 = NULL, W = NULL,
m = NULL, gamma_alpha = NULL, sigSq_beta = NULL, sigSq_beta0 = NULL,
sigSq_alpha = NULL, sigSq_alpha0 = NULL)
Arguments
Formula |
a list containing three formula objects: the first formula specifies the |
Y |
a data.frame containing |
data |
a data.frame containing the variables named in the formulas in |
model |
MMZIP |
B |
starting values of |
beta0 |
starting values of |
V |
starting values of |
SigmaV |
starting values of |
gamma_beta |
starting values of |
A |
starting values of |
alpha0 |
starting values of |
W |
starting values of |
m |
starting values of |
gamma_alpha |
starting values of |
sigSq_beta |
starting values of |
sigSq_beta0 |
starting values of |
sigSq_alpha |
starting values of |
sigSq_alpha0 |
starting values of |
Value
initiate_startValues
returns a list containing starting values that can be used for mmzipBvs
.
Author(s)
Maintainer: Kyu Ha Lee <klee@hsph.harvard.edu>
References
update..
See Also
Examples
## See Examples in \code{\link{mmzipBvs}}.