mvoGEE | R Documentation |
Solves the generalized estimating equations for correlated binary responses in clustered data assuming using the method of quasi-least squares.
mvoGEE(formula, data, cluster, resp.ind, unit, corr.str, common.slope = NULL)
formula |
a formula expression as for other regression models. |
data |
an optional data frame containing the variables provided in
|
cluster |
a vector that identifies the clusters. |
resp.ind |
a vector that indicates the responses. |
unit |
a vector that identifies the unit within a cluster. |
corr.str |
a character string that indicates the working correlation structure among the correlated responses.
Options include |
common.slope |
a character string indicating which variables in the model will have a common slope for each of the responses. |
The data
must be provided in case level or equivalently in ‘long’ format.
Returns an object of the class "cwgee"
. This has components:
call |
the matched call. |
coefficients |
the estimated regression parameter vector of the marginal model. |
coef.names |
the variable name of the coefficients. |
robust.variance |
the estimated "robust" covariance matrix. |
robust.se |
the estimated "robust" standard errors. |
wald.chisq |
the Wald Chi-square test statistic for coefficient estimates. |
p.value |
the p-value based on a Wald Chi-square test statistic that no covariates are statistically significant. |
corr.matrix |
the estimated correlation matrix. |
niter |
the number of iterations the model took to converge. |
corr.str |
the working correlation structure assumed for the model. |
Aya Mitani
data(perio_base)
fitmod <- mvoGEE(formula = y ~ smoking + age + edu, data = perio_base,
cluster = subject, resp.ind = outcome, unit = tooth,
common.slope = c("smoking", "edu"), corr.str = "exch")
summary(fitmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.