<?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 interpret the log transformed CL for the difference in SAS GLM compared to normal scale in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297807#M15852</link>
    <description>&lt;P&gt;This is why it is a good idea to use GENMOD or GLIMMIX, so that results can be presented on both the transformed and original scale. &amp;nbsp;PROC GLM just can't do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2016 17:26:04 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2016-09-12T17:26:04Z</dc:date>
    <item>
      <title>How do I interpret the log transformed CL for the difference in SAS GLM compared to normal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297009#M15825</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on /listing;
ods output estimates=stat1;
ods output FITSTATISTICS=stat2; 
ods output LSMEANCL=stat3;
ods output OverallANOVA=stat4;
ods output LsmeandiffCL=stat5;
ods output LsmeanCL=stat6;
proc glm data=new1;
class trt;
model clnr=trt/ss1 ss2 ss3 ss4;
lsmeans trt/pdiff cl alpha=0.10;
estimate 'A vs B' trt 1 -1;
quit; run;

ods trace on /listing&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output estimates=stat7;
ods output FITSTATISTICS=stat8; 
ods output LSMEANCL=stat9;
ods output OverallANOVA=stat10;
ods output LsmeandiffCL=stat11;
ods output LsmeanCL=stat12;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=newL1; &lt;BR /&gt;class trt; &lt;BR /&gt;model Lclnr=trt/ss1 ss2 ss3 ss4; &lt;BR /&gt;lsmeans trt/pdiff cl alpha=0.10; &lt;BR /&gt;estimate 'A vs B' trt 1 -1; quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The code was used to analyze the attached data set &amp;nbsp;CLnr1. &amp;nbsp;The outputs from stat6 and stat12 were compared which are the Lsmean CI.&lt;/P&gt;&lt;P&gt;Stat6&lt;/P&gt;&lt;P&gt;Obs Effect Dependent TRT LowerCL LSMean UpperCL 1 2&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TRT&lt;/TD&gt;&lt;TD&gt;CLnr&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;102.984141&lt;/TD&gt;&lt;TD&gt;114.620000&lt;/TD&gt;&lt;TD&gt;126.255859&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TRT&lt;/TD&gt;&lt;TD&gt;CLnr&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;38.763546&lt;/TD&gt;&lt;TD&gt;47.962500&lt;/TD&gt;&lt;TD&gt;57.161454&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stat12&lt;/P&gt;&lt;P&gt;Obs Effect Dependent TRT LowerCL LSMean UpperCL 1 2&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TRT&lt;/TD&gt;&lt;TD&gt;LCLnr&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;4.554136&lt;/TD&gt;&lt;TD&gt;4.732812&lt;/TD&gt;&lt;TD&gt;4.911488&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TRT&lt;/TD&gt;&lt;TD&gt;LCLnr&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;3.699795&lt;/TD&gt;&lt;TD&gt;3.841051&lt;/TD&gt;&lt;TD&gt;3.982307&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The values of exp(lower CL) and exp(upper CL) give values for A (94-134) and B(40-53) which are close to the values for the normal scale.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However for stat5 for the difference on the normal scale I get:&lt;/P&gt;&lt;P&gt;bs Effect Dependent i j LowerCL Difference UpperCL TRT _TRT 1&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TRT&lt;/TD&gt;&lt;TD&gt;CLnr&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;51.824632&lt;/TD&gt;&lt;TD&gt;66.657500&lt;/TD&gt;&lt;TD&gt;81.490368&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Whereas for stat 11 for the LClnr I get&lt;/P&gt;&lt;P&gt;s Effect Dependent i j LowerCL Difference UpperCL TRT _TRT 1&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TRT&lt;/TD&gt;&lt;TD&gt;LCLnr&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;0.663993&lt;/TD&gt;&lt;TD&gt;0.891761&lt;/TD&gt;&lt;TD&gt;1.119529&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;If I do the exp(lowerCL) and exp(UpperCL) I get (1.93-3.03) which is not in agreement with the normal scale.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone explain to me why the normal scale and log scale agree for the CL for A and B but not for the difference between A and B for the normal and log scale?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 16:05:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297009#M15825</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2016-09-07T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpret the log transformed CL for the difference in SAS GLM compared to normal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297036#M15828</link>
      <description>&lt;P&gt;On the log scale, Difference is an estimate of log(A) - log(B) = log(A/B)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, EXP(Difference) is an estimate of the ratio A/B, not A - B.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 17:24:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297036#M15828</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-09-07T17:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpret the log transformed CL for the difference in SAS GLM compared to normal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297038#M15829</link>
      <description>&lt;P&gt;I have used EXP(difference) which based upon your response is not correct.&lt;/P&gt;&lt;P&gt;Therefore my question is how should the log(A/B) ratio on the log scale be exponentiated &amp;nbsp;to have it reflect the A-B difference on the Normal scale for the respective confidence intervals? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 17:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297038#M15829</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2016-09-07T17:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpret the log transformed CL for the difference in SAS GLM compared to normal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297267#M15834</link>
      <description>&lt;P&gt;When you take a log transform, you are now in the realm of the geometric distribution.&amp;nbsp; Google&lt;/P&gt;
&lt;P&gt;geometric mean site:sas.com&lt;/P&gt;
&lt;P&gt;for lots of information on your question.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 22:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297267#M15834</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2016-09-08T22:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpret the log transformed CL for the difference in SAS GLM compared to normal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297807#M15852</link>
      <description>&lt;P&gt;This is why it is a good idea to use GENMOD or GLIMMIX, so that results can be presented on both the transformed and original scale. &amp;nbsp;PROC GLM just can't do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 17:26:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297807#M15852</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-09-12T17:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpret the log transformed CL for the difference in SAS GLM compared to normal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297819#M15858</link>
      <description>&lt;P&gt;I was able to get the CI on the log scale (see code below) by use of the command LRCI. How do I get the CI&lt;/P&gt;&lt;P&gt;m on the normal scale per your suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc genmod data=y;&lt;/P&gt;&lt;P&gt;class trt;&lt;/P&gt;&lt;P&gt;model lauc144=trt/lrci;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 17:53:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297819#M15858</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2016-09-12T17:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpret the log transformed CL for the difference in SAS GLM compared to normal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297965#M15864</link>
      <description>&lt;P&gt;Thisresolved the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 10:38:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-the-log-transformed-CL-for-the-difference-in/m-p/297965#M15864</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2016-09-13T10:38:04Z</dc:date>
    </item>
  </channel>
</rss>

