similar to: How to get cov matrix of regression parameters in GEE using 'geese' or 'geeglm''

Displaying 20 results from an estimated 5000 matches similar to: "How to get cov matrix of regression parameters in GEE using 'geese' or 'geeglm''"

2009 Dec 08
0
Difference in S.E. gee/yags and geeglm(/geese)
Hi A quick question. Standard errors reported by gee/yags differs from the ones in geeglm (geepack). require(gee) require(geepack) require(yags) mm <- gee(breaks ~ tension, id=wool, data=warpbreaks, corstr="exchangeable") mm2 <- geeglm(breaks ~ tension, id=wool, data=warpbreaks, corstr="exchangeable", std.err = "san.se") mm3 <- yags(breaks ~
2012 May 04
0
Converting code from gee() to geeglm()
Dear R users Recently I received advice from this fine group on gee() and sample weights One suggestion was to use geeglm() I hope someone can help me to solve a problem that arises when converting a code from gee to geeglm. *Here is a code that I wrote with the original data, not weighted: * > m1 <- gee( Bin ~ educ+agemean+ residencysize + yearx , id = rad09 , data = Males,
2005 Jun 07
0
user-defined spatial correlation structure in geeglm/geese
Dear all, We have got data (response and predictor variables) for each country of the world; I started by fitting standard GLM and tested for spatial correlation using variogram models (geoR) fitted to the residuals of the GLM. Spatial autocorrelation is significant. Therefore, I think about using general estimation equations (geeglm or geese in geepack) allowing for residual spatial
2011 Apr 07
1
Quasipoisson with geeglm
Dear all, I am trying to use the GEE methodology to fit a trend for the number of butterflies observed at several sites. In total, there are 66 sites, and 19 years for which observations might be available. However, only 326 observations are available (instead of 1254). For the time being, I ignore the large number of missing values, and the fact that GEE is only valid under MCAR. When I run the
2006 Aug 10
0
Convergence in geese/gee
We are currently analyzing data on children clustered in day care-centers (DCC). We have tried to use geepack and gee libraries to estimate an overall incidence rate for absences (=number of absences/risk time) by specifying geese(number.absences ~ offset(log(risktime)), id=day.care.id, family=poisson("log"), data=dcc, corstr="exch",
2006 Mar 29
1
QIC from gee() or geese()
Hello, Is it possible to derive Pan's QIC (2001 Biometrics 57:120) from either a fitted gee() object in the gee package or from a geese() fit in the geepack package? If so, would anyone be kind enough to provide me with code to do so? I realize that QIC is part of the output from yags() but I would like to use one of the other functions. Thanks. Richard
2024 Mar 28
0
GEEPACK vs GEE: What are the differences in the estimators calculated by geeglm() (GEEPACK) and gee() (GEE)?
Hello, I am interested in running generalized estimating equation models in R. Currently there are two main packages for doing so in R, geepack and gee. I understand that even though one can obtain similar to almost identical results using either of the two, that there are differences between the packages. The paper that introduces the geepack package (
2009 Nov 26
1
different fits for geese and geeglm in geepack?
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091126/7134fc17/attachment-0001.pl>
2006 Aug 25
0
Problem with geeglm
event.nab.2 is 0/1 and I dichotomized va to get va.2 to see if I could get geeglm to work. glm has no problem with the data but geeglm chokes. Each subject (patient.id) has at most 2 observations and more than 3/4 of the subjects have 2 observations. I have even worse problems trying to use glmmPQL from MASS and worse still trying to use lmer from lme4. But I figured a marginal model would work.
2004 Dec 29
0
GEE with own link function
Hello, I want to fit a GEE with a user-defined link function. For the user-defined link-function I still read http://finzi.psych.upenn.edu/R/Rhelp01/archive/6555.html and http://finzi.psych.upenn.edu/R/Rhelp02a/archive/25727.html. Only for testing purposes I added a new link function (corlogit) in make.link (as well as in binomial) with exactly the same code as logit before using my code.
2012 Sep 08
0
reshape and geeglm problem
Dear R users, could you please help me figure out why I am getting an error? Initially my data looks like this: > attributes(compl)$names [1] "UserID" "compl_bin" "Sex.x" "PHQ_base" "PHQ_Surv1" "PHQ_Surv2" "PHQ_Surv3" [8] "PHQ_Surv4" "EFE"
2010 Apr 24
0
'geepack' and 'gee' package outputs
Hi, having used both the gee pacakge and the geepack package, i am unsure of how to interpret the results. Here are the results from the geeglm function from the geepack package > gee2<-geeglm(data$erythema~data$product, data = data, id=subject, > family=binomial, corstr="independence") Warning message: In model.response(mf, "numeric") : using
2009 Feb 09
1
gee with auto-regressive correlation structure (AR-M)
Dear all, I need to fit a gee model with an auto-regressive correlation structure and I faced some problems. I attach a simple example: ####################################################### library(gee) library(geepack) # I SIMULATE DATA FROM POISSON DISTRIBUTION, 10 OBS FOR EACH OF 50 GROUPS set.seed(1) y <- rpois(500,50) x <- rnorm(500) id <- rep(1:50,each=10) # EXAMPLES FOR
2010 Nov 29
2
how to calculate standard error for the predicted value from geeglm?
Hello R-helpers, I would like to calculate the standard error for the predicted value from geeglm. As an example, I would like to calculate the GEE mean of treatments and their standard error. I first specified the model as mod <- geeglm(resp ~ trt, data=dat,id=id,family=Gaussian,corstr="ar1",weights=weight) Then I predicted the GEE mean and se using the following code
2008 Sep 07
1
an error to call 'gee' function in R
Dear List: I found an error when I called the 'gee' function. I cannot solve and explain it. There are no errors when I used the 'geeglm' function. Both functions fit the gee model. The project supervisor recommends me to use the 'gee' function. But I cannot explain to him why this error happens. Would you help me solve this problem? I appreciate your help. In
2003 Oct 24
1
gee and geepack: different results?
Hi, I downloaded both gee and geepack, and I am trying to understand the differences between the two libraries. I used the same data and estimated the same model, with a correlation structure autoregressive of order 1. Surprisingly for me, I found very different results. Coefficients are slightly different in value but sometimes opposite in sign. Moreover, the estimate of rho (correlation
2018 Feb 26
0
How to model repeated measures negative binomial data with GEE or GLMM
Goal: use GEE or GLMM to analyze repeated measures data in R GEE problem: can?t find a way to do GEE with negative binomial family in R GLMM problem: not sure if I?m specifying random effect correctly Study question: Does the interaction of director and recipient group affect rates of a behavior? Data: Animals (n = 38) in one of 3 groups (life stages): B or C. Some individuals (~5)
2011 Mar 23
0
p and wald values intra-groups geeglm: geepack
*H*i, I am trying to fit a GEE model with *geeglm* function. The model is the following: Modelo<-geeglm(sqrt ~Tra+ Mes, id=Lugar , data=datos, family=gaussian(identity), corstr="independence") *Tra( is a experimental treatment, 2 levels)*, *Mes* (is the month of take data, 4 levels) and *Lugar* (is the site of study, 3 levels) are categorical variables and *sqrt* (sqrt of Total
2011 Aug 29
1
defining "id" argument in geeglm
Hi all, I am trying to do a generalized estimating equation (GEE) with the "geepack" package and I am not 100% sure what exactly the "id" argument means. It seems to be an important argument because results differ considerably defining different clusters. I have a data set of counts (poisson distribution): numbers of butterfly species counted every month during a period of
2008 Oct 29
2
call works with gee and yags, but not geepack
I have included data at the bottom of this email. It can be read in by highlighting the data and then using this command: dat <- read.table("clipboard", header = TRUE,sep="\t") I can obtain solutions with both of these: library(gee) fit.gee<-gee(score ~ chem + time, id=id, family=gaussian,corstr="exchangeable",data=dat) and library(yags) fit.yags <-