Package gee. June 29, 2015

Similar documents
Package JGEE. November 18, 2015

Package glmmml. R topics documented: March 25, Encoding UTF-8 Version Date Title Generalized Linear Models with Clustering

Package GWAF. March 12, 2015

Package misclassglm. September 3, 2016

Package robustreg. R topics documented: April 27, Version Date Title Robust Regression Functions

The glmmml Package. August 20, 2006

Package addhaz. September 26, 2018

Package pnmtrem. February 20, Index 9

The biglm Package. August 25, bigglm... 1 biglm Index 5. Bounded memory linear regression

Package LGRF. September 13, 2015

The brlr Package. March 22, brlr... 1 lizards Index 5. Bias-reduced Logistic Regression

Package glmnetutils. August 1, 2017

Package bigreg. July 25, 2016

Package SOIL. September 20, 2017

Package tpr. R topics documented: February 20, Type Package. Title Temporal Process Regression. Version

Package dglm. August 24, 2016

Package clusterpower

Package nsprcomp. August 29, 2016

Discussion Notes 3 Stepwise Regression and Model Selection

Package nnet. R topics documented: March 20, Priority recommended. Version Date Depends R (>= 2.14.

Package glinternet. June 15, 2018

Package RAMP. May 25, 2017

Package plsrbeta. February 20, 2015

Package mason. July 5, 2018

Package mreg. February 20, 2015

Package modmarg. R topics documented:

Package optimus. March 24, 2017

Package nlnet. April 8, 2018

Package GLMMRR. August 9, 2016

Package GWRM. R topics documented: July 31, Type Package

Package qvcalc. R topics documented: September 19, 2017

Package OLScurve. August 29, 2016

Package FWDselect. December 19, 2015

Package caic4. May 22, 2018

Package gamm4. July 25, Index 10

Package endogenous. October 29, 2016

Package flam. April 6, 2018

Package glm2. August 11, 2018

Package GenSA. R topics documented: January 17, Type Package Title Generalized Simulated Annealing Version 1.1.

Package sensory. R topics documented: February 23, Type Package

Package spind. September 3, 2017

Package oglmx. R topics documented: May 5, Type Package

Package acebayes. R topics documented: November 21, Type Package

Package hiernet. March 18, 2018

Package ClusterBootstrap

Package deming. June 19, 2018

Package Modeler. May 18, 2018

Package desirability

STENO Introductory R-Workshop: Loading a Data Set Tommi Suvitaival, Steno Diabetes Center June 11, 2015

Package swcrtdesign. February 12, 2018

Package DPBBM. September 29, 2016

Package bayeslongitudinal

Package citools. October 20, 2018

Package naivebayes. R topics documented: January 3, Type Package. Title High Performance Implementation of the Naive Bayes Algorithm

Package gplm. August 29, 2016

Package DSBayes. February 19, 2015

Package simr. April 30, 2018

Package RaPKod. February 5, 2018

Package ellipse. January 6, 2018

Package assortnet. January 18, 2016

SAS (Statistical Analysis Software/System)

Package cwm. R topics documented: February 19, 2015

Package texteffect. November 27, 2017

Package samplingdatacrt

Package gibbs.met. February 19, 2015

Package gwrr. February 20, 2015

Package simex. R topics documented: September 7, Type Package Version 1.7 Date Imports stats, graphics Suggests mgcv, nlme, MASS

Package palmtree. January 16, 2018

Package TANDEM. R topics documented: June 15, Type Package

Package apastyle. March 29, 2017

Package MSwM. R topics documented: February 19, Type Package Title Fitting Markov Switching Models Version 1.

Package quickreg. R topics documented:

Package spatialtaildep

Package mcemglm. November 29, 2015

Package rdd. March 14, 2016

DATA ANALYSIS USING HIERARCHICAL GENERALIZED LINEAR MODELS WITH R

Package oaxaca. January 3, Index 11

Package bife. May 7, 2017

Package missforest. February 15, 2013

Package intreg. R topics documented: February 15, Version Date Title Interval Regression

Package areaplot. October 18, 2017

Package flexcwm. May 20, 2018

The exactloglintest Package

The exactloglintest Package

Package survivalmpl. December 11, 2017

Package hsiccca. February 20, 2015

Package strat. November 23, 2016

Regression. Dr. G. Bharadwaja Kumar VIT Chennai

Package ridge. R topics documented: February 15, Title Ridge Regression with automatic selection of the penalty parameter. Version 2.

Package biglars. February 19, 2015

The grplasso Package

Package clustvarsel. April 9, 2018

Package DTRreg. August 30, 2017

Package EBglmnet. January 30, 2016

Package EDFIR. R topics documented: July 17, 2015

Package PTE. October 10, 2017

Package cosinor. February 19, 2015

Package subsemble. February 20, 2015

Package sglr. February 20, 2015

Package rfsa. R topics documented: January 10, Type Package

Transcription:

Title Generalized Estimation Equation Solver Version 4.13-19 Depends stats Suggests MASS Date 2015-06-29 DateNote Gee version 1998-01-27 Package gee June 29, 2015 Author Vincent J Carey. Ported to R by Thomas Lumley (versions 3.13 and 4.4) and Brian Ripley <ripley@stats.ox.ac.uk> (version 4.13). Note that maintainers are not available to give advice on using a package they did not author. Maintainer Brian Ripley <ripley@stats.ox.ac.uk> Description Generalized Estimation Equation solver. License GPL-2 NeedsCompilation yes Repository CRAN Date/Publication 2015-06-29 12:42:25 R topics documented: gee.............................................. 1 Index 5 gee Function to solve a Generalized Estimation Equation Model Description Produces an object of class "gee" which is a Generalized Estimation Equation fit of the data. 1

2 gee Usage gee(formula, id, data, subset, na.action, R = NULL, b = NULL, tol = 0.001, maxiter = 25, family = gaussian, corstr = "independence", Mv = 1, silent = TRUE, contrasts = NULL, scale.fix = FALSE, scale.value = 1, v4.4compat = FALSE) Arguments formula id data subset na.action R b tol maxiter family corstr Mv silent a formula expression as for other regression models, of the form response ~ predictors. See the documentation of lm and formula for details. a vector which identifies the clusters. The length of id should be the same as the number of observations. Data are assumed to be sorted so that observations on a cluster are contiguous rows for all entities in the formula. an optional data frame in which to interpret the variables occurring in the formula, along with the id and n variables. expression saying which subset of the rows of the data should be used in the fit. This can be a logical vector (which is replicated to have length equal to the number of observations), or a numeric vector indicating which observation numbers are to be included, or a character vector of the row names to be included. All observations are included by default. a function to filter missing data. For gee only na.omit should be used here. a square matrix of dimension maximum cluster size containing the user specified correlation. This is only appropriate if corstr = "fixed". an initial estimate for the parameters. the tolerance used in the fitting algorithm. the maximum number of iterations. a family object: a list of functions and expressions for defining link and variance functions. Families supported in gee are gaussian, binomial, poisson, Gamma, and quasi; see the glm and family documentation. Some links are not currently available: 1/mu^2 and sqrt have not been hard-coded in the cgee engine at present. The inverse gaussian variance function is not available. All combinations of remaining functions can be obtained either by family selection or by the use of quasi. a character string specifying the correlation structure. The following are permitted: "independence", "fixed", "stat_m_dep", "non_stat_m_dep", "exchangeable", "AR-M" and "unstructured" When corstr is "stat_m_dep", "non_stat_m_dep", or "AR-M" then Mv must be specified. a logical variable controlling whether parameter estimates at each iteration are printed.

gee 3 contrasts scale.fix scale.value v4.4compat a list giving contrasts for some or all of the factors appearing in the model formula. The elements of the list should have the same name as the variable and should be either a contrast matrix (specifically, any full-rank matrix with as many rows as there are levels in the factor), or else a function to compute such a matrix given the number of levels. a logical variable; if true, the scale parameter is fixed at the value of scale.value. numeric variable giving the value to which the scale parameter should be fixed; used only if scale.fix == TRUE. logical variable requesting compatibility of correlation parameter estimates with previous versions; the current version revises to be more faithful to the Liang and Zeger (1986) proposals (compatible with the Groemping SAS macro, version 2.03) Details Though input data need not be sorted by the variable named "id", the program will interpret physically contiguous records possessing the same value of id as members of the same cluster. Thus it is possible to use the following vector as an id vector to discriminate 4 clusters of size 4: c(0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1). Value An object of class "gee" representing the fit. Side Effects Offsets must be specified in the model formula, as in glm. Note This is version 4.8 of this user documentation file, revised 98/01/27. The assistance of Dr B Ripley is gratefully acknowledged. References Liang, K.Y. and Zeger, S.L. (1986) Longitudinal data analysis using generalized linear models. Biometrika, 73 13 22. Zeger, S.L. and Liang, K.Y. (1986) Longitudinal data analysis for discrete and continuous outcomes. Biometrics, 42 121 130. See Also glm, lm, formula.

4 gee Examples data(warpbreaks) ## marginal analysis of random effects model for wool summary(gee(breaks ~ tension, id=wool, data=warpbreaks, corstr="exchangeable")) ## test for serial correlation in blocks summary(gee(breaks ~ tension, id=wool, data=warpbreaks, corstr="ar-m", Mv=1)) if(require(mass)) { data(ome) ## not fully appropriate link for these data. (fm <- gee(cbind(correct, Trials-Correct) ~ Loud + Age + OME, id = ID, data = OME, family = binomial, corstr = "exchangeable")) summary(fm) }

Index Topic nonlinear gee, 1 family, 2 formula, 2, 3 gee, 1 glm, 2, 3 lm, 2, 3 print.gee (gee), 1 print.summary.gee (gee), 1 summary.gee (gee), 1 5