<?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 Re: How do I compare three treatments doing delta analyze? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663563#M31629</link>
    <description>&lt;P&gt;I haven't done this analysis since mixed modeling became the standard for repeated measures analysis, but PROC GLM has a PROFILE option that will do exactly this within the REPEATED statement.&amp;nbsp; It will take some data shaping as you will have to get your response values into a wide format.&amp;nbsp; Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dogs;
   input Drug $12. Depleted $ Histamine0 Histamine1
         Histamine3 Histamine5;
   LogHistamine0=log(Histamine0);
   LogHistamine1=log(Histamine1);
   LogHistamine3=log(Histamine3);
   LogHistamine5=log(Histamine5);
   datalines;
Morphine      N  .04  .20  .10  .08
Morphine      N  .02  .06  .02  .02
Morphine      N  .07 1.40  .48  .24
Morphine      N  .17  .57  .35  .24
Morphine      Y  .10  .09  .13  .14
Morphine      Y  .12  .11  .10   .
Morphine      Y  .07  .07  .06  .07
Morphine      Y  .05  .07  .06  .07
Trimethaphan  N  .03  .62  .31  .22
Trimethaphan  N  .03 1.05  .73  .60
Trimethaphan  N  .07  .83 1.07  .80
Trimethaphan  N  .09 3.13 2.06 1.23
Trimethaphan  Y  .10  .09  .09  .08
Trimethaphan  Y  .08  .09  .09  .10
Trimethaphan  Y  .13  .10  .12  .12
Trimethaphan  Y  .06  .05  .05  .05
;

proc glm;
   class Drug Depleted;
   model LogHistamine0--LogHistamine5 =
         Drug Depleted Drug*Depleted / nouni;
   repeated Time 4 (0 1 3 5) profile / summary printe;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I would advise against doing this, and approach the analysis as a repeated measures analysis using one of the mixed model procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2020 18:04:28 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-06-19T18:04:28Z</dc:date>
    <item>
      <title>How do I compare three treatments doing delta analyze?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/660122#M31613</link>
      <description>&lt;P&gt;Hello there, hope you are great and healthy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have three treatments ()A, b and C) &amp;#16;and tested variables (VAR1 , VAR2 and VAR3) with categorical answers (scores 1 to 5) in different days (day 1, 2 and 3)&amp;#16;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They suggested to make an analyze with the delta. But seems like that is possible to do it just for two treatments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to confirm that, and if is possible with three treatments, how can I do that??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards and take care, Aska.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 17:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/660122#M31613</guid>
      <dc:creator>aska_ujita</dc:creator>
      <dc:date>2020-06-16T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I compare three treatments doing delta analyze?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663392#M31615</link>
      <description>&lt;P&gt;Moved to stats forum.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 06:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663392#M31615</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-06-19T06:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I compare three treatments doing delta analyze?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663430#M31618</link>
      <description>&lt;P&gt;Probably the easiest way would be to calculate the delta as day2 - day1 and day3-day2 for each of the variables, and then do a multivariate ANOVA using PROC GLM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A better way that helps to avoid regression to the mean would be to use generalized estimating equation approach (PROC GEE) or a conditional repeated measures approach (PROC GLIMMIX), where the response variables have a multinomial distribution with a cumulative logit link (either procedure).&amp;nbsp; Selection of a covariance structure in the two approaches will deal with the dependency/correlation in time rather than the delta method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 11:30:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663430#M31618</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-06-19T11:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I compare three treatments doing delta analyze?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663509#M31621</link>
      <description>&lt;P&gt;Hello, thank you for your hlp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this&amp;nbsp;&lt;SPAN&gt;day2 -day1 and day3-day2 automatically?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a column called "DAY". Because there is a lot of variables to test, would be great if has a way to do it faster.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards, Aska.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 14:39:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663509#M31621</guid>
      <dc:creator>aska_ujita</dc:creator>
      <dc:date>2020-06-19T14:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I compare three treatments doing delta analyze?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663563#M31629</link>
      <description>&lt;P&gt;I haven't done this analysis since mixed modeling became the standard for repeated measures analysis, but PROC GLM has a PROFILE option that will do exactly this within the REPEATED statement.&amp;nbsp; It will take some data shaping as you will have to get your response values into a wide format.&amp;nbsp; Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dogs;
   input Drug $12. Depleted $ Histamine0 Histamine1
         Histamine3 Histamine5;
   LogHistamine0=log(Histamine0);
   LogHistamine1=log(Histamine1);
   LogHistamine3=log(Histamine3);
   LogHistamine5=log(Histamine5);
   datalines;
Morphine      N  .04  .20  .10  .08
Morphine      N  .02  .06  .02  .02
Morphine      N  .07 1.40  .48  .24
Morphine      N  .17  .57  .35  .24
Morphine      Y  .10  .09  .13  .14
Morphine      Y  .12  .11  .10   .
Morphine      Y  .07  .07  .06  .07
Morphine      Y  .05  .07  .06  .07
Trimethaphan  N  .03  .62  .31  .22
Trimethaphan  N  .03 1.05  .73  .60
Trimethaphan  N  .07  .83 1.07  .80
Trimethaphan  N  .09 3.13 2.06 1.23
Trimethaphan  Y  .10  .09  .09  .08
Trimethaphan  Y  .08  .09  .09  .10
Trimethaphan  Y  .13  .10  .12  .12
Trimethaphan  Y  .06  .05  .05  .05
;

proc glm;
   class Drug Depleted;
   model LogHistamine0--LogHistamine5 =
         Drug Depleted Drug*Depleted / nouni;
   repeated Time 4 (0 1 3 5) profile / summary printe;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I would advise against doing this, and approach the analysis as a repeated measures analysis using one of the mixed model procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 18:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-compare-three-treatments-doing-delta-analyze/m-p/663563#M31629</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-06-19T18:04:28Z</dc:date>
    </item>
  </channel>
</rss>

