Description Usage Arguments Value Author(s) See Also Examples
Fit a marginalzed transition and/or latent variable models (mTLV) as described by Schildcrout and Heagerty 2007.
1 2 3 4 |
mean.formula |
Mean model formula in which a binary variable is regressed on covariates. |
lv.formula |
Latent variable model formula (right hand side only) |
t.formula |
Transition model formula (right hand side only) |
id |
a vector of cluster identifiers (it should be the same length nrow(data)). |
data |
a required data frame |
inits |
an optional list of length 3 containing initial values for marginal mean parameters and all dependence parameters. The format of the list should be: (1) estimates of the mean parameters, (2) estimates of the transition parameters (or NULL if only fitting a mLV model) and (3) estimates of the latent variable parameters (or NULL if only fitting a mT model). If NULL, initial values will be automatically generated. |
samp.probs |
a vector of 3 values that denote the sampling probability of non-responders, any-responders, and all-responders. |
samp.probi |
a vector of sampling probabilities - if using weighted estimating equations. |
offset |
an optional offset term. |
q |
a scalar to denote the number of quadrature points used for GH numerical integration. Only values of 3, 5, 10, 20 and 50 are applicable. |
cond.like |
indicator to denote if the conditional likelihood should be maximized. |
step.max |
a scalar. |
step.tol |
a scalar. |
hess.eps |
a scalar. |
adapt.quad |
an indicator if adaptive quadrature is to be used. NOT CURRENTLY IMPLEMENTED. |
verbose |
an indicator if model output should be printed to the screen during maximization (or minimization of negative log-likelihood). |
iter.lim |
a scalar to denote the maximum iteration limit. Default value is 100. |
This function returns marginal mean (beta) and dependence parameters (alpha) along with the associated model and empirical covariance matricies.
Nathaniel Mercaldo
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.