Questions tagged [geepack]
The geepack tag has no summary.
17 questions
2 votes
1 answer
72 views
GEE vs mixed models for cross-sectional sibling data
I have a cross-sectional dataset with ~700 children nested within 616 families (siblings share the same famid). I want to test associations between exposures and ...
0 votes
0 answers
55 views
Drop out data due to death or hospitalization in WGEE
I have an RCT dataset of people aged 60 years or older who have been hospitalised for a cardiovascular event and discharged from hospital just prior to entering the study. Participants are randomly ...
3 votes
1 answer
252 views
How to analyse a non-inferiority trial using GEE in R?
I'm trying to analyse a non-inferiority trial in R. Since there are correlated observations and a population averaged interpretation seems fine, I want to use GEE. To illustrate my problem, I will use ...
1 vote
1 answer
88 views
Why do you always need to interact the covariates with the slope in mutlilevel models?
On a number of occassions, I have seen people remark that you should always interact your covariates with the with your slope when running multilevel models. That is, for example, you should not run ...
0 votes
0 answers
156 views
Exchangable variance covariance matrix
I was trying to learn how to estimate exchangable correlation matrix. I asked ChatGPT to give me an example so that I can learn the steps and ChatGPT gave me this example ...
0 votes
1 answer
130 views
Why is "design matrix of correlation parameters" a proxy for the "actual covariance matrix/working correlation matrix?
The example shows that knowing the design matrix of correlation parameters is sufficient to specify the working correlation. ...
1 vote
0 answers
56 views
Does the R stats's resid(x,'type="normalized") functions produce the correct "normalized" model residuals on geeglm fitted objects? [closed]
I ask this because the geepack does not "depend" or import from the stats package according to https://cran.r-project.org/web/packages/geepack/geepack.pdf. the stats package has the function ...
0 votes
0 answers
135 views
Does using bs() to fit splines work with as.factor with geeglm?
I am running analyses of longitudinal health data. Each subject has two health measurements—one at age 60, and one at age 80. Subjects are marked as either "healthy" or "sick" at ...
2 votes
0 answers
513 views
Serious Coding Error in QIC function in geepack? [closed]
I believe the QIC function in geepack has a significant error. The function appears to incorrectly specify the independence model, which is needed to calculate QIC. The function will therefore often ...
0 votes
1 answer
192 views
geeglm: Does as.factor() not work with corstr=fixed?
(See "Edits" at the bottom for partial resolution.) I am interested in generating point estimates for each cluster in my data using geeglm. However, when I use as.factor() over the ...
1 vote
0 answers
89 views
How to get an overall p-value for an independent categorical variable using generalized estimating equations (geeglm) in R
I would like to know if there is a way to get an overall p-value for an independent categorical variable using generalized estimating equations in R. When I run the analysis, the output provides p-...
0 votes
0 answers
73 views
How to fit general multivariate linear regression model (aka general linear model) for longitudinal data in R?
Let's consider a longitudinal data. Let $Y_{i}$ be the vector of $n$ repeated measurements for the $i$ th subject : $$ \boldsymbol{Y}_{i}=\left(Y_{i 1}, Y_{i 2}, \ldots ,Y_{i n}\right)^{\prime} $$ And ...
2 votes
1 answer
2k views
How to assess GEE quality and fit, e.g. by residuals(?)
In contrast for generalized linear models (for GLM, there is e.g. AIC and null vs. residual deviance), I could not find such criteria implemented in R to judge my generalized equation (GEE) models. Is ...
2 votes
0 answers
340 views
Do unequal time intervals for waves parameter in gee analysis matter? (geeglm in R)
Consider a standard study of n patients (given as id variable), several time points of measurement (given as measurement.order), ...
0 votes
1 answer
77 views
Regression trees with geepack package
I can’t run regression trees without geeglm. I have longitudinal data so rpart wouldn’t work. Is there a way to get regression trees with geeglm?