<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why the baseline outcome included in the difference-in-difference method do not really adjust for ba in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-baseline-outcome-included-in-the-difference-in/m-p/881303#M43605</link>
    <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;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).&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;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.&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;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?&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;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;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Jun 2023 03:45:22 GMT</pubDate>
    <dc:creator>ffgsdf</dc:creator>
    <dc:date>2023-06-18T03:45:22Z</dc:date>
    <item>
      <title>Why the baseline outcome included in the difference-in-difference method do not really adjust for ba</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-baseline-outcome-included-in-the-difference-in/m-p/881303#M43605</link>
      <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;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).&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;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.&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;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?&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;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;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2023 03:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-the-baseline-outcome-included-in-the-difference-in/m-p/881303#M43605</guid>
      <dc:creator>ffgsdf</dc:creator>
      <dc:date>2023-06-18T03:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why the baseline outcome included in the difference-in-difference method do not really adjust fo</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-baseline-outcome-included-in-the-difference-in/m-p/881556#M43612</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 16:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-the-baseline-outcome-included-in-the-difference-in/m-p/881556#M43612</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2023-06-20T16:29:03Z</dc:date>
    </item>
  </channel>
</rss>

