Description Usage Arguments Value Author(s) References See Also
Main function used to fit marginalized models. See mm() for a more user friendly function.
1 2 3 4 5 |
params |
a vector of initial values. |
id |
a vector of cluster identifiers. |
X |
a design matrix, including intercept, for the mean formula. |
Y |
a binary vector |
Xgam |
a design matrix for the transition formula. |
Xsig |
a design matrix for the latent variable formula. |
Q |
a scalar denoting the number of quadrature points. |
condlike |
indicator to denote if the conditional likelihood should be maximized. |
sampprobs |
a matrix of sampling probabilities. See mm(). |
sampprobi |
a vector of sampling probabilities. This should be generally be 1. |
offset |
an optional offset term. |
stepmax |
a scalar. |
steptol |
a scalar. |
hess.eps |
a scalar. |
AdaptiveQuad |
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). See nlm print.level. |
iterlim |
a scalar to denote the maximum iteration limit used by nlm. Default value is 100. |
This function returns marginal parameters (beta) and dependence parameters (alpha) along with the associated covariance matricies.
Jonathan Schildcrout
Schildcrout, JS and Heagerty, PJ. (2007), Marginalized Models for Moderate to Long Series of Longitudinal Binary Response Data. Biometrics, 63: 322-331.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.