Dear, I understand the method generalized estimating equation only accept missing values as Missing Completely At Random (MCAR). I would like to know more about the gee function in the gee library. Does the function gee in gee library accept NA? How does the function gee treat NA? Thanks in advance, Jun Takeda -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Sun, 29 Sep 2002, Jun Takeda wrote:> I understand the method generalized estimating equation > only accept missing values as Missing Completely At Random (MCAR). > I would like to know more about the gee function in the gee library. > > Does the function gee in gee library accept NA? > How does the function gee treat NA?The following is from the function gee, if (!is.null(m$na.action) && m$na.action != "na.omit") { print("Warning: Only na.omit is implemented for gee") print(" continuing with na.action=na.omit") m$na.action <- as.name("na.omit") } If the responses (and the covariates) are MCAR, na.omit removes the observations with NA in either response or covariates, and the resulting gee fit is valid for MCAR. Jun Yan Department of Statistics Office: CSSC 4252 university of Wisconsin-Madison Tel: (608)262-7478 1210 W. Dayton St. Email: jyan at stat.wisc.edu Madison, WI 53706 URL: http://www.stat.wisc.edu/~jyan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dear Jun, At 11:38 PM 9/29/2002 +0900, Jun Takeda wrote:>I understand the method generalized estimating equation >only accept missing values as Missing Completely At Random (MCAR). >I would like to know more about the gee function in the gee library. > >Does the function gee in gee library accept NA? >How does the function gee treat NA?Statistical modeling functions in R, including gee, take a na.action argument that determines the way that they handle missing data. From the help for gee: na.action a function to filter missing data. For gee only na.omit should be used here. na.omit, as the name implies, omits observations with any missing data, producing a complete-case analysis. I hope that this helps, John ----------------------------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: jfox at mcmaster.ca phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox ----------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._