BookmarkSubscribeRSS Feed
ffgsdf
Obsidian | Level 7

I have data with 3 variables: group (0, 1), visit (0, 1), outcome. I recently have read some articles which discuss the use of ANCOVA with baseline outcome is better than difference-in-difference method in randomization study because inclusion of baseline outcome has two advantages. First, when the randomization does not work well, and the baseline outcome affects the randomization, then adjustment for baseline outcome can reduce the bias. Second, the baseline outcome usually is a strong predictor of outcome at the second visit. The inclusion of strong predictor in a randomization study whether the outcome value is binary or continuous can have higher statistical efficiency (i.e., smaller standard error).

However, my colleague asked me that can I use the GEE with baseline outcome adjustment. I found one thing that the GEE with and without baseline outcome have the same estimate of its interaction (the effect of difference-in-difference method). On the other hand, when I simulate a bias in baseline outcome, the ANCOVA with baseline outcome can adjust the bias than it did in the ANCOVA without baseline outcome.

I provide the following SAS code to simulate this question. Can someone tell why GEE with baseline outcome adjustment does not actually adjust baseline outcome?

 

 

data t;
INPUT y	id	g visit baseline_y;
cards;
1	0	0	1	1
2	0	0	2	1
2	1	0	1	2
3	1	0	2	2
3	2	0	1	3
4	2	0	2	3
5	3	1	1	5
2	3	1	2	5
8	4	1	1	8
5	4	1	2	8
8	5	1	1	8
5	5	1	2	8
7	6	1	1	7
5	6	1	2	7
4	7	1	1	4
4	7	1	2	4
;

/*gee without adjustment for baseline*/

proc genmod data=t;
  class id;
  model y= g visit g*visit / dist=normal link=identity;
  repeated subject=id / type=exch;
run;
/*gee with adjustment for baseline*/
proc genmod data=t;
  class id;
  model y= g visit g*visit baseline_y / dist=normal link=identity;
  repeated subject=id / type=exch;
run;

/*anova*/
proc glm data=t;
where visit=2;
model y = g/solution;
run;
/*ancova w*/
proc glm data=t;
where visit=2;
model y = g baseline_y;
run;

 

1 REPLY 1
StatsMan
SAS Super FREQ

Do you want to include the baseline as both a predictor and a response? If you use the baseline as a predictor, then perhaps you only have one response (or a change in the response) to model.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 664 views
  • 1 like
  • 2 in conversation